Documentation ¶
Index ¶
- Variables
- type DevicePlatform
- func (DevicePlatform) Descriptor() protoreflect.EnumDescriptor
- func (x DevicePlatform) Enum() *DevicePlatform
- func (DevicePlatform) EnumDescriptor() ([]byte, []int)deprecated
- func (x DevicePlatform) Number() protoreflect.EnumNumber
- func (x DevicePlatform) String() string
- func (DevicePlatform) Type() protoreflect.EnumType
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetMessage() string
- func (x *ErrorResponse) GetParam() string
- func (x *ErrorResponse) GetType() string
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
- func (m *ErrorResponse) Validate() error
- func (m *ErrorResponse) ValidateAll() error
- type ErrorResponseMultiError
- type ErrorResponseValidationError
- func (e ErrorResponseValidationError) Cause() error
- func (e ErrorResponseValidationError) Error() string
- func (e ErrorResponseValidationError) ErrorName() string
- func (e ErrorResponseValidationError) Field() string
- func (e ErrorResponseValidationError) Key() bool
- func (e ErrorResponseValidationError) Reason() string
- type SensorType
- type TokenSelfResponse
- func (*TokenSelfResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenSelfResponse) GetAppId() string
- func (x *TokenSelfResponse) GetCredentialId() string
- func (x *TokenSelfResponse) GetProjectId() string
- func (x *TokenSelfResponse) GetScopes() string
- func (x *TokenSelfResponse) GetType() int64
- func (x *TokenSelfResponse) GetUserId() string
- func (*TokenSelfResponse) ProtoMessage()
- func (x *TokenSelfResponse) ProtoReflect() protoreflect.Message
- func (x *TokenSelfResponse) Reset()
- func (x *TokenSelfResponse) String() string
- func (m *TokenSelfResponse) Validate() error
- func (m *TokenSelfResponse) ValidateAll() error
- type TokenSelfResponseMultiError
- type TokenSelfResponseValidationError
- func (e TokenSelfResponseValidationError) Cause() error
- func (e TokenSelfResponseValidationError) Error() string
- func (e TokenSelfResponseValidationError) ErrorName() string
- func (e TokenSelfResponseValidationError) Field() string
- func (e TokenSelfResponseValidationError) Key() bool
- func (e TokenSelfResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( DevicePlatform_name = map[int32]string{ 0: "UNKNOWN", 1: "iOS", 2: "ANDROID", 3: "WEB", } DevicePlatform_value = map[string]int32{ "UNKNOWN": 0, "iOS": 1, "ANDROID": 2, "WEB": 3, } )
Enum value maps for DevicePlatform.
var ( SensorType_name = map[int32]string{ 0: "UNKNOWN_SENSOR", 1: "LOCATION", 2: "ACCELEROMETER", 3: "LINEAR_ACCELEROMETER", 4: "MAGNETOMETER", 5: "GYROSCOPE", 6: "BATTERY", 7: "ORIENTATION", 14: "POINTER", 15: "TEXT_CHANGE", 16: "KEY_PRESS", 17: "FOCUS_CHANGE", 18: "VIEW_SCROLL", 19: "MOUSE_WHEEL", 20: "CLICK", 21: "INPUT_CHANGE", 22: "FORM_SUBMIT", 23: "CONTEXT_MENU", 24: "FRAME_RATE", } SensorType_value = map[string]int32{ "UNKNOWN_SENSOR": 0, "LOCATION": 1, "ACCELEROMETER": 2, "LINEAR_ACCELEROMETER": 3, "MAGNETOMETER": 4, "GYROSCOPE": 5, "BATTERY": 6, "ORIENTATION": 7, "POINTER": 14, "TEXT_CHANGE": 15, "KEY_PRESS": 16, "FOCUS_CHANGE": 17, "VIEW_SCROLL": 18, "MOUSE_WHEEL": 19, "CLICK": 20, "INPUT_CHANGE": 21, "FORM_SUBMIT": 22, "CONTEXT_MENU": 23, "FRAME_RATE": 24, } )
Enum value maps for SensorType.
var File_common_v2_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DevicePlatform ¶
type DevicePlatform int32
============================================================
Enums
============================================================
const ( DevicePlatform_UNKNOWN DevicePlatform = 0 DevicePlatform_iOS DevicePlatform = 1 DevicePlatform_ANDROID DevicePlatform = 2 DevicePlatform_WEB DevicePlatform = 3 )
func (DevicePlatform) Descriptor ¶
func (DevicePlatform) Descriptor() protoreflect.EnumDescriptor
func (DevicePlatform) Enum ¶
func (x DevicePlatform) Enum() *DevicePlatform
func (DevicePlatform) EnumDescriptor
deprecated
func (DevicePlatform) EnumDescriptor() ([]byte, []int)
Deprecated: Use DevicePlatform.Descriptor instead.
func (DevicePlatform) Number ¶
func (x DevicePlatform) Number() protoreflect.EnumNumber
func (DevicePlatform) String ¶
func (x DevicePlatform) String() string
func (DevicePlatform) Type ¶
func (DevicePlatform) Type() protoreflect.EnumType
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
An empty message used as response for any call that does not return a body.
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Validate ¶
Validate checks the field values on Empty 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 (*Empty) ValidateAll ¶
ValidateAll checks the field values on Empty 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 EmptyMultiError, or nil if none found.
type EmptyMultiError ¶
type EmptyMultiError []error
EmptyMultiError is an error wrapping multiple validation errors returned by Empty.ValidateAll() if the designated constraints aren't met.
func (EmptyMultiError) AllErrors ¶
func (m EmptyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyMultiError) Error ¶
func (m EmptyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type ErrorResponse ¶
type ErrorResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Param string `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Returned for a response that has failed in some manner. This is used for almost all errors including messages that return a 400, 401, 403, 404, and 500
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetMessage ¶
func (x *ErrorResponse) GetMessage() string
func (*ErrorResponse) GetParam ¶
func (x *ErrorResponse) GetParam() string
func (*ErrorResponse) GetType ¶
func (x *ErrorResponse) GetType() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
func (*ErrorResponse) Validate ¶
func (m *ErrorResponse) Validate() error
Validate checks the field values on ErrorResponse 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 (*ErrorResponse) ValidateAll ¶
func (m *ErrorResponse) ValidateAll() error
ValidateAll checks the field values on ErrorResponse 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 ErrorResponseMultiError, or nil if none found.
type ErrorResponseMultiError ¶
type ErrorResponseMultiError []error
ErrorResponseMultiError is an error wrapping multiple validation errors returned by ErrorResponse.ValidateAll() if the designated constraints aren't met.
func (ErrorResponseMultiError) AllErrors ¶
func (m ErrorResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorResponseMultiError) Error ¶
func (m ErrorResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorResponseValidationError ¶
type ErrorResponseValidationError struct {
// contains filtered or unexported fields
}
ErrorResponseValidationError is the validation error returned by ErrorResponse.Validate if the designated constraints aren't met.
func (ErrorResponseValidationError) Cause ¶
func (e ErrorResponseValidationError) Cause() error
Cause function returns cause value.
func (ErrorResponseValidationError) Error ¶
func (e ErrorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorResponseValidationError) ErrorName ¶
func (e ErrorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorResponseValidationError) Field ¶
func (e ErrorResponseValidationError) Field() string
Field function returns field value.
func (ErrorResponseValidationError) Key ¶
func (e ErrorResponseValidationError) Key() bool
Key function returns key value.
func (ErrorResponseValidationError) Reason ¶
func (e ErrorResponseValidationError) Reason() string
Reason function returns reason value.
type SensorType ¶
type SensorType int32
A list of possible sensor types that can be passed to the config. All sensor types may not be available in the SDK. For SDK configuration, follow the SDK documentation for which sensors are available.
const ( SensorType_UNKNOWN_SENSOR SensorType = 0 SensorType_LOCATION SensorType = 1 SensorType_ACCELEROMETER SensorType = 2 SensorType_LINEAR_ACCELEROMETER SensorType = 3 SensorType_MAGNETOMETER SensorType = 4 SensorType_GYROSCOPE SensorType = 5 SensorType_BATTERY SensorType = 6 SensorType_ORIENTATION SensorType = 7 SensorType_POINTER SensorType = 14 // Deprecated: Do not use. SensorType_TEXT_CHANGE SensorType = 15 SensorType_KEY_PRESS SensorType = 16 SensorType_FOCUS_CHANGE SensorType = 17 SensorType_VIEW_SCROLL SensorType = 18 SensorType_MOUSE_WHEEL SensorType = 19 SensorType_CLICK SensorType = 20 SensorType_INPUT_CHANGE SensorType = 21 SensorType_FORM_SUBMIT SensorType = 22 SensorType_CONTEXT_MENU SensorType = 23 SensorType_FRAME_RATE SensorType = 24 )
func (SensorType) Descriptor ¶
func (SensorType) Descriptor() protoreflect.EnumDescriptor
func (SensorType) Enum ¶
func (x SensorType) Enum() *SensorType
func (SensorType) EnumDescriptor
deprecated
func (SensorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorType.Descriptor instead.
func (SensorType) Number ¶
func (x SensorType) Number() protoreflect.EnumNumber
func (SensorType) String ¶
func (x SensorType) String() string
func (SensorType) Type ¶
func (SensorType) Type() protoreflect.EnumType
type TokenSelfResponse ¶
type TokenSelfResponse 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"` Scopes string `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CredentialId string `protobuf:"bytes,5,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"` Type int64 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
The response to a GET "token/self" request
func (*TokenSelfResponse) Descriptor
deprecated
func (*TokenSelfResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenSelfResponse.ProtoReflect.Descriptor instead.
func (*TokenSelfResponse) GetAppId ¶
func (x *TokenSelfResponse) GetAppId() string
func (*TokenSelfResponse) GetCredentialId ¶
func (x *TokenSelfResponse) GetCredentialId() string
func (*TokenSelfResponse) GetProjectId ¶
func (x *TokenSelfResponse) GetProjectId() string
func (*TokenSelfResponse) GetScopes ¶
func (x *TokenSelfResponse) GetScopes() string
func (*TokenSelfResponse) GetType ¶
func (x *TokenSelfResponse) GetType() int64
func (*TokenSelfResponse) GetUserId ¶
func (x *TokenSelfResponse) GetUserId() string
func (*TokenSelfResponse) ProtoMessage ¶
func (*TokenSelfResponse) ProtoMessage()
func (*TokenSelfResponse) ProtoReflect ¶
func (x *TokenSelfResponse) ProtoReflect() protoreflect.Message
func (*TokenSelfResponse) Reset ¶
func (x *TokenSelfResponse) Reset()
func (*TokenSelfResponse) String ¶
func (x *TokenSelfResponse) String() string
func (*TokenSelfResponse) Validate ¶
func (m *TokenSelfResponse) Validate() error
Validate checks the field values on TokenSelfResponse 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 (*TokenSelfResponse) ValidateAll ¶
func (m *TokenSelfResponse) ValidateAll() error
ValidateAll checks the field values on TokenSelfResponse 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 TokenSelfResponseMultiError, or nil if none found.
type TokenSelfResponseMultiError ¶
type TokenSelfResponseMultiError []error
TokenSelfResponseMultiError is an error wrapping multiple validation errors returned by TokenSelfResponse.ValidateAll() if the designated constraints aren't met.
func (TokenSelfResponseMultiError) AllErrors ¶
func (m TokenSelfResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenSelfResponseMultiError) Error ¶
func (m TokenSelfResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenSelfResponseValidationError ¶
type TokenSelfResponseValidationError struct {
// contains filtered or unexported fields
}
TokenSelfResponseValidationError is the validation error returned by TokenSelfResponse.Validate if the designated constraints aren't met.
func (TokenSelfResponseValidationError) Cause ¶
func (e TokenSelfResponseValidationError) Cause() error
Cause function returns cause value.
func (TokenSelfResponseValidationError) Error ¶
func (e TokenSelfResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TokenSelfResponseValidationError) ErrorName ¶
func (e TokenSelfResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TokenSelfResponseValidationError) Field ¶
func (e TokenSelfResponseValidationError) Field() string
Field function returns field value.
func (TokenSelfResponseValidationError) Key ¶
func (e TokenSelfResponseValidationError) Key() bool
Key function returns key value.
func (TokenSelfResponseValidationError) Reason ¶
func (e TokenSelfResponseValidationError) Reason() string
Reason function returns reason value.