v2

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WebhookEventTypes_name = map[int32]string{
		0: "UNKNOWN",
		1: "SESSION_CREATED",
		2: "BUNDLE_RECEIVED",
		3: "CHUNK_PERSISTED",
		4: "SESSION_INACTIVE",
	}
	WebhookEventTypes_value = map[string]int32{
		"UNKNOWN":          0,
		"SESSION_CREATED":  1,
		"BUNDLE_RECEIVED":  2,
		"CHUNK_PERSISTED":  3,
		"SESSION_INACTIVE": 4,
	}
)

Enum value maps for WebhookEventTypes.

View Source
var File_data_plane_v2_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type App

type App struct {
	AppId     string                 `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	ProjectId string                 `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

General info about an App

func (*App) Descriptor deprecated

func (*App) Descriptor() ([]byte, []int)

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetAppId

func (x *App) GetAppId() string

func (*App) GetCreatedAt

func (x *App) GetCreatedAt() *timestamppb.Timestamp

func (*App) GetProjectId

func (x *App) GetProjectId() string

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

func (x *App) ProtoReflect() protoreflect.Message

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

func (*App) Validate

func (m *App) Validate() error

Validate checks the field values on App with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*App) ValidateAll

func (m *App) ValidateAll() error

ValidateAll checks the field values on App with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppMultiError, or nil if none found.

type AppMultiError

type AppMultiError []error

AppMultiError is an error wrapping multiple validation errors returned by App.ValidateAll() if the designated constraints aren't met.

func (AppMultiError) AllErrors

func (m AppMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppMultiError) Error

