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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SessionMetadata_Platform_name = map[int32]string{
		0: "UNKNOWN",
		1: "iOS",
		2: "ANDROID",
		3: "WEB",
	}
	SessionMetadata_Platform_value = map[string]int32{
		"UNKNOWN": 0,
		"iOS":     1,
		"ANDROID": 2,
		"WEB":     3,
	}
)

Enum value maps for SessionMetadata_Platform.

View Source
var File_data_plane_v2_sdk_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoundingCircle

type BoundingCircle struct {
	Centroid *LatitudeLongitude `protobuf:"bytes,1,opt,name=centroid,proto3" json:"centroid,omitempty"`
	// Radius of the circle in meters
	Radius float64 `protobuf:"fixed64,2,opt,name=radius,proto3" json:"radius,omitempty"`
	// contains filtered or unexported fields
}

A circle defined by the radius around a geographical point

func (*BoundingCircle) Descriptor deprecated

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

Deprecated: Use BoundingCircle.ProtoReflect.Descriptor instead.

func (*BoundingCircle) GetCentroid

func (x *BoundingCircle) GetCentroid() *LatitudeLongitude

func (*BoundingCircle) GetRadius

func (x *BoundingCircle) GetRadius() float64

func (*BoundingCircle) ProtoMessage

func (*BoundingCircle) ProtoMessage()

func (*BoundingCircle) ProtoReflect

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

func (*BoundingCircle) Reset

func (x *BoundingCircle) Reset()

func (*BoundingCircle) String

func (x *BoundingCircle) String() string

func (*BoundingCircle) Validate

func (m *BoundingCircle) Validate() error

Validate checks the field values on BoundingCircle 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 (*BoundingCircle) ValidateAll

func (m *BoundingCircle) ValidateAll() error

ValidateAll checks the field values on BoundingCircle 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 BoundingCircleMultiError, or nil if none found.

type BoundingCircleMultiError

type BoundingCircleMultiError []error

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

func (BoundingCircleMultiError) AllErrors

func (m BoundingCircleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoundingCircleMultiError) Error

func (m BoundingCircleMultiError) Error() string

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

type BoundingCircleValidationError

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

BoundingCircleValidationError is the validation error returned by BoundingCircle.Validate if the designated constraints aren't met.

func (BoundingCircleValidationError) Cause

Cause function returns cause value.

func (BoundingCircleValidationError) Error

Error satisfies the builtin error interface

func (BoundingCircleValidationError) ErrorName

func (e BoundingCircleValidationError) ErrorName() string

ErrorName returns error name.

func (BoundingCircleValidationError) Field

Field function returns field value.

func (BoundingCircleValidationError) Key

Key function returns key value.

func (BoundingCircleValidationError) Reason

Reason function returns reason value.

type BucketedCounter

type BucketedCounter struct {
	Buckets []*BucketedCounter_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	Total   int32                     `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Generic messages for statistics

func (*BucketedCounter) Descriptor deprecated

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

Deprecated: Use BucketedCounter.ProtoReflect.Descriptor instead.

func (*BucketedCounter) GetBuckets

func (x *BucketedCounter) GetBuckets() []*BucketedCounter_Bucket

func (*BucketedCounter) GetTotal

func (x *BucketedCounter) GetTotal() int32

func (*BucketedCounter) ProtoMessage

func (*BucketedCounter) ProtoMessage()

func (*BucketedCounter) ProtoReflect

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

func (*BucketedCounter) Reset

func (x *BucketedCounter) Reset()

func (*BucketedCounter) String

func (x *BucketedCounter) String() string

func (*BucketedCounter) Validate

func (m *BucketedCounter) Validate() error

Validate checks the field values on BucketedCounter 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 (*BucketedCounter) ValidateAll

func (m *BucketedCounter) ValidateAll() error

ValidateAll checks the field values on BucketedCounter 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 BucketedCounterMultiError, or nil if none found.

type BucketedCounterMultiError

type BucketedCounterMultiError []error

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

func (BucketedCounterMultiError) AllErrors

func (m BucketedCounterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BucketedCounterMultiError) Error

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

type BucketedCounterValidationError

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

BucketedCounterValidationError is the validation error returned by BucketedCounter.Validate if the designated constraints aren't met.

func (BucketedCounterValidationError) Cause

Cause function returns cause value.

func (BucketedCounterValidationError) Error

Error satisfies the builtin error interface

func (BucketedCounterValidationError) ErrorName

func (e BucketedCounterValidationError) ErrorName() string

ErrorName returns error name.

func (BucketedCounterValidationError) Field

Field function returns field value.

func (BucketedCounterValidationError) Key

Key function returns key value.

func (BucketedCounterValidationError) Reason

Reason function returns reason value.

type BucketedCounter_Bucket

type BucketedCounter_Bucket struct {

	// The start of a bucket in milliseconds since epoch.
	StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Value     int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BucketedCounter_Bucket) Descriptor deprecated

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

Deprecated: Use BucketedCounter_Bucket.ProtoReflect.Descriptor instead.

func (*BucketedCounter_Bucket) GetStartTime

func (x *BucketedCounter_Bucket) GetStartTime() int64

func (*BucketedCounter_Bucket) GetValue

func (x *BucketedCounter_Bucket) GetValue() int64

func (*BucketedCounter_Bucket) ProtoMessage

func (*BucketedCounter_Bucket) ProtoMessage()

func (*BucketedCounter_Bucket) ProtoReflect

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

func (*BucketedCounter_Bucket) Reset

func (x *BucketedCounter_Bucket) Reset()

func (*BucketedCounter_Bucket) String

func (x *BucketedCounter_Bucket) String() string

func (*BucketedCounter_Bucket) Validate

func (m *BucketedCounter_Bucket) Validate() error

Validate checks the field values on BucketedCounter_Bucket 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 (*BucketedCounter_Bucket) ValidateAll

func (m *BucketedCounter_Bucket) ValidateAll() error

ValidateAll checks the field values on BucketedCounter_Bucket 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 BucketedCounter_BucketMultiError, or nil if none found.

type BucketedCounter_BucketMultiError

type BucketedCounter_BucketMultiError []error

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

func (BucketedCounter_BucketMultiError) AllErrors

func (m BucketedCounter_BucketMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BucketedCounter_BucketMultiError) Error

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

type BucketedCounter_BucketValidationError

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

BucketedCounter_BucketValidationError is the validation error returned by BucketedCounter_Bucket.Validate if the designated constraints aren't met.

func (BucketedCounter_BucketValidationError) Cause

Cause function returns cause value.

func (BucketedCounter_BucketValidationError) Error

Error satisfies the builtin error interface

func (BucketedCounter_BucketValidationError) ErrorName

ErrorName returns error name.

func (BucketedCounter_BucketValidationError) Field

Field function returns field value.

func (BucketedCounter_BucketValidationError) Key

Key function returns key value.

func (BucketedCounter_BucketValidationError) Reason

Reason function returns reason value.

type BundleCreateRequest

type BundleCreateRequest struct {
	SessionId string           `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Bundles   []*bundle.Bundle `protobuf:"bytes,2,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// Unique install ID generated by the OS.
	InstallId string `protobuf:"bytes,3,opt,name=install_id,json=installId,proto3" json:"install_id,omitempty"`
	// User is provided by the client as it becomes available (e.g after customer authenticates an user).
	ClientUserId string `protobuf:"bytes,4,opt,name=client_user_id,json=clientUserId,proto3" json:"client_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleCreateRequest) Descriptor deprecated

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

Deprecated: Use BundleCreateRequest.ProtoReflect.Descriptor instead.

func (*BundleCreateRequest) GetBundles

func (x *BundleCreateRequest) GetBundles() []*bundle.Bundle

func (*BundleCreateRequest) GetClientUserId

func (x *BundleCreateRequest) GetClientUserId() string

func (*BundleCreateRequest) GetInstallId

func (x *BundleCreateRequest) GetInstallId() string

func (*BundleCreateRequest) GetSessionId

func (x *BundleCreateRequest) GetSessionId() string

func (*BundleCreateRequest) ProtoMessage

func (*BundleCreateRequest) ProtoMessage()

func (*BundleCreateRequest) ProtoReflect

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

func (*BundleCreateRequest) Reset

func (x *BundleCreateRequest) Reset()

func (*BundleCreateRequest) String

func (x *BundleCreateRequest) String() string

func (*BundleCreateRequest) Validate

func (m *BundleCreateRequest) Validate() error

Validate checks the field values on BundleCreateRequest 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 (*BundleCreateRequest) ValidateAll

func (m *BundleCreateRequest) ValidateAll() error

ValidateAll checks the field values on BundleCreateRequest 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 BundleCreateRequestMultiError, or nil if none found.

type BundleCreateRequestMultiError

type BundleCreateRequestMultiError []error

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

func (BundleCreateRequestMultiError) AllErrors

func (m BundleCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BundleCreateRequestMultiError) Error

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

type BundleCreateRequestValidationError

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

BundleCreateRequestValidationError is the validation error returned by BundleCreateRequest.Validate if the designated constraints aren't met.

func (BundleCreateRequestValidationError) Cause

Cause function returns cause value.

func (BundleCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (BundleCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (BundleCreateRequestValidationError) Field

Field function returns field value.

func (BundleCreateRequestValidationError) Key

Key function returns key value.

func (BundleCreateRequestValidationError) Reason

Reason function returns reason value.

type BundleCreateResponse

type BundleCreateResponse struct {
	ErrorCount   int32 `protobuf:"varint,1,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
	SuccessCount int32 `protobuf:"varint,2,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleCreateResponse) Descriptor deprecated

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

Deprecated: Use BundleCreateResponse.ProtoReflect.Descriptor instead.

func (*BundleCreateResponse) GetErrorCount

func (x *BundleCreateResponse) GetErrorCount() int32

func (*BundleCreateResponse) GetSuccessCount

func (x *BundleCreateResponse) GetSuccessCount() int32

func (*BundleCreateResponse) ProtoMessage

func (*BundleCreateResponse) ProtoMessage()

func (*BundleCreateResponse) ProtoReflect

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

func (*BundleCreateResponse) Reset

func (x *BundleCreateResponse) Reset()

func (*BundleCreateResponse) String

func (x *BundleCreateResponse) String() string

func (*BundleCreateResponse) Validate

func (m *BundleCreateResponse) Validate() error

Validate checks the field values on BundleCreateResponse 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 (*BundleCreateResponse) ValidateAll

func (m *BundleCreateResponse) ValidateAll() error

ValidateAll checks the field values on BundleCreateResponse 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 BundleCreateResponseMultiError, or nil if none found.

type BundleCreateResponseMultiError

type BundleCreateResponseMultiError []error

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

func (BundleCreateResponseMultiError) AllErrors

func (m BundleCreateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BundleCreateResponseMultiError) Error

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

type BundleCreateResponseValidationError

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

BundleCreateResponseValidationError is the validation error returned by BundleCreateResponse.Validate if the designated constraints aren't met.

func (BundleCreateResponseValidationError) Cause

Cause function returns cause value.

func (BundleCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (BundleCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (BundleCreateResponseValidationError) Field

Field function returns field value.

func (BundleCreateResponseValidationError) Key

Key function returns key value.

func (BundleCreateResponseValidationError) Reason

Reason function returns reason value.

type CDF

type CDF struct {
	Values []float64 `protobuf:"fixed64,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Cummulative Distribution Function See: https://en.wikipedia.org/wiki/Cumulative_distribution_function

Each element in the value array represents a specific quantile. If the array has 100 elements the value at the index 0 is min, the value at index 25 is p25 and so on.

func (*CDF) Descriptor deprecated

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

Deprecated: Use CDF.ProtoReflect.Descriptor instead.

func (*CDF) GetValues

func (x *CDF) GetValues() []float64

func (*CDF) ProtoMessage

func (*CDF) ProtoMessage()

func (*CDF) ProtoReflect

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

func (*CDF) Reset

func (x *CDF) Reset()

func (*CDF) String

func (x *CDF) String() string

func (*CDF) Validate

func (m *CDF) Validate() error

Validate checks the field values on CDF 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 (*CDF) ValidateAll

func (m *CDF) ValidateAll() error

ValidateAll checks the field values on CDF 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 CDFMultiError, or nil if none found.

type CDFMultiError

type CDFMultiError []error

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

func (CDFMultiError) AllErrors

func (m CDFMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CDFMultiError) Error

func (m CDFMultiError) Error() string

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

type CDFValidationError

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

CDFValidationError is the validation error returned by CDF.Validate if the designated constraints aren't met.

func (CDFValidationError) Cause

func (e CDFValidationError) Cause() error

Cause function returns cause value.

func (CDFValidationError) Error

func (e CDFValidationError) Error() string

Error satisfies the builtin error interface

func (CDFValidationError) ErrorName

func (e CDFValidationError) ErrorName() string

ErrorName returns error name.

func (CDFValidationError) Field

func (e CDFValidationError) Field() string

Field function returns field value.

func (CDFValidationError) Key

func (e CDFValidationError) Key() bool

Key function returns key value.

func (CDFValidationError) Reason

func (e CDFValidationError) Reason() string

Reason function returns reason value.

type LatitudeLongitude

type LatitudeLongitude struct {

	// Angle up from the equator (latitudes to the south are negative), in degrees
	Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Angle from the prime merdian, measured to the east (longitudes to the west are negative), in degrees
	Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

Geographic coordinates https://gsp.humboldt.edu/olm/Lessons/GIS/01%20SphericalCoordinates/Latitude_and_Longitude.html

func (*LatitudeLongitude) Descriptor deprecated

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

Deprecated: Use LatitudeLongitude.ProtoReflect.Descriptor instead.

func (*LatitudeLongitude) GetLatitude

func (x *LatitudeLongitude) GetLatitude() float64

func (*LatitudeLongitude) GetLongitude

func (x *LatitudeLongitude) GetLongitude() float64

func (*LatitudeLongitude) ProtoMessage

func (*LatitudeLongitude) ProtoMessage()

func (*LatitudeLongitude) ProtoReflect

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

func (*LatitudeLongitude) Reset

func (x *LatitudeLongitude) Reset()

func (*LatitudeLongitude) String

func (x *LatitudeLongitude) String() string

func (*LatitudeLongitude) Validate

func (m *LatitudeLongitude) Validate() error

Validate checks the field values on LatitudeLongitude 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 (*LatitudeLongitude) ValidateAll

func (m *LatitudeLongitude) ValidateAll() error

ValidateAll checks the field values on LatitudeLongitude 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 LatitudeLongitudeMultiError, or nil if none found.

type LatitudeLongitudeMultiError

type LatitudeLongitudeMultiError []error

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

func (LatitudeLongitudeMultiError) AllErrors

func (m LatitudeLongitudeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LatitudeLongitudeMultiError) Error

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

type LatitudeLongitudeValidationError

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

LatitudeLongitudeValidationError is the validation error returned by LatitudeLongitude.Validate if the designated constraints aren't met.

func (LatitudeLongitudeValidationError) Cause

Cause function returns cause value.

func (LatitudeLongitudeValidationError) Error

Error satisfies the builtin error interface

func (LatitudeLongitudeValidationError) ErrorName

ErrorName returns error name.

func (LatitudeLongitudeValidationError) Field

Field function returns field value.

func (LatitudeLongitudeValidationError) Key

Key function returns key value.

func (LatitudeLongitudeValidationError) Reason

Reason function returns reason value.

type NetworkPacketCaptureClientResponse

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

The response the data plane sends when it receives a network packet request

func (*NetworkPacketCaptureClientResponse) Descriptor deprecated

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

Deprecated: Use NetworkPacketCaptureClientResponse.ProtoReflect.Descriptor instead.

func (*NetworkPacketCaptureClientResponse) GetSessionId

func (x *NetworkPacketCaptureClientResponse) GetSessionId() string

func (*NetworkPacketCaptureClientResponse) ProtoMessage

func (*NetworkPacketCaptureClientResponse) ProtoMessage()

func (*NetworkPacketCaptureClientResponse) ProtoReflect

func (*NetworkPacketCaptureClientResponse) Reset

func (*NetworkPacketCaptureClientResponse) String

func (*NetworkPacketCaptureClientResponse) Validate

Validate checks the field values on NetworkPacketCaptureClientResponse 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 (*NetworkPacketCaptureClientResponse) ValidateAll

func (m *NetworkPacketCaptureClientResponse) ValidateAll() error

ValidateAll checks the field values on NetworkPacketCaptureClientResponse 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 NetworkPacketCaptureClientResponseMultiError, or nil if none found.

type NetworkPacketCaptureClientResponseMultiError

type NetworkPacketCaptureClientResponseMultiError []error

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

func (NetworkPacketCaptureClientResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (NetworkPacketCaptureClientResponseMultiError) Error

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

type NetworkPacketCaptureClientResponseValidationError

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

NetworkPacketCaptureClientResponseValidationError is the validation error returned by NetworkPacketCaptureClientResponse.Validate if the designated constraints aren't met.

func (NetworkPacketCaptureClientResponseValidationError) Cause

Cause function returns cause value.

func (NetworkPacketCaptureClientResponseValidationError) Error

Error satisfies the builtin error interface

func (NetworkPacketCaptureClientResponseValidationError) ErrorName

ErrorName returns error name.

func (NetworkPacketCaptureClientResponseValidationError) Field

Field function returns field value.

func (NetworkPacketCaptureClientResponseValidationError) Key

Key function returns key value.

func (NetworkPacketCaptureClientResponseValidationError) Reason

Reason function returns reason value.

type NetworkTelemetryConfig added in v0.2.0

type NetworkTelemetryConfig struct {

	// The requested number of ipv4 packet capture attempts.
	Ipv4CaptureAttempts int32 `protobuf:"varint,1,opt,name=ipv4_capture_attempts,json=ipv4CaptureAttempts,proto3" json:"ipv4_capture_attempts,omitempty"`
	// The requested number of ipv6 packet capture attempts.
	Ipv6CaptureAttempts int32 `protobuf:"varint,2,opt,name=ipv6_capture_attempts,json=ipv6CaptureAttempts,proto3" json:"ipv6_capture_attempts,omitempty"`
	// contains filtered or unexported fields
}

Network Telemetry configuration information.

Tracks the configuration of network telemetry requests.

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

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

Deprecated: Use NetworkTelemetryConfig.ProtoReflect.Descriptor instead.

func (*NetworkTelemetryConfig) GetIpv4CaptureAttempts added in v0.2.0

func (x *NetworkTelemetryConfig) GetIpv4CaptureAttempts() int32

func (*NetworkTelemetryConfig) GetIpv6CaptureAttempts added in v0.2.0

func (x *NetworkTelemetryConfig) GetIpv6CaptureAttempts() int32

func (*NetworkTelemetryConfig) ProtoMessage added in v0.2.0

func (*NetworkTelemetryConfig) ProtoMessage()

func (*NetworkTelemetryConfig) ProtoReflect added in v0.2.0

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

func (*NetworkTelemetryConfig) Reset added in v0.2.0

func (x *NetworkTelemetryConfig) Reset()

func (*NetworkTelemetryConfig) String added in v0.2.0

func (x *NetworkTelemetryConfig) String() string

func (*NetworkTelemetryConfig) Validate added in v0.2.0

func (m *NetworkTelemetryConfig) Validate() error

Validate checks the field values on NetworkTelemetryConfig 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 (*NetworkTelemetryConfig) ValidateAll added in v0.2.0

func (m *NetworkTelemetryConfig) ValidateAll() error

ValidateAll checks the field values on NetworkTelemetryConfig 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 NetworkTelemetryConfigMultiError, or nil if none found.

type NetworkTelemetryConfigMultiError added in v0.2.0

type NetworkTelemetryConfigMultiError []error

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

func (NetworkTelemetryConfigMultiError) AllErrors added in v0.2.0

func (m NetworkTelemetryConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NetworkTelemetryConfigMultiError) Error added in v0.2.0

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

type NetworkTelemetryConfigValidationError added in v0.2.0

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

NetworkTelemetryConfigValidationError is the validation error returned by NetworkTelemetryConfig.Validate if the designated constraints aren't met.

func (NetworkTelemetryConfigValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (NetworkTelemetryConfigValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (NetworkTelemetryConfigValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (NetworkTelemetryConfigValidationError) Field added in v0.2.0

Field function returns field value.

func (NetworkTelemetryConfigValidationError) Key added in v0.2.0

Key function returns key value.

func (NetworkTelemetryConfigValidationError) Reason added in v0.2.0

Reason function returns reason value.

type RecordingProfile

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

The profile used when recording a sessions

func (*RecordingProfile) Descriptor deprecated

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

Deprecated: Use RecordingProfile.ProtoReflect.Descriptor instead.

func (*RecordingProfile) GetName

func (x *RecordingProfile) GetName() string

func (*RecordingProfile) GetVersion

func (x *RecordingProfile) GetVersion() int64

func (*RecordingProfile) ProtoMessage

func (*RecordingProfile) ProtoMessage()

func (*RecordingProfile) ProtoReflect

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

func (*RecordingProfile) Reset

func (x *RecordingProfile) Reset()

func (*RecordingProfile) String

func (x *RecordingProfile) String() string

func (*RecordingProfile) Validate

func (m *RecordingProfile) Validate() error

Validate checks the field values on RecordingProfile 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 (*RecordingProfile) ValidateAll

func (m *RecordingProfile) ValidateAll() error

ValidateAll checks the field values on RecordingProfile 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 RecordingProfileMultiError, or nil if none found.

type RecordingProfileMultiError

type RecordingProfileMultiError []error

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

func (RecordingProfileMultiError) AllErrors

func (m RecordingProfileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecordingProfileMultiError) Error

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

type RecordingProfileValidationError

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

RecordingProfileValidationError is the validation error returned by RecordingProfile.Validate if the designated constraints aren't met.

func (RecordingProfileValidationError) Cause

Cause function returns cause value.

func (RecordingProfileValidationError) Error

Error satisfies the builtin error interface

func (RecordingProfileValidationError) ErrorName

ErrorName returns error name.

func (RecordingProfileValidationError) Field

Field function returns field value.

func (RecordingProfileValidationError) Key

Key function returns key value.

func (RecordingProfileValidationError) Reason

Reason function returns reason value.

type Session

type Session struct {
	SessionId   string                 `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	AppId       string                 `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	OldestEvent *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=oldest_event,json=oldestEvent,proto3" json:"oldest_event,omitempty"`
	NewestEvent *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=newest_event,json=newestEvent,proto3" json:"newest_event,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Circle      *BoundingCircle        `protobuf:"bytes,6,opt,name=circle,proto3" json:"circle,omitempty"`
	// Information regarding the session
	Metadata *SessionMetadata            `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // Required on Session creation
	Counters map[string]*BucketedCounter ``                                                                      /* 157-byte string literal not displayed */
	Labels   []*SessionLabel             `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`     // Optional on Session creation
	Cdfs     map[string]*CDF             ``                                                                      /* 150-byte string literal not displayed */
	RegionId string                      `protobuf:"bytes,11,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// An optional client defined group identifier used to link multiple sessions
	// together. It can be used as a filter to retrieve a list of sessions.
	// Must not include PII and should be less than or equal to 64 characters in length.
	//
	// Deprecated: Do not use.
	ClientSessionGroupId string         `` /* 126-byte string literal not displayed */
	Config               *SessionConfig `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"`
	// An optional client defined identifier used to link multiple sessions
	// together. It can be used as a filter to retrieve a list of sessions.
	// Must not include PII and should be less than or equal to 64 characters in length.
	JourneyId string `protobuf:"bytes,14,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"`
	// contains filtered or unexported fields
}

Information about a captured session. Includes details on when information was captured, where it was captured (if captured), summary of the sensor data captured, and what labels have been applied

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAppId

func (x *Session) GetAppId() string

func (*Session) GetCdfs

func (x *Session) GetCdfs() map[string]*CDF

func (*Session) GetCircle

func (x *Session) GetCircle() *BoundingCircle

func (*Session) GetClientSessionGroupId deprecated

func (x *Session) GetClientSessionGroupId() string

Deprecated: Do not use.

func (*Session) GetConfig

func (x *Session) GetConfig() *SessionConfig

func (*Session) GetCounters

func (x *Session) GetCounters() map[string]*BucketedCounter

func (*Session) GetCreatedAt

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

func (*Session) GetJourneyId

func (x *Session) GetJourneyId() string

func (*Session) GetLabels

func (x *Session) GetLabels() []*SessionLabel

func (*Session) GetMetadata

func (x *Session) GetMetadata() *SessionMetadata

func (*Session) GetNewestEvent

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

func (*Session) GetOldestEvent

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

func (*Session) GetRegionId

func (x *Session) GetRegionId() string

func (*Session) GetSessionId

func (x *Session) GetSessionId() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

func (*Session) Validate

func (m *Session) Validate() error

Validate checks the field values on Session 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 (*Session) ValidateAll

func (m *Session) ValidateAll() error

ValidateAll checks the field values on Session 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 SessionMultiError, or nil if none found.

type SessionConfig

type SessionConfig struct {

	// The duration, in millis, passed in the session start request specifying the
	// max amount of time a session should record.
	RequestedDurationMillis int64 `` /* 133-byte string literal not displayed */
	// A flag that specifies whether or not text masking is enabled.
	MaskText bool `protobuf:"varint,2,opt,name=mask_text,json=maskText,proto3" json:"mask_text,omitempty"`
	// The sampling rate, in hertz, used by the SDK for sensors that support
	// it such as the Accelerometer. E.g., a value of 20 means the SDK will try to sample
	// data 20 times per second.
	SensorSamplingRate int32 `protobuf:"varint,3,opt,name=sensor_sampling_rate,json=sensorSamplingRate,proto3" json:"sensor_sampling_rate,omitempty"`
	// The interval, in milliseconds, at which a bundle is generated from the accumulated data for the session
	// and then made available to an extension such as the Network Module.
	// The actual rate seen is subject to data availability, network availability, etc...
	BundleGenerationIntervalMillis int32 `` /* 156-byte string literal not displayed */
	// A list of sensors the Session was requested to record.
	// *NOTE*: Requesting the sensor does not mean that the sensor will be recorded.
	// Sensor availability is subject to platform and device capabilities as well
	// as permissions given to the implementing application.
	RequestedSensors []common.SensorType `` /* 143-byte string literal not displayed */
	// An optional configuration passed when network telemetry capture is requested.
	NetworkTelemetryConfig *NetworkTelemetryConfig `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Session configuration information.

Tracks settings used to setup the session such as session duration, which sensors to use, etc...

func (*SessionConfig) Descriptor deprecated

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

Deprecated: Use SessionConfig.ProtoReflect.Descriptor instead.

func (*SessionConfig) GetBundleGenerationIntervalMillis

func (x *SessionConfig) GetBundleGenerationIntervalMillis() int32

func (*SessionConfig) GetMaskText

func (x *SessionConfig) GetMaskText() bool

func (*SessionConfig) GetNetworkTelemetryConfig added in v0.2.0

func (x *SessionConfig) GetNetworkTelemetryConfig() *NetworkTelemetryConfig

func (*SessionConfig) GetRequestedDurationMillis

func (x *SessionConfig) GetRequestedDurationMillis() int64

func (*SessionConfig) GetRequestedSensors

func (x *SessionConfig) GetRequestedSensors() []common.SensorType

func (*SessionConfig) GetSensorSamplingRate

func (x *SessionConfig) GetSensorSamplingRate() int32

func (*SessionConfig) ProtoMessage

func (*SessionConfig) ProtoMessage()

func (*SessionConfig) ProtoReflect

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

func (*SessionConfig) Reset

func (x *SessionConfig) Reset()

func (*SessionConfig) String

func (x *SessionConfig) String() string

func (*SessionConfig) Validate

func (m *SessionConfig) Validate() error

Validate checks the field values on SessionConfig 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 (*SessionConfig) ValidateAll

func (m *SessionConfig) ValidateAll() error

ValidateAll checks the field values on SessionConfig 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 SessionConfigMultiError, or nil if none found.

type SessionConfigMultiError

type SessionConfigMultiError []error

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

func (SessionConfigMultiError) AllErrors

func (m SessionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionConfigMultiError) Error

func (m SessionConfigMultiError) Error() string

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

type SessionConfigValidationError

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

SessionConfigValidationError is the validation error returned by SessionConfig.Validate if the designated constraints aren't met.

func (SessionConfigValidationError) Cause

Cause function returns cause value.

func (SessionConfigValidationError) Error

Error satisfies the builtin error interface

func (SessionConfigValidationError) ErrorName

func (e SessionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SessionConfigValidationError) Field

Field function returns field value.

func (SessionConfigValidationError) Key

Key function returns key value.

func (SessionConfigValidationError) Reason

Reason function returns reason value.

type SessionLabel

type SessionLabel struct {
	LabelId        string                 `protobuf:"bytes,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"`
	SessionLabelId string                 `protobuf:"bytes,2,opt,name=session_label_id,json=sessionLabelId,proto3" json:"session_label_id,omitempty"`
	Name           string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

A label that can be applied to sessions

func (*SessionLabel) Descriptor deprecated

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

Deprecated: Use SessionLabel.ProtoReflect.Descriptor instead.

func (*SessionLabel) GetCreatedAt

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

func (*SessionLabel) GetLabelId

func (x *SessionLabel) GetLabelId() string

func (*SessionLabel) GetName

func (x *SessionLabel) GetName() string

func (*SessionLabel) GetSessionLabelId

func (x *SessionLabel) GetSessionLabelId() string

func (*SessionLabel) ProtoMessage

func (*SessionLabel) ProtoMessage()

func (*SessionLabel) ProtoReflect

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

func (*SessionLabel) Reset

func (x *SessionLabel) Reset()

func (*SessionLabel) String

func (x *SessionLabel) String() string

func (*SessionLabel) Validate

func (m *SessionLabel) Validate() error

Validate checks the field values on SessionLabel 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 (*SessionLabel) ValidateAll

func (m *SessionLabel) ValidateAll() error

ValidateAll checks the field values on SessionLabel 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 SessionLabelMultiError, or nil if none found.

type SessionLabelCreateRequest

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

Insert or Update Session Labels API Request for POST "/apps/:app_id/sessions/:id/labels"

func (*SessionLabelCreateRequest) Descriptor deprecated

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

Deprecated: Use SessionLabelCreateRequest.ProtoReflect.Descriptor instead.

func (*SessionLabelCreateRequest) GetLabels

func (x *SessionLabelCreateRequest) GetLabels() []*SessionLabel

func (*SessionLabelCreateRequest) ProtoMessage

func (*SessionLabelCreateRequest) ProtoMessage()

func (*SessionLabelCreateRequest) ProtoReflect

func (*SessionLabelCreateRequest) Reset

func (x *SessionLabelCreateRequest) Reset()

func (*SessionLabelCreateRequest) String

func (x *SessionLabelCreateRequest) String() string

func (*SessionLabelCreateRequest) Validate

func (m *SessionLabelCreateRequest) Validate() error

Validate checks the field values on SessionLabelCreateRequest 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 (*SessionLabelCreateRequest) ValidateAll

func (m *SessionLabelCreateRequest) ValidateAll() error

ValidateAll checks the field values on SessionLabelCreateRequest 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 SessionLabelCreateRequestMultiError, or nil if none found.

type SessionLabelCreateRequestMultiError

type SessionLabelCreateRequestMultiError []error

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

func (SessionLabelCreateRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SessionLabelCreateRequestMultiError) Error

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

type SessionLabelCreateRequestValidationError

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

SessionLabelCreateRequestValidationError is the validation error returned by SessionLabelCreateRequest.Validate if the designated constraints aren't met.

func (SessionLabelCreateRequestValidationError) Cause

Cause function returns cause value.

func (SessionLabelCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (SessionLabelCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (SessionLabelCreateRequestValidationError) Field

Field function returns field value.

func (SessionLabelCreateRequestValidationError) Key

Key function returns key value.

func (SessionLabelCreateRequestValidationError) Reason

Reason function returns reason value.

type SessionLabelCreateResponse

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

Response for POST "/apps/:app_id/sessions/:id/labels"

func (*SessionLabelCreateResponse) Descriptor deprecated

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

Deprecated: Use SessionLabelCreateResponse.ProtoReflect.Descriptor instead.

func (*SessionLabelCreateResponse) ProtoMessage

func (*SessionLabelCreateResponse) ProtoMessage()

func (*SessionLabelCreateResponse) ProtoReflect

func (*SessionLabelCreateResponse) Reset

func (x *SessionLabelCreateResponse) Reset()

func (*SessionLabelCreateResponse) String

func (x *SessionLabelCreateResponse) String() string

func (*SessionLabelCreateResponse) Validate

func (m *SessionLabelCreateResponse) Validate() error

Validate checks the field values on SessionLabelCreateResponse 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 (*SessionLabelCreateResponse) ValidateAll

func (m *SessionLabelCreateResponse) ValidateAll() error

ValidateAll checks the field values on SessionLabelCreateResponse 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 SessionLabelCreateResponseMultiError, or nil if none found.

type SessionLabelCreateResponseMultiError

type SessionLabelCreateResponseMultiError []error

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

func (SessionLabelCreateResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SessionLabelCreateResponseMultiError) Error

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

type SessionLabelCreateResponseValidationError

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

SessionLabelCreateResponseValidationError is the validation error returned by SessionLabelCreateResponse.Validate if the designated constraints aren't met.

func (SessionLabelCreateResponseValidationError) Cause

Cause function returns cause value.

func (SessionLabelCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (SessionLabelCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (SessionLabelCreateResponseValidationError) Field

Field function returns field value.

func (SessionLabelCreateResponseValidationError) Key

Key function returns key value.

func (SessionLabelCreateResponseValidationError) Reason

Reason function returns reason value.

type SessionLabelMultiError

type SessionLabelMultiError []error

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

func (SessionLabelMultiError) AllErrors

func (m SessionLabelMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionLabelMultiError) Error

func (m SessionLabelMultiError) Error() string

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

type SessionLabelValidationError

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

SessionLabelValidationError is the validation error returned by SessionLabel.Validate if the designated constraints aren't met.

func (SessionLabelValidationError) Cause

Cause function returns cause value.

func (SessionLabelValidationError) Error

Error satisfies the builtin error interface

func (SessionLabelValidationError) ErrorName

func (e SessionLabelValidationError) ErrorName() string

ErrorName returns error name.

func (SessionLabelValidationError) Field

Field function returns field value.

func (SessionLabelValidationError) Key

Key function returns key value.

func (SessionLabelValidationError) Reason

Reason function returns reason value.

type SessionMetadata

type SessionMetadata struct {

	// Unique install ID generated by the OS.
	InstallId string                   `protobuf:"bytes,1,opt,name=install_id,json=installId,proto3" json:"install_id,omitempty"`
	Platform  SessionMetadata_Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=v2.dataplane.SessionMetadata_Platform" json:"platform,omitempty"`
	// E.g Apple or Samsung
	Manufacturer string `protobuf:"bytes,4,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// iPhone13,4 OR Pixel 3a
	Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	// 14.4 (iOS) / 11 (Android)
	SystemVersion string `protobuf:"bytes,6,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"`
	// false for simulators
	IsDevicePhysical bool              `protobuf:"varint,7,opt,name=is_device_physical,json=isDevicePhysical,proto3" json:"is_device_physical,omitempty"`
	RecordingProfile *RecordingProfile `protobuf:"bytes,8,opt,name=recording_profile,json=recordingProfile,proto3" json:"recording_profile,omitempty"`
	// Width and height for the device - physical and logical.
	//
	// Deprecated: Do not use.
	DevicePhysicalWidth int64 `protobuf:"varint,9,opt,name=device_physical_width,json=devicePhysicalWidth,proto3" json:"device_physical_width,omitempty"`
	// Deprecated: Do not use.
	DevicePhysicalHeight int64 `protobuf:"varint,10,opt,name=device_physical_height,json=devicePhysicalHeight,proto3" json:"device_physical_height,omitempty"`
	// Deprecated: Do not use.
	DeviceLogicalWidth int64 `protobuf:"varint,11,opt,name=device_logical_width,json=deviceLogicalWidth,proto3" json:"device_logical_width,omitempty"`
	// Deprecated: Do not use.
	DeviceLogicalHeight int64 `protobuf:"varint,12,opt,name=device_logical_height,json=deviceLogicalHeight,proto3" json:"device_logical_height,omitempty"`
	// The number of device pixels for each logical pixel for the screen this view is displayed on.
	//
	// Deprecated: Do not use.
	DevicePixelRatio float64 `protobuf:"fixed64,13,opt,name=device_pixel_ratio,json=devicePixelRatio,proto3" json:"device_pixel_ratio,omitempty"`
	// The version of the Moonsense SDK that was used to create the Session.
	// This is represented as <major>.<minor>.<patch> (for eg. 1.0.3).
	ReleaseVersion string `protobuf:"bytes,14,opt,name=release_version,json=releaseVersion,proto3" json:"release_version,omitempty"`
	// contains filtered or unexported fields
}

Session related metadata, used by both data-plane and control plane.

func (*SessionMetadata) Descriptor deprecated

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

Deprecated: Use SessionMetadata.ProtoReflect.Descriptor instead.

func (*SessionMetadata) GetDeviceLogicalHeight deprecated

func (x *SessionMetadata) GetDeviceLogicalHeight() int64

Deprecated: Do not use.

func (*SessionMetadata) GetDeviceLogicalWidth deprecated

func (x *SessionMetadata) GetDeviceLogicalWidth() int64

Deprecated: Do not use.

func (*SessionMetadata) GetDevicePhysicalHeight deprecated

func (x *SessionMetadata) GetDevicePhysicalHeight() int64

Deprecated: Do not use.

func (*SessionMetadata) GetDevicePhysicalWidth deprecated

func (x *SessionMetadata) GetDevicePhysicalWidth() int64

Deprecated: Do not use.

func (*SessionMetadata) GetDevicePixelRatio deprecated

func (x *SessionMetadata) GetDevicePixelRatio() float64

Deprecated: Do not use.

func (*SessionMetadata) GetInstallId

func (x *SessionMetadata) GetInstallId() string

func (*SessionMetadata) GetIsDevicePhysical

func (x *SessionMetadata) GetIsDevicePhysical() bool

func (*SessionMetadata) GetManufacturer

func (x *SessionMetadata) GetManufacturer() string

func (*SessionMetadata) GetModel

func (x *SessionMetadata) GetModel() string

func (*SessionMetadata) GetPlatform

func (x *SessionMetadata) GetPlatform() SessionMetadata_Platform

func (*SessionMetadata) GetRecordingProfile

func (x *SessionMetadata) GetRecordingProfile() *RecordingProfile

func (*SessionMetadata) GetReleaseVersion

func (x *SessionMetadata) GetReleaseVersion() string

func (*SessionMetadata) GetSystemVersion

func (x *SessionMetadata) GetSystemVersion() string

func (*SessionMetadata) ProtoMessage

func (*SessionMetadata) ProtoMessage()

func (*SessionMetadata) ProtoReflect

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

func (*SessionMetadata) Reset

func (x *SessionMetadata) Reset()

func (*SessionMetadata) String

func (x *SessionMetadata) String() string

func (*SessionMetadata) Validate

func (m *SessionMetadata) Validate() error

Validate checks the field values on SessionMetadata 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 (*SessionMetadata) ValidateAll

func (m *SessionMetadata) ValidateAll() error

ValidateAll checks the field values on SessionMetadata 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 SessionMetadataMultiError, or nil if none found.

type SessionMetadataMultiError

type SessionMetadataMultiError []error

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

func (SessionMetadataMultiError) AllErrors

func (m SessionMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionMetadataMultiError) Error

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

type SessionMetadataValidationError

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

SessionMetadataValidationError is the validation error returned by SessionMetadata.Validate if the designated constraints aren't met.

func (SessionMetadataValidationError) Cause

Cause function returns cause value.

func (SessionMetadataValidationError) Error

Error satisfies the builtin error interface

func (SessionMetadataValidationError) ErrorName

func (e SessionMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (SessionMetadataValidationError) Field

Field function returns field value.

func (SessionMetadataValidationError) Key

Key function returns key value.

func (SessionMetadataValidationError) Reason

Reason function returns reason value.

type SessionMetadata_Platform

type SessionMetadata_Platform int32

Note: This should be deprecated in favor of common.DevicePlatform

const (
	SessionMetadata_UNKNOWN SessionMetadata_Platform = 0
	SessionMetadata_iOS     SessionMetadata_Platform = 1
	SessionMetadata_ANDROID SessionMetadata_Platform = 2
	SessionMetadata_WEB     SessionMetadata_Platform = 3
)

func (SessionMetadata_Platform) Descriptor

func (SessionMetadata_Platform) Enum

func (SessionMetadata_Platform) EnumDescriptor deprecated

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

Deprecated: Use SessionMetadata_Platform.Descriptor instead.

func (SessionMetadata_Platform) Number

func (SessionMetadata_Platform) String

func (x SessionMetadata_Platform) String() string

func (SessionMetadata_Platform) Type

type SessionMultiError

type SessionMultiError []error

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

func (SessionMultiError) AllErrors

func (m SessionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionMultiError) Error

func (m SessionMultiError) Error() string

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

type SessionValidationError

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

SessionValidationError is the validation error returned by Session.Validate if the designated constraints aren't met.

func (SessionValidationError) Cause

func (e SessionValidationError) Cause() error

Cause function returns cause value.

func (SessionValidationError) Error

func (e SessionValidationError) Error() string

Error satisfies the builtin error interface

func (SessionValidationError) ErrorName

func (e SessionValidationError) ErrorName() string

ErrorName returns error name.

func (SessionValidationError) Field

func (e SessionValidationError) Field() string

Field function returns field value.

func (SessionValidationError) Key

func (e SessionValidationError) Key() bool

Key function returns key value.

func (SessionValidationError) Reason

func (e SessionValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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