func (m AppMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AppStats

type AppStats struct {
	AppId                 string           `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	RecordingProfileStats map[string]int64 `` /* 215-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains statistics around an App. For example, it can display the number of recordings against each recording profile

func (*AppStats) Descriptor deprecated

func (*AppStats) Descriptor() ([]byte, []int)

Deprecated: Use AppStats.ProtoReflect.Descriptor instead.

func (*AppStats) GetAppId

func (x *AppStats) GetAppId() string

func (*AppStats) GetRecordingProfileStats

func (x *AppStats) GetRecordingProfileStats() map[string]int64

func (*AppStats) ProtoMessage

func (*AppStats) ProtoMessage()

func (*AppStats) ProtoReflect

func (x *AppStats) ProtoReflect() protoreflect.Message

func (*AppStats) Reset

func (x *AppStats) Reset()

func (*AppStats) String

func (x *AppStats) String() string

func (*AppStats) Validate

func (m *AppStats) Validate() error

Validate checks the field values on AppStats with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AppStats) ValidateAll

func (m *AppStats) ValidateAll() error

ValidateAll checks the field values on AppStats with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppStatsMultiError, or nil if none found.

type AppStatsMultiError

type AppStatsMultiError []error

AppStatsMultiError is an error wrapping multiple validation errors returned by AppStats.ValidateAll() if the designated constraints aren't met.

func (AppStatsMultiError) AllErrors

func (m AppStatsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppStatsMultiError) Error

func (m AppStatsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AppStatsValidationError

type AppStatsValidationError struct {
	// contains filtered or unexported fields
}

AppStatsValidationError is the validation error returned by AppStats.Validate if the designated constraints aren't met.

func (AppStatsValidationError) Cause

func (e AppStatsValidationError) Cause() error

Cause function returns cause value.

func (AppStatsValidationError) Error

func (e AppStatsValidationError) Error() string

Error satisfies the builtin error interface

func (AppStatsValidationError) ErrorName

func (e AppStatsValidationError) ErrorName() string

ErrorName returns error name.

func (AppStatsValidationError) Field

func (e AppStatsValidationError) Field() string

Field function returns field value.

func (AppStatsValidationError) Key

func (e AppStatsValidationError) Key() bool

Key function returns key value.

func (AppStatsValidationError) Reason

func (e AppStatsValidationError) Reason() string

Reason function returns reason value.

type AppValidationError

type AppValidationError struct {
	// contains filtered or unexported fields
}

AppValidationError is the validation error returned by App.Validate if the designated constraints aren't met.

func (AppValidationError) Cause

func (e AppValidationError) Cause() error

Cause function returns cause value.

func (AppValidationError) Error

func (e AppValidationError) Error() string

Error satisfies the builtin error interface

func (AppValidationError) ErrorName

func (e AppValidationError) ErrorName() string

ErrorName returns error name.

func (AppValidationError) Field

func (e AppValidationError) Field() string

Field function returns field value.

func (AppValidationError) Key

func (e AppValidationError) Key() bool

Key function returns key value.

func (AppValidationError) Reason

func (e AppValidationError) Reason() string

Reason function returns reason value.

type Card

type Card struct {
	SessionId   string                 `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Required on create request
	CardId      string                 `protobuf:"bytes,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Title       string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	SourceType  string                 `protobuf:"bytes,5,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
	SourceId    string                 `protobuf:"bytes,6,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	Payload     string                 `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

A card to be used for display of session related information to a user

func (*Card) Descriptor deprecated

func (*Card) Descriptor() ([]byte, []int)

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetCardId

func (x *Card) GetCardId() string

func (*Card) GetCreatedAt

func (x *Card) GetCreatedAt() *timestamppb.Timestamp

func (*Card) GetDescription

func (x *Card) GetDescription() string

func (*Card) GetPayload

func (x *Card) GetPayload() string

func (*Card) GetSessionId

func (x *Card) GetSessionId() string

func (*Card) GetSourceId

func (x *Card) GetSourceId() string

func (*Card) GetSourceType

func (x *Card) GetSourceType() string

func (*Card) GetTitle

func (x *Card) GetTitle() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

func (*Card) Validate

func (m *Card) Validate() error

Validate checks the field values on Card with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Card) ValidateAll

func (m *Card) ValidateAll() error

ValidateAll checks the field values on Card with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CardMultiError, or nil if none found.

type CardDeleteResponse

type CardDeleteResponse struct {
	CardId string `protobuf:"bytes,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	// contains filtered or unexported fields
}

Response to DELETE "/cards/:id"

func (*CardDeleteResponse) Descriptor deprecated

func (*CardDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use CardDeleteResponse.ProtoReflect.Descriptor instead.

func (*CardDeleteResponse) GetCardId

func (x *CardDeleteResponse) GetCardId() string

func (*CardDeleteResponse) ProtoMessage

func (*CardDeleteResponse) ProtoMessage()

func (*CardDeleteResponse) ProtoReflect

func (x *CardDeleteResponse) ProtoReflect() protoreflect.Message

func (*CardDeleteResponse) Reset

func (x *CardDeleteResponse) Reset()

func (*CardDeleteResponse) String

func (x *CardDeleteResponse) String() string

func (*CardDeleteResponse) Validate

func (m *CardDeleteResponse) Validate() error

Validate checks the field values on CardDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CardDeleteResponse) ValidateAll

func (m *CardDeleteResponse) ValidateAll() error

ValidateAll checks the field values on CardDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CardDeleteResponseMultiError, or nil if none found.

type CardDeleteResponseMultiError

type CardDeleteResponseMultiError []error

CardDeleteResponseMultiError is an error wrapping multiple validation errors returned by CardDeleteResponse.ValidateAll() if the designated constraints aren't met.

func (CardDeleteResponseMultiError) AllErrors

func (m CardDeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CardDeleteResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CardDeleteResponseValidationError

type CardDeleteResponseValidationError struct {
	// contains filtered or unexported fields
}

CardDeleteResponseValidationError is the validation error returned by CardDeleteResponse.Validate if the designated constraints aren't met.

func (CardDeleteResponseValidationError) Cause

Cause function returns cause value.

func (CardDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (CardDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (CardDeleteResponseValidationError) Field

Field function returns field value.

func (CardDeleteResponseValidationError) Key

Key function returns key value.

func (CardDeleteResponseValidationError) Reason

Reason function returns reason value.

type CardListResponse

type CardListResponse struct {
	SessionId  string                         `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Cards      []*Card                        `protobuf:"bytes,2,rep,name=cards,proto3" json:"cards,omitempty"`
	Pagination *pagination.PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/cards"

func (*CardListResponse) Descriptor deprecated

func (*CardListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CardListResponse.ProtoReflect.Descriptor instead.

func (*CardListResponse) GetCards

func (x *CardListResponse) GetCards() []*Card

func (*CardListResponse) GetPagination

func (x *CardListResponse) GetPagination() *pagination.PaginationResponse

func (*CardListResponse) GetSessionId

func (x *CardListResponse) GetSessionId() string

func (*CardListResponse) ProtoMessage

func (*CardListResponse) ProtoMessage()

func (*CardListResponse) ProtoReflect

func (x *CardListResponse) ProtoReflect() protoreflect.Message

func (*CardListResponse) Reset

func (x *CardListResponse) Reset()

func (*CardListResponse) String

func (x *CardListResponse) String() string

func (*CardListResponse) Validate

func (m *CardListResponse) Validate() error

Validate checks the field values on CardListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CardListResponse) ValidateAll

func (m *CardListResponse) ValidateAll() error

ValidateAll checks the field values on CardListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CardListResponseMultiError, or nil if none found.

type CardListResponseMultiError

type CardListResponseMultiError []error

CardListResponseMultiError is an error wrapping multiple validation errors returned by CardListResponse.ValidateAll() if the designated constraints aren't met.

func (CardListResponseMultiError) AllErrors

func (m CardListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CardListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CardListResponseValidationError

type CardListResponseValidationError struct {
	// contains filtered or unexported fields
}

CardListResponseValidationError is the validation error returned by CardListResponse.Validate if the designated constraints aren't met.

func (CardListResponseValidationError) Cause

Cause function returns cause value.

func (CardListResponseValidationError) Error

Error satisfies the builtin error interface

func (CardListResponseValidationError) ErrorName

ErrorName returns error name.

func (CardListResponseValidationError) Field

Field function returns field value.

func (CardListResponseValidationError) Key

Key function returns key value.

func (CardListResponseValidationError) Reason

Reason function returns reason value.

type CardMultiError

type CardMultiError []error

CardMultiError is an error wrapping multiple validation errors returned by Card.ValidateAll() if the designated constraints aren't met.

func (CardMultiError) AllErrors

func (m CardMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CardMultiError) Error

func (m CardMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CardValidationError

type CardValidationError struct {
	// contains filtered or unexported fields
}

CardValidationError is the validation error returned by Card.Validate if the designated constraints aren't met.

func (CardValidationError) Cause

func (e CardValidationError) Cause() error

Cause function returns cause value.

func (CardValidationError) Error

func (e CardValidationError) Error() string

Error satisfies the builtin error interface

func (CardValidationError) ErrorName

func (e CardValidationError) ErrorName() string

ErrorName returns error name.

func (CardValidationError) Field

func (e CardValidationError) Field() string

Field function returns field value.

func (CardValidationError) Key

func (e CardValidationError) Key() bool

Key function returns key value.

func (CardValidationError) Reason

func (e CardValidationError) Reason() string

Reason function returns reason value.

type Chunk

type Chunk struct {
	ChunkId   string                 `protobuf:"bytes,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	Md5       string                 `protobuf:"bytes,2,opt,name=md5,proto3" json:"md5,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

Information about a stored group of bundles

func (*Chunk) Descriptor deprecated

func (*Chunk) Descriptor() ([]byte, []int)

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetChunkId

func (x *Chunk) GetChunkId() string

func (*Chunk) GetCreatedAt

func (x *Chunk) GetCreatedAt() *timestamppb.Timestamp

func (*Chunk) GetMd5

func (x *Chunk) GetMd5() string

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

func (x *Chunk) ProtoReflect() protoreflect.Message

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

func (*Chunk) Validate

func (m *Chunk) Validate() error

Validate checks the field values on Chunk with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Chunk) ValidateAll

func (m *Chunk) ValidateAll() error

ValidateAll checks the field values on Chunk with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChunkMultiError, or nil if none found.

type ChunkMultiError

type ChunkMultiError []error

ChunkMultiError is an error wrapping multiple validation errors returned by Chunk.ValidateAll() if the designated constraints aren't met.

func (ChunkMultiError) AllErrors

func (m ChunkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChunkMultiError) Error

func (m ChunkMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ChunkValidationError

type ChunkValidationError struct {
	// contains filtered or unexported fields
}

ChunkValidationError is the validation error returned by Chunk.Validate if the designated constraints aren't met.

func (ChunkValidationError) Cause

func (e ChunkValidationError) Cause() error

Cause function returns cause value.

func (ChunkValidationError) Error

func (e ChunkValidationError) Error() string

Error satisfies the builtin error interface

func (ChunkValidationError) ErrorName

func (e ChunkValidationError) ErrorName() string

ErrorName returns error name.

func (ChunkValidationError) Field

func (e ChunkValidationError) Field() string

Field function returns field value.

func (ChunkValidationError) Key

func (e ChunkValidationError) Key() bool

Key function returns key value.

func (ChunkValidationError) Reason

func (e ChunkValidationError) Reason() string

Reason function returns reason value.

type ChunksListResponse

type ChunksListResponse struct {
	SessionId  string                         `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Chunks     []*Chunk                       `protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,omitempty"`
	Pagination *pagination.PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/sessions/:id/chunks"

func (*ChunksListResponse) Descriptor deprecated

func (*ChunksListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChunksListResponse.ProtoReflect.Descriptor instead.

func (*ChunksListResponse) GetChunks

func (x *ChunksListResponse) GetChunks() []*Chunk

func (*ChunksListResponse) GetPagination

func (x *ChunksListResponse) GetPagination() *pagination.PaginationResponse

func (*ChunksListResponse) GetSessionId

func (x *ChunksListResponse) GetSessionId() string

func (*ChunksListResponse) ProtoMessage

func (*ChunksListResponse) ProtoMessage()

func (*ChunksListResponse) ProtoReflect

func (x *ChunksListResponse) ProtoReflect() protoreflect.Message

func (*ChunksListResponse) Reset

func (x *ChunksListResponse) Reset()

func (*ChunksListResponse) String

func (x *ChunksListResponse) String() string

func (*ChunksListResponse) Validate

func (m *ChunksListResponse) Validate() error

Validate checks the field values on ChunksListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ChunksListResponse) ValidateAll

func (m *ChunksListResponse) ValidateAll() error

ValidateAll checks the field values on ChunksListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChunksListResponseMultiError, or nil if none found.

type ChunksListResponseMultiError

type ChunksListResponseMultiError []error

ChunksListResponseMultiError is an error wrapping multiple validation errors returned by ChunksListResponse.ValidateAll() if the designated constraints aren't met.

func (ChunksListResponseMultiError) AllErrors

func (m ChunksListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChunksListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ChunksListResponseValidationError

type ChunksListResponseValidationError struct {
	// contains filtered or unexported fields
}

ChunksListResponseValidationError is the validation error returned by ChunksListResponse.Validate if the designated constraints aren't met.

func (ChunksListResponseValidationError) Cause

Cause function returns cause value.

func (ChunksListResponseValidationError) Error

Error satisfies the builtin error interface

func (ChunksListResponseValidationError) ErrorName

ErrorName returns error name.

func (ChunksListResponseValidationError) Field

Field function returns field value.

func (ChunksListResponseValidationError) Key

Key function returns key value.

func (ChunksListResponseValidationError) Reason

Reason function returns reason value.

type FeatureEnvelope

type FeatureEnvelope struct {

	// The feature that was captured
	Feature *feature.Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
	// An identifying element to provide addition
	// context. For example, a bundle id
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around a captured feature to provide additional context

func (*FeatureEnvelope) Descriptor deprecated

func (*FeatureEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use FeatureEnvelope.ProtoReflect.Descriptor instead.

func (*FeatureEnvelope) GetFeature

func (x *FeatureEnvelope) GetFeature() *feature.Feature

func (*FeatureEnvelope) GetKey

func (x *FeatureEnvelope) GetKey() string

func (*FeatureEnvelope) ProtoMessage

func (*FeatureEnvelope) ProtoMessage()

func (*FeatureEnvelope) ProtoReflect

func (x *FeatureEnvelope) ProtoReflect() protoreflect.Message

func (*FeatureEnvelope) Reset

func (x *FeatureEnvelope) Reset()

func (*FeatureEnvelope) String

func (x *FeatureEnvelope) String() string

func (*FeatureEnvelope) Validate

func (m *FeatureEnvelope) Validate() error

Validate checks the field values on FeatureEnvelope with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FeatureEnvelope) ValidateAll

func (m *FeatureEnvelope) ValidateAll() error

ValidateAll checks the field values on FeatureEnvelope with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FeatureEnvelopeMultiError, or nil if none found.

type FeatureEnvelopeList

type FeatureEnvelopeList struct {
	Features []*FeatureEnvelope `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*FeatureEnvelopeList) Descriptor deprecated

func (*FeatureEnvelopeList) Descriptor() ([]byte, []int)

Deprecated: Use FeatureEnvelopeList.ProtoReflect.Descriptor instead.

func (*FeatureEnvelopeList) GetFeatures

func (x *FeatureEnvelopeList) GetFeatures() []*FeatureEnvelope

func (*FeatureEnvelopeList) ProtoMessage

func (*FeatureEnvelopeList) ProtoMessage()

func (*FeatureEnvelopeList) ProtoReflect

func (x *FeatureEnvelopeList) ProtoReflect() protoreflect.Message

func (*FeatureEnvelopeList) Reset

func (x *FeatureEnvelopeList) Reset()

func (*FeatureEnvelopeList) String

func (x *FeatureEnvelopeList) String() string

func (*FeatureEnvelopeList) Validate

func (m *FeatureEnvelopeList) Validate() error

Validate checks the field values on FeatureEnvelopeList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FeatureEnvelopeList) ValidateAll

func (m *FeatureEnvelopeList) ValidateAll() error

ValidateAll checks the field values on FeatureEnvelopeList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FeatureEnvelopeListMultiError, or nil if none found.

type FeatureEnvelopeListMultiError

type FeatureEnvelopeListMultiError []error

FeatureEnvelopeListMultiError is an error wrapping multiple validation errors returned by FeatureEnvelopeList.ValidateAll() if the designated constraints aren't met.

func (FeatureEnvelopeListMultiError) AllErrors

func (m FeatureEnvelopeListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeatureEnvelopeListMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FeatureEnvelopeListValidationError

type FeatureEnvelopeListValidationError struct {
	// contains filtered or unexported fields
}

FeatureEnvelopeListValidationError is the validation error returned by FeatureEnvelopeList.Validate if the designated constraints aren't met.

func (FeatureEnvelopeListValidationError) Cause

Cause function returns cause value.

func (FeatureEnvelopeListValidationError) Error

Error satisfies the builtin error interface

func (FeatureEnvelopeListValidationError) ErrorName

ErrorName returns error name.

func (FeatureEnvelopeListValidationError) Field

Field function returns field value.

func (FeatureEnvelopeListValidationError) Key

Key function returns key value.

func (FeatureEnvelopeListValidationError) Reason

Reason function returns reason value.

type FeatureEnvelopeMultiError

type FeatureEnvelopeMultiError []error

FeatureEnvelopeMultiError is an error wrapping multiple validation errors returned by FeatureEnvelope.ValidateAll() if the designated constraints aren't met.

func (FeatureEnvelopeMultiError) AllErrors

func (m FeatureEnvelopeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeatureEnvelopeMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FeatureEnvelopeValidationError

type FeatureEnvelopeValidationError struct {
	// contains filtered or unexported fields
}

FeatureEnvelopeValidationError is the validation error returned by FeatureEnvelope.Validate if the designated constraints aren't met.

func (FeatureEnvelopeValidationError) Cause

Cause function returns cause value.

func (FeatureEnvelopeValidationError) Error

Error satisfies the builtin error interface

func (FeatureEnvelopeValidationError) ErrorName

func (e FeatureEnvelopeValidationError) ErrorName() string

ErrorName returns error name.

func (FeatureEnvelopeValidationError) Field

Field function returns field value.

func (FeatureEnvelopeValidationError) Key

Key function returns key value.

func (FeatureEnvelopeValidationError) Reason

Reason function returns reason value.

type FeatureListResponse

type FeatureListResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// A map of Feature Names to a list of Features captured
	Features map[string]*FeatureEnvelopeList `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GET "/sessions/:session_id/features" This response is being deprecated. Use the SessionFeaturesResponse and JourneyFeaturesResponse instead.

func (*FeatureListResponse) Descriptor deprecated

func (*FeatureListResponse) Descriptor() ([]byte, []int)

Deprecated: Use FeatureListResponse.ProtoReflect.Descriptor instead.

func (*FeatureListResponse) GetFeatures

func (x *FeatureListResponse) GetFeatures() map[string]*FeatureEnvelopeList

func (*FeatureListResponse) GetSessionId

func (x *FeatureListResponse) GetSessionId() string

func (*FeatureListResponse) ProtoMessage

func (*FeatureListResponse) ProtoMessage()

func (*FeatureListResponse) ProtoReflect

func (x *FeatureListResponse) ProtoReflect() protoreflect.Message

func (*FeatureListResponse) Reset

func (x *FeatureListResponse) Reset()

func (*FeatureListResponse) String

func (x *FeatureListResponse) String() string

func (*FeatureListResponse) Validate

func (m *FeatureListResponse) Validate() error

Validate checks the field values on FeatureListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FeatureListResponse) ValidateAll

func (m *FeatureListResponse) ValidateAll() error

ValidateAll checks the field values on FeatureListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FeatureListResponseMultiError, or nil if none found.

type FeatureListResponseMultiError

type FeatureListResponseMultiError []error

FeatureListResponseMultiError is an error wrapping multiple validation errors returned by FeatureListResponse.ValidateAll() if the designated constraints aren't met.

func (FeatureListResponseMultiError) AllErrors

func (m FeatureListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeatureListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FeatureListResponseValidationError

type FeatureListResponseValidationError struct {
	// contains filtered or unexported fields
}

FeatureListResponseValidationError is the validation error returned by FeatureListResponse.Validate if the designated constraints aren't met.

func (FeatureListResponseValidationError) Cause

Cause function returns cause value.

func (FeatureListResponseValidationError) Error

Error satisfies the builtin error interface

func (FeatureListResponseValidationError) ErrorName

ErrorName returns error name.

func (FeatureListResponseValidationError) Field

Field function returns field value.

func (FeatureListResponseValidationError) Key

Key function returns key value.

func (FeatureListResponseValidationError) Reason

Reason function returns reason value.

type Journey added in v0.2.0

type Journey struct {

	// The ID of the journey
	JourneyId string `protobuf:"bytes,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"`
	// The ID of the application this journey is
	// associated with
	AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// The first event tracked within a session
	// inside this journey
	OldestEvent *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=oldest_event,json=oldestEvent,proto3" json:"oldest_event,omitempty"`
	// The latest event tracked within a session
	// inside this journey
	NewestEvent *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=newest_event,json=newestEvent,proto3" json:"newest_event,omitempty"`
	// The server timestamp of when this journey
	// was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The number of sessions contained within this journey
	SessionCount int32 `protobuf:"varint,6,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
	// The platform of the most commonly used device
	// across the sessions within the journey
	//
	// This is expected to be the same across all sessions
	// within a journey
	PrimaryPlatform common.DevicePlatform `` /* 137-byte string literal not displayed */
	// The most commonly used region across the sessions
	//
	// This is expected to be the same across all sessions
	// within a journey
	PrimaryRegionId string `protobuf:"bytes,8,opt,name=primary_region_id,json=primaryRegionId,proto3" json:"primary_region_id,omitempty"`
	// contains filtered or unexported fields
}

A grouping of sessions using an automatically generated or user-defined `journey_id`. Journeys are app specific and can be used to gather insights that span multiple sessions.

func (*Journey) Descriptor deprecated added in v0.2.0

func (*Journey) Descriptor() ([]byte, []int)

Deprecated: Use Journey.ProtoReflect.Descriptor instead.

func (*Journey) GetAppId added in v0.2.0

func (x *Journey) GetAppId() string

func (*Journey) GetCreatedAt added in v0.2.0

func (x *Journey) GetCreatedAt() *timestamppb.Timestamp

func (*Journey) GetJourneyId added in v0.2.0

func (x *Journey) GetJourneyId() string

func (*Journey) GetNewestEvent added in v0.2.0

func (x *Journey) GetNewestEvent() *timestamppb.Timestamp

func (*Journey) GetOldestEvent added in v0.2.0

func (x *Journey) GetOldestEvent() *timestamppb.Timestamp

func (*Journey) GetPrimaryPlatform added in v0.2.0

func (x *Journey) GetPrimaryPlatform() common.DevicePlatform

func (*Journey) GetPrimaryRegionId added in v0.2.0

func (x *Journey) GetPrimaryRegionId() string

func (*Journey) GetSessionCount added in v0.2.0

func (x *Journey) GetSessionCount() int32

func (*Journey) ProtoMessage added in v0.2.0

func (*Journey) ProtoMessage()

func (*Journey) ProtoReflect added in v0.2.0

func (x *Journey) ProtoReflect() protoreflect.Message

func (*Journey) Reset added in v0.2.0

func (x *Journey) Reset()

func (*Journey) String added in v0.2.0

func (x *Journey) String() string

func (*Journey) Validate added in v0.2.0

func (m *Journey) Validate() error

Validate checks the field values on Journey with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Journey) ValidateAll added in v0.2.0

func (m *Journey) ValidateAll() error

ValidateAll checks the field values on Journey with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JourneyMultiError, or nil if none found.

type JourneyDetailResponse added in v0.2.0

type JourneyDetailResponse struct {
	Journey  *Journey                  `protobuf:"bytes,1,opt,name=journey,proto3" json:"journey,omitempty"`
	Sessions []*data_plane_sdk.Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/journeys/:id"

func (*JourneyDetailResponse) Descriptor deprecated added in v0.2.0

func (*JourneyDetailResponse) Descriptor() ([]byte, []int)

Deprecated: Use JourneyDetailResponse.ProtoReflect.Descriptor instead.

func (*JourneyDetailResponse) GetJourney added in v0.2.0

func (x *JourneyDetailResponse) GetJourney() *Journey

func (*JourneyDetailResponse) GetSessions added in v0.2.0

func (x *JourneyDetailResponse) GetSessions() []*data_plane_sdk.Session

func (*JourneyDetailResponse) ProtoMessage added in v0.2.0

func (*JourneyDetailResponse) ProtoMessage()

func (*JourneyDetailResponse) ProtoReflect added in v0.2.0

func (x *JourneyDetailResponse) ProtoReflect() protoreflect.Message

func (*JourneyDetailResponse) Reset added in v0.2.0

func (x *JourneyDetailResponse) Reset()

func (*JourneyDetailResponse) String added in v0.2.0

func (x *JourneyDetailResponse) String() string

func (*JourneyDetailResponse) Validate added in v0.2.0

func (m *JourneyDetailResponse) Validate() error

Validate checks the field values on JourneyDetailResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JourneyDetailResponse) ValidateAll added in v0.2.0

func (m *JourneyDetailResponse) ValidateAll() error

ValidateAll checks the field values on JourneyDetailResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JourneyDetailResponseMultiError, or nil if none found.

type JourneyDetailResponseMultiError added in v0.2.0

type JourneyDetailResponseMultiError []error

JourneyDetailResponseMultiError is an error wrapping multiple validation errors returned by JourneyDetailResponse.ValidateAll() if the designated constraints aren't met.

func (JourneyDetailResponseMultiError) AllErrors added in v0.2.0

func (m JourneyDetailResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JourneyDetailResponseMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type JourneyDetailResponseValidationError added in v0.2.0

type JourneyDetailResponseValidationError struct {
	// contains filtered or unexported fields
}

JourneyDetailResponseValidationError is the validation error returned by JourneyDetailResponse.Validate if the designated constraints aren't met.

func (JourneyDetailResponseValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (JourneyDetailResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (JourneyDetailResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (JourneyDetailResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (JourneyDetailResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (JourneyDetailResponseValidationError) Reason added in v0.2.0

Reason function returns reason value.

type JourneyFeaturesResponse added in v0.2.0

type JourneyFeaturesResponse struct {
	JourneyId string `protobuf:"bytes,1,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"`
	// A map of Feature Names to a Feature - computed on the client side.
	ClientSdk map[string]*feature.Feature `` /* 176-byte string literal not displayed */
	// A map of Feature Names to a Feature - computed on the server side - that is related to the network data.
	CloudNetwork map[string]*feature.Feature `` /* 185-byte string literal not displayed */
	// A map of Feature Names to a Feature - computed on the server side - that is related to the behavioral data.
	CloudBehavioral map[string]*feature.Feature `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GET "/journeys/:journey_id/features"

func (*JourneyFeaturesResponse) Descriptor deprecated added in v0.2.0

func (*JourneyFeaturesResponse) Descriptor() ([]byte, []int)

Deprecated: Use JourneyFeaturesResponse.ProtoReflect.Descriptor instead.

func (*JourneyFeaturesResponse) GetClientSdk added in v0.2.0

func (x *JourneyFeaturesResponse) GetClientSdk() map[string]*feature.Feature

func (*JourneyFeaturesResponse) GetCloudBehavioral added in v0.2.0

func (x *JourneyFeaturesResponse) GetCloudBehavioral() map[string]*feature.Feature

func (*JourneyFeaturesResponse) GetCloudNetwork added in v0.2.0

func (x *JourneyFeaturesResponse) GetCloudNetwork() map[string]*feature.Feature

func (*JourneyFeaturesResponse) GetJourneyId added in v0.2.0

func (x *JourneyFeaturesResponse) GetJourneyId() string

func (*JourneyFeaturesResponse) ProtoMessage added in v0.2.0

func (*JourneyFeaturesResponse) ProtoMessage()

func (*JourneyFeaturesResponse) ProtoReflect added in v0.2.0

func (x *JourneyFeaturesResponse) ProtoReflect() protoreflect.Message

func (*JourneyFeaturesResponse) Reset added in v0.2.0

func (x *JourneyFeaturesResponse) Reset()

func (*JourneyFeaturesResponse) String added in v0.2.0

func (x *JourneyFeaturesResponse) String() string

func (*JourneyFeaturesResponse) Validate added in v0.2.0

func (m *JourneyFeaturesResponse) Validate() error

Validate checks the field values on JourneyFeaturesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JourneyFeaturesResponse) ValidateAll added in v0.2.0

func (m *JourneyFeaturesResponse) ValidateAll() error

ValidateAll checks the field values on JourneyFeaturesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JourneyFeaturesResponseMultiError, or nil if none found.

type JourneyFeaturesResponseMultiError added in v0.2.0

type JourneyFeaturesResponseMultiError []error

JourneyFeaturesResponseMultiError is an error wrapping multiple validation errors returned by JourneyFeaturesResponse.ValidateAll() if the designated constraints aren't met.

func (JourneyFeaturesResponseMultiError) AllErrors added in v0.2.0

func (m JourneyFeaturesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JourneyFeaturesResponseMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type JourneyFeaturesResponseValidationError added in v0.2.0

type JourneyFeaturesResponseValidationError struct {
	// contains filtered or unexported fields
}

JourneyFeaturesResponseValidationError is the validation error returned by JourneyFeaturesResponse.Validate if the designated constraints aren't met.

func (JourneyFeaturesResponseValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (JourneyFeaturesResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (JourneyFeaturesResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (JourneyFeaturesResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (JourneyFeaturesResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (JourneyFeaturesResponseValidationError) Reason added in v0.2.0

Reason function returns reason value.

type JourneyListResponse added in v0.2.0

type JourneyListResponse struct {
	Journeys   []*Journey                     `protobuf:"bytes,1,rep,name=journeys,proto3" json:"journeys,omitempty"`
	Pagination *pagination.PaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/journeys"

func (*JourneyListResponse) Descriptor deprecated added in v0.2.0

func (*JourneyListResponse) Descriptor() ([]byte, []int)

Deprecated: Use JourneyListResponse.ProtoReflect.Descriptor instead.

func (*JourneyListResponse) GetJourneys added in v0.2.0

func (x *JourneyListResponse) GetJourneys() []*Journey

func (*JourneyListResponse) GetPagination added in v0.2.0

func (*JourneyListResponse) ProtoMessage added in v0.2.0

func (*JourneyListResponse) ProtoMessage()

func (*JourneyListResponse) ProtoReflect added in v0.2.0

func (x *JourneyListResponse) ProtoReflect() protoreflect.Message

func (*JourneyListResponse) Reset added in v0.2.0

func (x *JourneyListResponse) Reset()

func (*JourneyListResponse) String added in v0.2.0

func (x *JourneyListResponse) String() string

func (*JourneyListResponse) Validate added in v0.2.0

func (m *JourneyListResponse) Validate() error

Validate checks the field values on JourneyListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JourneyListResponse) ValidateAll added in v0.2.0

func (m *JourneyListResponse) ValidateAll() error

ValidateAll checks the field values on JourneyListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JourneyListResponseMultiError, or nil if none found.

type JourneyListResponseMultiError added in v0.2.0

type JourneyListResponseMultiError []error

JourneyListResponseMultiError is an error wrapping multiple validation errors returned by JourneyListResponse.ValidateAll() if the designated constraints aren't met.

func (JourneyListResponseMultiError) AllErrors added in v0.2.0

func (m JourneyListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JourneyListResponseMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type JourneyListResponseValidationError added in v0.2.0

type JourneyListResponseValidationError struct {
	// contains filtered or unexported fields
}

JourneyListResponseValidationError is the validation error returned by JourneyListResponse.Validate if the designated constraints aren't met.

func (JourneyListResponseValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (JourneyListResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (JourneyListResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (JourneyListResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (JourneyListResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (JourneyListResponseValidationError) Reason added in v0.2.0

Reason function returns reason value.

type JourneyMultiError added in v0.2.0

type JourneyMultiError []error

JourneyMultiError is an error wrapping multiple validation errors returned by Journey.ValidateAll() if the designated constraints aren't met.

func (JourneyMultiError) AllErrors added in v0.2.0

func (m JourneyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JourneyMultiError) Error added in v0.2.0

func (m JourneyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JourneyValidationError added in v0.2.0

type JourneyValidationError struct {
	// contains filtered or unexported fields
}

JourneyValidationError is the validation error returned by Journey.Validate if the designated constraints aren't met.

func (JourneyValidationError) Cause added in v0.2.0

func (e JourneyValidationError) Cause() error

Cause function returns cause value.

func (JourneyValidationError) Error added in v0.2.0

func (e JourneyValidationError) Error() string

Error satisfies the builtin error interface

func (JourneyValidationError) ErrorName added in v0.2.0

func (e JourneyValidationError) ErrorName() string

ErrorName returns error name.

func (JourneyValidationError) Field added in v0.2.0

func (e JourneyValidationError) Field() string

Field function returns field value.

func (JourneyValidationError) Key added in v0.2.0

func (e JourneyValidationError) Key() bool

Key function returns key value.

func (JourneyValidationError) Reason added in v0.2.0

func (e JourneyValidationError) Reason() string

Reason function returns reason value.

type LabelListResponse

type LabelListResponse struct {
	Labels []*data_plane_sdk.SessionLabel `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/labels"

func (*LabelListResponse) Descriptor deprecated

func (*LabelListResponse) Descriptor() ([]byte, []int)

Deprecated: Use LabelListResponse.ProtoReflect.Descriptor instead.

func (*LabelListResponse) GetLabels

func (x *LabelListResponse) GetLabels() []*data_plane_sdk.SessionLabel

func (*LabelListResponse) ProtoMessage

func (*LabelListResponse) ProtoMessage()

func (*LabelListResponse) ProtoReflect

func (x *LabelListResponse) ProtoReflect() protoreflect.Message

func (*LabelListResponse) Reset

func (x *LabelListResponse) Reset()

func (*LabelListResponse) String

func (x *LabelListResponse) String() string

func (*LabelListResponse) Validate

func (m *LabelListResponse) Validate() error

Validate checks the field values on LabelListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LabelListResponse) ValidateAll

func (m *LabelListResponse) ValidateAll() error

ValidateAll checks the field values on LabelListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LabelListResponseMultiError, or nil if none found.

type LabelListResponseMultiError

type LabelListResponseMultiError []error

LabelListResponseMultiError is an error wrapping multiple validation errors returned by LabelListResponse.ValidateAll() if the designated constraints aren't met.

func (LabelListResponseMultiError) AllErrors

func (m LabelListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LabelListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LabelListResponseValidationError

type LabelListResponseValidationError struct {
	// contains filtered or unexported fields
}

LabelListResponseValidationError is the validation error returned by LabelListResponse.Validate if the designated constraints aren't met.

func (LabelListResponseValidationError) Cause

Cause function returns cause value.

func (LabelListResponseValidationError) Error

Error satisfies the builtin error interface

func (LabelListResponseValidationError) ErrorName

ErrorName returns error name.

func (LabelListResponseValidationError) Field

Field function returns field value.

func (LabelListResponseValidationError) Key

Key function returns key value.

func (LabelListResponseValidationError) Reason

Reason function returns reason value.

type LabelWithStats

type LabelWithStats struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SessionsCount int64  `protobuf:"varint,2,opt,name=sessions_count,json=sessionsCount,proto3" json:"sessions_count,omitempty"`
	// contains filtered or unexported fields
}

A summary of label statistics

func (*LabelWithStats) Descriptor deprecated

func (*LabelWithStats) Descriptor() ([]byte, []int)

Deprecated: Use LabelWithStats.ProtoReflect.Descriptor instead.

func (*LabelWithStats) GetName

func (x *LabelWithStats) GetName() string

func (*LabelWithStats) GetSessionsCount

func (x *LabelWithStats) GetSessionsCount() int64

func (*LabelWithStats) ProtoMessage

func (*LabelWithStats) ProtoMessage()

func (*LabelWithStats) ProtoReflect

func (x *LabelWithStats) ProtoReflect() protoreflect.Message

func (*LabelWithStats) Reset

func (x *LabelWithStats) Reset()

func (*LabelWithStats) String

func (x *LabelWithStats) String() string

func (*LabelWithStats) Validate

func (m *LabelWithStats) Validate() error

Validate checks the field values on LabelWithStats with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LabelWithStats) ValidateAll

func (m *LabelWithStats) ValidateAll() error

ValidateAll checks the field values on LabelWithStats with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LabelWithStatsMultiError, or nil if none found.

type LabelWithStatsMultiError

type LabelWithStatsMultiError []error

LabelWithStatsMultiError is an error wrapping multiple validation errors returned by LabelWithStats.ValidateAll() if the designated constraints aren't met.

func (LabelWithStatsMultiError) AllErrors

func (m LabelWithStatsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LabelWithStatsMultiError) Error

func (m LabelWithStatsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LabelWithStatsValidationError

type LabelWithStatsValidationError struct {
	// contains filtered or unexported fields
}

LabelWithStatsValidationError is the validation error returned by LabelWithStats.Validate if the designated constraints aren't met.

func (LabelWithStatsValidationError) Cause

Cause function returns cause value.

func (LabelWithStatsValidationError) Error

Error satisfies the builtin error interface

func (LabelWithStatsValidationError) ErrorName

func (e LabelWithStatsValidationError) ErrorName() string

ErrorName returns error name.

func (LabelWithStatsValidationError) Field

Field function returns field value.

func (LabelWithStatsValidationError) Key

Key function returns key value.

func (LabelWithStatsValidationError) Reason

Reason function returns reason value.

type LabelsTopResponse

type LabelsTopResponse struct {
	Labels []*LabelWithStats `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

A list of labels and their usage count

func (*LabelsTopResponse) Descriptor deprecated

func (*LabelsTopResponse) Descriptor() ([]byte, []int)

Deprecated: Use LabelsTopResponse.ProtoReflect.Descriptor instead.

func (*LabelsTopResponse) GetLabels

func (x *LabelsTopResponse) GetLabels() []*LabelWithStats

func (*LabelsTopResponse) ProtoMessage

func (*LabelsTopResponse) ProtoMessage()

func (*LabelsTopResponse) ProtoReflect

func (x *LabelsTopResponse) ProtoReflect() protoreflect.Message

func (*LabelsTopResponse) Reset

func (x *LabelsTopResponse) Reset()

func (*LabelsTopResponse) String

func (x *LabelsTopResponse) String() string

func (*LabelsTopResponse) Validate

func (m *LabelsTopResponse) Validate() error

Validate checks the field values on LabelsTopResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LabelsTopResponse) ValidateAll

func (m *LabelsTopResponse) ValidateAll() error

ValidateAll checks the field values on LabelsTopResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LabelsTopResponseMultiError, or nil if none found.

type LabelsTopResponseMultiError

type LabelsTopResponseMultiError []error

LabelsTopResponseMultiError is an error wrapping multiple validation errors returned by LabelsTopResponse.ValidateAll() if the designated constraints aren't met.

func (LabelsTopResponseMultiError) AllErrors

func (m LabelsTopResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LabelsTopResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LabelsTopResponseValidationError

type LabelsTopResponseValidationError struct {
	// contains filtered or unexported fields
}

LabelsTopResponseValidationError is the validation error returned by LabelsTopResponse.Validate if the designated constraints aren't met.

func (LabelsTopResponseValidationError) Cause

Cause function returns cause value.

func (LabelsTopResponseValidationError) Error

Error satisfies the builtin error interface

func (LabelsTopResponseValidationError) ErrorName

ErrorName returns error name.

func (LabelsTopResponseValidationError) Field

Field function returns field value.

func (LabelsTopResponseValidationError) Key

Key function returns key value.

func (LabelsTopResponseValidationError) Reason

Reason function returns reason value.

type PaginatedFieldsResponse

type PaginatedFieldsResponse struct {
	Bundle           *bundle.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	MaxDeterminedAt  int64          `protobuf:"varint,2,opt,name=max_determined_at,json=maxDeterminedAt,proto3" json:"max_determined_at,omitempty"`
	FromBundleCursor int64          `protobuf:"varint,3,opt,name=from_bundle_cursor,json=fromBundleCursor,proto3" json:"from_bundle_cursor,omitempty"`
	// contains filtered or unexported fields
}

Response to the fields API.

func (*PaginatedFieldsResponse) Descriptor deprecated

func (*PaginatedFieldsResponse) Descriptor() ([]byte, []int)

Deprecated: Use PaginatedFieldsResponse.ProtoReflect.Descriptor instead.

func (*PaginatedFieldsResponse) GetBundle

func (x *PaginatedFieldsResponse) GetBundle() *bundle.Bundle

func (*PaginatedFieldsResponse) GetFromBundleCursor

func (x *PaginatedFieldsResponse) GetFromBundleCursor() int64

func (*PaginatedFieldsResponse) GetMaxDeterminedAt

func (x *PaginatedFieldsResponse) GetMaxDeterminedAt() int64

func (*PaginatedFieldsResponse) ProtoMessage

func (*PaginatedFieldsResponse) ProtoMessage()

func (*PaginatedFieldsResponse) ProtoReflect

func (x *PaginatedFieldsResponse) ProtoReflect() protoreflect.Message

func (*PaginatedFieldsResponse) Reset

func (x *PaginatedFieldsResponse) Reset()

func (*PaginatedFieldsResponse) String

func (x *PaginatedFieldsResponse) String() string

func (*PaginatedFieldsResponse) Validate

func (m *PaginatedFieldsResponse) Validate() error

Validate checks the field values on PaginatedFieldsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PaginatedFieldsResponse) ValidateAll

func (m *PaginatedFieldsResponse) ValidateAll() error

ValidateAll checks the field values on PaginatedFieldsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaginatedFieldsResponseMultiError, or nil if none found.

type PaginatedFieldsResponseMultiError

type PaginatedFieldsResponseMultiError []error

PaginatedFieldsResponseMultiError is an error wrapping multiple validation errors returned by PaginatedFieldsResponse.ValidateAll() if the designated constraints aren't met.

func (PaginatedFieldsResponseMultiError) AllErrors

func (m PaginatedFieldsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PaginatedFieldsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PaginatedFieldsResponseValidationError

type PaginatedFieldsResponseValidationError struct {
	// contains filtered or unexported fields
}

PaginatedFieldsResponseValidationError is the validation error returned by PaginatedFieldsResponse.Validate if the designated constraints aren't met.

func (PaginatedFieldsResponseValidationError) Cause

Cause function returns cause value.

func (PaginatedFieldsResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginatedFieldsResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginatedFieldsResponseValidationError) Field

Field function returns field value.

func (PaginatedFieldsResponseValidationError) Key

Key function returns key value.

func (PaginatedFieldsResponseValidationError) Reason

Reason function returns reason value.

type SessionDeleteResponse

type SessionDeleteResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

Response to DELETE "/sessions/:id"

func (*SessionDeleteResponse) Descriptor deprecated

func (*SessionDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionDeleteResponse.ProtoReflect.Descriptor instead.

func (*SessionDeleteResponse) GetSessionId

func (x *SessionDeleteResponse) GetSessionId() string

func (*SessionDeleteResponse) ProtoMessage

func (*SessionDeleteResponse) ProtoMessage()

func (*SessionDeleteResponse) ProtoReflect

func (x *SessionDeleteResponse) ProtoReflect() protoreflect.Message

func (*SessionDeleteResponse) Reset

func (x *SessionDeleteResponse) Reset()

func (*SessionDeleteResponse) String

func (x *SessionDeleteResponse) String() string

func (*SessionDeleteResponse) Validate

func (m *SessionDeleteResponse) Validate() error

Validate checks the field values on SessionDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SessionDeleteResponse) ValidateAll

func (m *SessionDeleteResponse) ValidateAll() error

ValidateAll checks the field values on SessionDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionDeleteResponseMultiError, or nil if none found.

type SessionDeleteResponseMultiError

type SessionDeleteResponseMultiError []error

SessionDeleteResponseMultiError is an error wrapping multiple validation errors returned by SessionDeleteResponse.ValidateAll() if the designated constraints aren't met.

func (SessionDeleteResponseMultiError) AllErrors

func (m SessionDeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionDeleteResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SessionDeleteResponseValidationError

type SessionDeleteResponseValidationError struct {
	// contains filtered or unexported fields
}

SessionDeleteResponseValidationError is the validation error returned by SessionDeleteResponse.Validate if the designated constraints aren't met.

func (SessionDeleteResponseValidationError) Cause

Cause function returns cause value.

func (SessionDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (SessionDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (SessionDeleteResponseValidationError) Field

Field function returns field value.

func (SessionDeleteResponseValidationError) Key

Key function returns key value.

func (SessionDeleteResponseValidationError) Reason

Reason function returns reason value.

type SessionFeaturesResponse added in v0.2.0

type SessionFeaturesResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// A map of Feature Names to a Feature - computed on the client side.
	ClientSdk map[string]*feature.Feature `` /* 176-byte string literal not displayed */
	// A map of Feature Names to a Feature - computed on the server side - that is related to the network data.
	CloudNetwork map[string]*feature.Feature `` /* 185-byte string literal not displayed */
	// A map of Feature Names to a Feature - computed on the server side - that is related to the behavioral data.
	CloudBehavioral map[string]*feature.Feature `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GET "/sessions/:session_id/features"

func (*SessionFeaturesResponse) Descriptor deprecated added in v0.2.0

func (*SessionFeaturesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionFeaturesResponse.ProtoReflect.Descriptor instead.

func (*SessionFeaturesResponse) GetClientSdk added in v0.2.0

func (x *SessionFeaturesResponse) GetClientSdk() map[string]*feature.Feature

func (*SessionFeaturesResponse) GetCloudBehavioral added in v0.2.0

func (x *SessionFeaturesResponse) GetCloudBehavioral() map[string]*feature.Feature

func (*SessionFeaturesResponse) GetCloudNetwork added in v0.2.0

func (x *SessionFeaturesResponse) GetCloudNetwork() map[string]*feature.Feature

func (*SessionFeaturesResponse) GetSessionId added in v0.2.0

func (x *SessionFeaturesResponse) GetSessionId() string

func (*SessionFeaturesResponse) ProtoMessage added in v0.2.0

func (*SessionFeaturesResponse) ProtoMessage()

func (*SessionFeaturesResponse) ProtoReflect added in v0.2.0

func (x *SessionFeaturesResponse) ProtoReflect() protoreflect.Message

func (*SessionFeaturesResponse) Reset added in v0.2.0

func (x *SessionFeaturesResponse) Reset()

func (*SessionFeaturesResponse) String added in v0.2.0

func (x *SessionFeaturesResponse) String() string

func (*SessionFeaturesResponse) Validate added in v0.2.0

func (m *SessionFeaturesResponse) Validate() error

Validate checks the field values on SessionFeaturesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SessionFeaturesResponse) ValidateAll added in v0.2.0

func (m *SessionFeaturesResponse) ValidateAll() error

ValidateAll checks the field values on SessionFeaturesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionFeaturesResponseMultiError, or nil if none found.

type SessionFeaturesResponseMultiError added in v0.2.0

type SessionFeaturesResponseMultiError []error

SessionFeaturesResponseMultiError is an error wrapping multiple validation errors returned by SessionFeaturesResponse.ValidateAll() if the designated constraints aren't met.

func (SessionFeaturesResponseMultiError) AllErrors added in v0.2.0

func (m SessionFeaturesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionFeaturesResponseMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type SessionFeaturesResponseValidationError added in v0.2.0

type SessionFeaturesResponseValidationError struct {
	// contains filtered or unexported fields
}

SessionFeaturesResponseValidationError is the validation error returned by SessionFeaturesResponse.Validate if the designated constraints aren't met.

func (SessionFeaturesResponseValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (SessionFeaturesResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (SessionFeaturesResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (SessionFeaturesResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (SessionFeaturesResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (SessionFeaturesResponseValidationError) Reason added in v0.2.0

Reason function returns reason value.

type SessionListResponse

type SessionListResponse struct {
	Sessions   []*data_plane_sdk.Session      `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	Pagination *pagination.PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Response to GET "/sessions"

func (*SessionListResponse) Descriptor deprecated

func (*SessionListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionListResponse.ProtoReflect.Descriptor instead.

func (*SessionListResponse) GetPagination

func (*SessionListResponse) GetSessions

func (x *SessionListResponse) GetSessions() []*data_plane_sdk.Session

func (*SessionListResponse) ProtoMessage

func (*SessionListResponse) ProtoMessage()

func (*SessionListResponse) ProtoReflect

func (x *SessionListResponse) ProtoReflect() protoreflect.Message

func (*SessionListResponse) Reset

func (x *SessionListResponse) Reset()

func (*SessionListResponse) String

func (x *SessionListResponse) String() string

func (*SessionListResponse) Validate

func (m *SessionListResponse) Validate() error

Validate checks the field values on SessionListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SessionListResponse) ValidateAll

func (m *SessionListResponse) ValidateAll() error

ValidateAll checks the field values on SessionListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionListResponseMultiError, or nil if none found.

type SessionListResponseMultiError

type SessionListResponseMultiError []error

SessionListResponseMultiError is an error wrapping multiple validation errors returned by SessionListResponse.ValidateAll() if the designated constraints aren't met.

func (SessionListResponseMultiError) AllErrors

func (m SessionListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SessionListResponseValidationError

type SessionListResponseValidationError struct {
	// contains filtered or unexported fields
}

SessionListResponseValidationError is the validation error returned by SessionListResponse.Validate if the designated constraints aren't met.

func (SessionListResponseValidationError) Cause

Cause function returns cause value.

func (SessionListResponseValidationError) Error

Error satisfies the builtin error interface

func (SessionListResponseValidationError) ErrorName

ErrorName returns error name.

func (SessionListResponseValidationError) Field

Field function returns field value.

func (SessionListResponseValidationError) Key

Key function returns key value.

func (SessionListResponseValidationError) Reason

Reason function returns reason value.

type SignalsResponse

type SignalsResponse struct {
	Os *signal.Os `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
	// contains filtered or unexported fields
}

Response for GET "/sessions/:session_id/signals"

func (*SignalsResponse) Descriptor deprecated

func (*SignalsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignalsResponse.ProtoReflect.Descriptor instead.

func (*SignalsResponse) GetOs

func (x *SignalsResponse) GetOs() *signal.Os

func (*SignalsResponse) ProtoMessage

func (*SignalsResponse) ProtoMessage()

func (*SignalsResponse) ProtoReflect

func (x *SignalsResponse) ProtoReflect() protoreflect.Message

func (*SignalsResponse) Reset

func (x *SignalsResponse) Reset()

func (*SignalsResponse) String

func (x *SignalsResponse) String() string

func (*SignalsResponse) Validate

func (m *SignalsResponse) Validate() error

Validate checks the field values on SignalsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalsResponse) ValidateAll

func (m *SignalsResponse) ValidateAll() error

ValidateAll checks the field values on SignalsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalsResponseMultiError, or nil if none found.

type SignalsResponseMultiError

type SignalsResponseMultiError []error

SignalsResponseMultiError is an error wrapping multiple validation errors returned by SignalsResponse.ValidateAll() if the designated constraints aren't met.

func (SignalsResponseMultiError) AllErrors

func (m SignalsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalsResponseValidationError

type SignalsResponseValidationError struct {
	// contains filtered or unexported fields
}

SignalsResponseValidationError is the validation error returned by SignalsResponse.Validate if the designated constraints aren't met.

func (SignalsResponseValidationError) Cause

Cause function returns cause value.

func (SignalsResponseValidationError) Error

Error satisfies the builtin error interface

func (SignalsResponseValidationError) ErrorName

func (e SignalsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SignalsResponseValidationError) Field

Field function returns field value.

func (SignalsResponseValidationError) Key

Key function returns key value.

func (SignalsResponseValidationError) Reason

Reason function returns reason value.

type WebhookEventTypes

type WebhookEventTypes int32

Supported events for which we can trigger a webhook.

const (
	WebhookEventTypes_UNKNOWN          WebhookEventTypes = 0
	WebhookEventTypes_SESSION_CREATED  WebhookEventTypes = 1
	WebhookEventTypes_BUNDLE_RECEIVED  WebhookEventTypes = 2
	WebhookEventTypes_CHUNK_PERSISTED  WebhookEventTypes = 3
	WebhookEventTypes_SESSION_INACTIVE WebhookEventTypes = 4
)

func (WebhookEventTypes) Descriptor

func (WebhookEventTypes) Enum

func (WebhookEventTypes) EnumDescriptor deprecated

func (WebhookEventTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use WebhookEventTypes.Descriptor instead.

func (WebhookEventTypes) Number

func (WebhookEventTypes) String

func (x WebhookEventTypes) String() string

func (WebhookEventTypes) Type

type WebhookPayload

type WebhookPayload struct {
	ProjectId string               `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // checked in the handler since not all event types can provide a projectId.
	AppId     string               `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	SessionId string               `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	EventType WebhookEventTypes    `protobuf:"varint,4,opt,name=event_type,json=eventType,proto3,enum=v2.dataplane.WebhookEventTypes" json:"event_type,omitempty"`
	Bundle    *bundle.SealedBundle `protobuf:"bytes,5,opt,name=bundle,proto3" json:"bundle,omitempty"` // payload is optional and only a small number of events require a bundle.
	// Deprecated: Do not use.
	ClientSessionGroupId string   `protobuf:"bytes,6,opt,name=client_session_group_id,json=clientSessionGroupId,proto3" json:"client_session_group_id,omitempty"`
	SessionLabels        []string `protobuf:"bytes,7,rep,name=session_labels,json=sessionLabels,proto3" json:"session_labels,omitempty"`
	JourneyId            string   `protobuf:"bytes,8,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"`
	// contains filtered or unexported fields
}

Container for all the information required to be packaged in the webhook.

func (*WebhookPayload) Descriptor deprecated

func (*WebhookPayload) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayload.ProtoReflect.Descriptor instead.

func (*WebhookPayload) GetAppId

func (x *WebhookPayload) GetAppId() string

func (*WebhookPayload) GetBundle

func (x *WebhookPayload) GetBundle() *bundle.SealedBundle

func (*WebhookPayload) GetClientSessionGroupId deprecated

func (x *WebhookPayload) GetClientSessionGroupId() string

Deprecated: Do not use.

func (*WebhookPayload) GetEventType

func (x *WebhookPayload) GetEventType() WebhookEventTypes

func (*WebhookPayload) GetJourneyId

func (x *WebhookPayload) GetJourneyId() string

func (*WebhookPayload) GetProjectId

func (x *WebhookPayload) GetProjectId() string

func (*WebhookPayload) GetSessionId

func (x *WebhookPayload) GetSessionId() string

func (*WebhookPayload) GetSessionLabels

func (x *WebhookPayload) GetSessionLabels() []string

func (*WebhookPayload) ProtoMessage

func (*WebhookPayload) ProtoMessage()

func (*WebhookPayload) ProtoReflect

func (x *WebhookPayload) ProtoReflect() protoreflect.Message

func (*WebhookPayload) Reset

func (x *WebhookPayload) Reset()

func (*WebhookPayload) String

func (x *WebhookPayload) String() string

func (*WebhookPayload) Validate

func (m *WebhookPayload) Validate() error

Validate checks the field values on WebhookPayload with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WebhookPayload) ValidateAll

func (m *WebhookPayload) ValidateAll() error

ValidateAll checks the field values on WebhookPayload with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WebhookPayloadMultiError, or nil if none found.

type WebhookPayloadMultiError

type WebhookPayloadMultiError []error

WebhookPayloadMultiError is an error wrapping multiple validation errors returned by WebhookPayload.ValidateAll() if the designated constraints aren't met.

func (WebhookPayloadMultiError) AllErrors

func (m WebhookPayloadMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WebhookPayloadMultiError) Error

func (m WebhookPayloadMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WebhookPayloadValidationError

type WebhookPayloadValidationError struct {
	// contains filtered or unexported fields
}

WebhookPayloadValidationError is the validation error returned by WebhookPayload.Validate if the designated constraints aren't met.

func (WebhookPayloadValidationError) Cause

Cause function returns cause value.

func (WebhookPayloadValidationError) Error

Error satisfies the builtin error interface

func (WebhookPayloadValidationError) ErrorName

func (e WebhookPayloadValidationError) ErrorName() string

ErrorName returns error name.

func (WebhookPayloadValidationError) Field

Field function returns field value.

func (WebhookPayloadValidationError) Key

Key function returns key value.

func (WebhookPayloadValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL