commonpb

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 19 Imported by: 46

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Platform_name = map[int32]string{
		0: "UNKNOWN",
		1: "APPLE",
		2: "GOOGLE",
	}
	Platform_value = map[string]int32{
		"UNKNOWN": 0,
		"APPLE":   1,
		"GOOGLE":  2,
	}
)

Enum value maps for Platform.

View Source
var (
	QueryOptions_Order_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	QueryOptions_Order_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for QueryOptions_Order.

View Source
var File_common_v1_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AppInstallId

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

AppInstallId is a unque ID tied to a client app installation. It does not identify a device. Value should remain private and not be shared across installs.

func (*AppInstallId) Descriptor deprecated

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

Deprecated: Use AppInstallId.ProtoReflect.Descriptor instead.

func (*AppInstallId) GetValue

func (x *AppInstallId) GetValue() string

func (*AppInstallId) ProtoMessage

func (*AppInstallId) ProtoMessage()

func (*AppInstallId) ProtoReflect

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

func (*AppInstallId) Reset

func (x *AppInstallId) Reset()

func (*AppInstallId) String

func (x *AppInstallId) String() string

func (*AppInstallId) Validate

func (m *AppInstallId) Validate() error

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

func (m *AppInstallId) ValidateAll() error

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

type AppInstallIdMultiError

type AppInstallIdMultiError []error

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

func (AppInstallIdMultiError) AllErrors

func (m AppInstallIdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppInstallIdMultiError) Error

func (m AppInstallIdMultiError) Error() string

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

type AppInstallIdValidationError

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

AppInstallIdValidationError is the validation error returned by AppInstallId.Validate if the designated constraints aren't met.

func (AppInstallIdValidationError) Cause

Cause function returns cause value.

func (AppInstallIdValidationError) Error

Error satisfies the builtin error interface

func (AppInstallIdValidationError) ErrorName

func (e AppInstallIdValidationError) ErrorName() string

ErrorName returns error name.

func (AppInstallIdValidationError) Field

Field function returns field value.

func (AppInstallIdValidationError) Key

Key function returns key value.

func (AppInstallIdValidationError) Reason

Reason function returns reason value.

type Auth

type Auth struct {

	// Types that are assignable to Kind:
	//
	//	*Auth_KeyPair_
	Kind isAuth_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Auth provides an authentication information for RPCs/messages.

Currently, only a single form is supported, but it may be useful in the future to rely on session tokens instead.

func (*Auth) Descriptor deprecated

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetKeyPair

func (x *Auth) GetKeyPair() *Auth_KeyPair

func (*Auth) GetKind

func (m *Auth) GetKind() isAuth_Kind

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

func (*Auth) Validate

func (m *Auth) Validate() error

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

func (m *Auth) ValidateAll() error

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

type AuthMultiError

type AuthMultiError []error

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

func (AuthMultiError) AllErrors

func (m AuthMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthMultiError) Error

func (m AuthMultiError) Error() string

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

type AuthValidationError

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

AuthValidationError is the validation error returned by Auth.Validate if the designated constraints aren't met.

func (AuthValidationError) Cause

func (e AuthValidationError) Cause() error

Cause function returns cause value.

func (AuthValidationError) Error

func (e AuthValidationError) Error() string

Error satisfies the builtin error interface

func (AuthValidationError) ErrorName

func (e AuthValidationError) ErrorName() string

ErrorName returns error name.

func (AuthValidationError) Field

func (e AuthValidationError) Field() string

Field function returns field value.

func (AuthValidationError) Key

func (e AuthValidationError) Key() bool

Key function returns key value.

func (AuthValidationError) Reason

func (e AuthValidationError) Reason() string

Reason function returns reason value.

type Auth_KeyPair

type Auth_KeyPair struct {
	PubKey    *PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

KeyPair uses a keypair to verify a message.

The signature should be of the encapsulating proto message, _without_ the Auth section being set.

func (*Auth_KeyPair) Descriptor deprecated

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

Deprecated: Use Auth_KeyPair.ProtoReflect.Descriptor instead.

func (*Auth_KeyPair) GetPubKey

func (x *Auth_KeyPair) GetPubKey() *PublicKey

func (*Auth_KeyPair) GetSignature

func (x *Auth_KeyPair) GetSignature() *Signature

func (*Auth_KeyPair) ProtoMessage

func (*Auth_KeyPair) ProtoMessage()

func (*Auth_KeyPair) ProtoReflect

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

func (*Auth_KeyPair) Reset

func (x *Auth_KeyPair) Reset()

func (*Auth_KeyPair) String

func (x *Auth_KeyPair) String() string

func (*Auth_KeyPair) Validate

func (m *Auth_KeyPair) Validate() error

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

func (m *Auth_KeyPair) ValidateAll() error

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

type Auth_KeyPairMultiError

type Auth_KeyPairMultiError []error

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

func (Auth_KeyPairMultiError) AllErrors

func (m Auth_KeyPairMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Auth_KeyPairMultiError) Error

func (m Auth_KeyPairMultiError) Error() string

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

type Auth_KeyPairValidationError

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

Auth_KeyPairValidationError is the validation error returned by Auth_KeyPair.Validate if the designated constraints aren't met.

func (Auth_KeyPairValidationError) Cause

Cause function returns cause value.

func (Auth_KeyPairValidationError) Error

Error satisfies the builtin error interface

func (Auth_KeyPairValidationError) ErrorName

func (e Auth_KeyPairValidationError) ErrorName() string

ErrorName returns error name.

func (Auth_KeyPairValidationError) Field

Field function returns field value.

func (Auth_KeyPairValidationError) Key

Key function returns key value.

func (Auth_KeyPairValidationError) Reason

Reason function returns reason value.

type Auth_KeyPair_

type Auth_KeyPair_ struct {
	// KeyPair uses pub key cryptography to verify.
	KeyPair *Auth_KeyPair `protobuf:"bytes,1,opt,name=key_pair,json=keyPair,proto3,oneof"`
}

type ChatId

type ChatId struct {

	// Sufficient space is left for a consistent hash value, though other types
	// of values may be used.
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatId) Descriptor deprecated

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

Deprecated: Use ChatId.ProtoReflect.Descriptor instead.

func (*ChatId) GetValue

func (x *ChatId) GetValue() []byte

func (*ChatId) ProtoMessage

func (*ChatId) ProtoMessage()

func (*ChatId) ProtoReflect

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

func (*ChatId) Reset

func (x *ChatId) Reset()

func (*ChatId) String

func (x *ChatId) String() string

func (*ChatId) Validate

func (m *ChatId) Validate() error

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

func (m *ChatId) ValidateAll() error

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

type ChatIdMultiError

type ChatIdMultiError []error

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

func (ChatIdMultiError) AllErrors

func (m ChatIdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChatIdMultiError) Error

func (m ChatIdMultiError) Error() string

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

type ChatIdValidationError

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

ChatIdValidationError is the validation error returned by ChatId.Validate if the designated constraints aren't met.

func (ChatIdValidationError) Cause

func (e ChatIdValidationError) Cause() error

Cause function returns cause value.

func (ChatIdValidationError) Error

func (e ChatIdValidationError) Error() string

Error satisfies the builtin error interface

func (ChatIdValidationError) ErrorName

func (e ChatIdValidationError) ErrorName() string

ErrorName returns error name.

func (ChatIdValidationError) Field

func (e ChatIdValidationError) Field() string

Field function returns field value.

func (ChatIdValidationError) Key

func (e ChatIdValidationError) Key() bool

Key function returns key value.

func (ChatIdValidationError) Reason

func (e ChatIdValidationError) Reason() string

Reason function returns reason value.

type ClientPong

type ClientPong struct {

	// Timestamp the Pong was sent on the stream, for server to get a sense
	// of potential network latency
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientPong) Descriptor deprecated

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

Deprecated: Use ClientPong.ProtoReflect.Descriptor instead.

func (*ClientPong) GetTimestamp

func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp

func (*ClientPong) ProtoMessage

func (*ClientPong) ProtoMessage()

func (*ClientPong) ProtoReflect

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

func (*ClientPong) Reset

func (x *ClientPong) Reset()

func (*ClientPong) String

func (x *ClientPong) String() string

func (*ClientPong) Validate

func (m *ClientPong) Validate() error

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

func (m *ClientPong) ValidateAll() error

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

type ClientPongMultiError

type ClientPongMultiError []error

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

func (ClientPongMultiError) AllErrors

func (m ClientPongMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClientPongMultiError) Error

func (m ClientPongMultiError) Error() string

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

type ClientPongValidationError

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

ClientPongValidationError is the validation error returned by ClientPong.Validate if the designated constraints aren't met.

func (ClientPongValidationError) Cause

func (e ClientPongValidationError) Cause() error

Cause function returns cause value.

func (ClientPongValidationError) Error

Error satisfies the builtin error interface

func (ClientPongValidationError) ErrorName

func (e ClientPongValidationError) ErrorName() string

ErrorName returns error name.

func (ClientPongValidationError) Field

Field function returns field value.

func (ClientPongValidationError) Key

Key function returns key value.

func (ClientPongValidationError) Reason

func (e ClientPongValidationError) Reason() string

Reason function returns reason value.

type IntentId

type IntentId struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*IntentId) Descriptor deprecated

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

Deprecated: Use IntentId.ProtoReflect.Descriptor instead.

func (*IntentId) GetValue

func (x *IntentId) GetValue() []byte

func (*IntentId) ProtoMessage

func (*IntentId) ProtoMessage()

func (*IntentId) ProtoReflect

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

func (*IntentId) Reset

func (x *IntentId) Reset()

func (*IntentId) String

func (x *IntentId) String() string

func (*IntentId) Validate

func (m *IntentId) Validate() error

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

func (m *IntentId) ValidateAll() error

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

type IntentIdMultiError

type IntentIdMultiError []error

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

func (IntentIdMultiError) AllErrors

func (m IntentIdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IntentIdMultiError) Error

func (m IntentIdMultiError) Error() string

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

type IntentIdValidationError

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

IntentIdValidationError is the validation error returned by IntentId.Validate if the designated constraints aren't met.

func (IntentIdValidationError) Cause

func (e IntentIdValidationError) Cause() error

Cause function returns cause value.

func (IntentIdValidationError) Error

func (e IntentIdValidationError) Error() string

Error satisfies the builtin error interface

func (IntentIdValidationError) ErrorName

func (e IntentIdValidationError) ErrorName() string

ErrorName returns error name.

func (IntentIdValidationError) Field

func (e IntentIdValidationError) Field() string

Field function returns field value.

func (IntentIdValidationError) Key

func (e IntentIdValidationError) Key() bool

Key function returns key value.

func (IntentIdValidationError) Reason

func (e IntentIdValidationError) Reason() string

Reason function returns reason value.

type Locale

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

Locale is a user locale consisting of a combination of language, script and region

func (*Locale) Descriptor deprecated

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

Deprecated: Use Locale.ProtoReflect.Descriptor instead.

func (*Locale) GetValue

func (x *Locale) GetValue() string

func (*Locale) ProtoMessage

func (*Locale) ProtoMessage()

func (*Locale) ProtoReflect

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

func (*Locale) Reset

func (x *Locale) Reset()

func (*Locale) String

func (x *Locale) String() string

func (*Locale) Validate

func (m *Locale) Validate() error

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

func (m *Locale) ValidateAll() error

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

type LocaleMultiError

type LocaleMultiError []error

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

func (LocaleMultiError) AllErrors

func (m LocaleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocaleMultiError) Error

func (m LocaleMultiError) Error() string

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

type LocaleValidationError

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

LocaleValidationError is the validation error returned by Locale.Validate if the designated constraints aren't met.

func (LocaleValidationError) Cause

func (e LocaleValidationError) Cause() error

Cause function returns cause value.

func (LocaleValidationError) Error

func (e LocaleValidationError) Error() string

Error satisfies the builtin error interface

func (LocaleValidationError) ErrorName

func (e LocaleValidationError) ErrorName() string

ErrorName returns error name.

func (LocaleValidationError) Field

func (e LocaleValidationError) Field() string

Field function returns field value.

func (LocaleValidationError) Key

func (e LocaleValidationError) Key() bool

Key function returns key value.

func (LocaleValidationError) Reason

func (e LocaleValidationError) Reason() string

Reason function returns reason value.

type PagingToken

type PagingToken struct {

	// Value contains a value of an identifier of the collection in common.
	//
	// For example, GetChats uses the ChatId.Value, where GetMessages uses MessageId.Value
	// as the contents. It does _not_ contain the serialized ChatId or MessageId.
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PagingToken) Descriptor deprecated

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

Deprecated: Use PagingToken.ProtoReflect.Descriptor instead.

func (*PagingToken) GetValue

func (x *PagingToken) GetValue() []byte

func (*PagingToken) ProtoMessage

func (*PagingToken) ProtoMessage()

func (*PagingToken) ProtoReflect

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

func (*PagingToken) Reset

func (x *PagingToken) Reset()

func (*PagingToken) String

func (x *PagingToken) String() string

func (*PagingToken) Validate

func (m *PagingToken) Validate() error

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

func (m *PagingToken) ValidateAll() error

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

type PagingTokenMultiError

type PagingTokenMultiError []error

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

func (PagingTokenMultiError) AllErrors

func (m PagingTokenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PagingTokenMultiError) Error

func (m PagingTokenMultiError) Error() string

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

type PagingTokenValidationError

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

PagingTokenValidationError is the validation error returned by PagingToken.Validate if the designated constraints aren't met.

func (PagingTokenValidationError) Cause

Cause function returns cause value.

func (PagingTokenValidationError) Error

Error satisfies the builtin error interface

func (PagingTokenValidationError) ErrorName

func (e PagingTokenValidationError) ErrorName() string

ErrorName returns error name.

func (PagingTokenValidationError) Field

Field function returns field value.

func (PagingTokenValidationError) Key

Key function returns key value.

func (PagingTokenValidationError) Reason

Reason function returns reason value.

type PaymentAmount

type PaymentAmount struct {
	Quarks uint64 `protobuf:"varint,1,opt,name=quarks,proto3" json:"quarks,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentAmount) Descriptor deprecated

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

Deprecated: Use PaymentAmount.ProtoReflect.Descriptor instead.

func (*PaymentAmount) GetQuarks

func (x *PaymentAmount) GetQuarks() uint64

func (*PaymentAmount) ProtoMessage

func (*PaymentAmount) ProtoMessage()

func (*PaymentAmount) ProtoReflect

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

func (*PaymentAmount) Reset

func (x *PaymentAmount) Reset()

func (*PaymentAmount) String

func (x *PaymentAmount) String() string

func (*PaymentAmount) Validate

func (m *PaymentAmount) Validate() error

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

func (m *PaymentAmount) ValidateAll() error

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

type PaymentAmountMultiError

type PaymentAmountMultiError []error

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

func (PaymentAmountMultiError) AllErrors

func (m PaymentAmountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PaymentAmountMultiError) Error

func (m PaymentAmountMultiError) Error() string

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

type PaymentAmountValidationError

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

PaymentAmountValidationError is the validation error returned by PaymentAmount.Validate if the designated constraints aren't met.

func (PaymentAmountValidationError) Cause

Cause function returns cause value.

func (PaymentAmountValidationError) Error

Error satisfies the builtin error interface

func (PaymentAmountValidationError) ErrorName

func (e PaymentAmountValidationError) ErrorName() string

ErrorName returns error name.

func (PaymentAmountValidationError) Field

Field function returns field value.

func (PaymentAmountValidationError) Key

Key function returns key value.

func (PaymentAmountValidationError) Reason

Reason function returns reason value.

type Platform

type Platform int32
const (
	Platform_UNKNOWN Platform = 0
	Platform_APPLE   Platform = 1
	Platform_GOOGLE  Platform = 2
)

func (Platform) Descriptor

func (Platform) Descriptor() protoreflect.EnumDescriptor

func (Platform) Enum

func (x Platform) Enum() *Platform

func (Platform) EnumDescriptor deprecated

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

Deprecated: Use Platform.Descriptor instead.

func (Platform) Number

func (x Platform) Number() protoreflect.EnumNumber

func (Platform) String

func (x Platform) String() string

func (Platform) Type

type PublicKey

type PublicKey struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicKey) Descriptor deprecated

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

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetValue

func (x *PublicKey) GetValue() []byte

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

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

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

func (*PublicKey) Validate

func (m *PublicKey) Validate() error

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

func (m *PublicKey) ValidateAll() error

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

type PublicKeyMultiError

type PublicKeyMultiError []error

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

func (PublicKeyMultiError) AllErrors

func (m PublicKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublicKeyMultiError) Error

func (m PublicKeyMultiError) Error() string

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

type PublicKeyValidationError

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

PublicKeyValidationError is the validation error returned by PublicKey.Validate if the designated constraints aren't met.

func (PublicKeyValidationError) Cause

func (e PublicKeyValidationError) Cause() error

Cause function returns cause value.

func (PublicKeyValidationError) Error

func (e PublicKeyValidationError) Error() string

Error satisfies the builtin error interface

func (PublicKeyValidationError) ErrorName

func (e PublicKeyValidationError) ErrorName() string

ErrorName returns error name.

func (PublicKeyValidationError) Field

func (e PublicKeyValidationError) Field() string

Field function returns field value.

func (PublicKeyValidationError) Key

Key function returns key value.

func (PublicKeyValidationError) Reason

func (e PublicKeyValidationError) Reason() string

Reason function returns reason value.

type QueryOptions

type QueryOptions struct {

	// PageSize limits the maximum page size of a response.
	//
	// Server may choose to return less items. If empty, server
	// may select an arbitrary page size.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// PagingToken is token that can be extracted from the identifier of a collection.
	PagingToken *PagingToken `protobuf:"bytes,2,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
	// Order is the order of elements, if applicable.
	Order QueryOptions_Order `protobuf:"varint,3,opt,name=order,proto3,enum=flipchat.common.v1.QueryOptions_Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryOptions) Descriptor deprecated

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

Deprecated: Use QueryOptions.ProtoReflect.Descriptor instead.

func (*QueryOptions) GetOrder

func (x *QueryOptions) GetOrder() QueryOptions_Order

func (*QueryOptions) GetPageSize

func (x *QueryOptions) GetPageSize() int64

func (*QueryOptions) GetPagingToken

func (x *QueryOptions) GetPagingToken() *PagingToken

func (*QueryOptions) ProtoMessage

func (*QueryOptions) ProtoMessage()

func (*QueryOptions) ProtoReflect

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

func (*QueryOptions) Reset

func (x *QueryOptions) Reset()

func (*QueryOptions) String

func (x *QueryOptions) String() string

func (*QueryOptions) Validate

func (m *QueryOptions) Validate() error

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

func (m *QueryOptions) ValidateAll() error

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

type QueryOptionsMultiError

type QueryOptionsMultiError []error

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

func (QueryOptionsMultiError) AllErrors

func (m QueryOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryOptionsMultiError) Error

func (m QueryOptionsMultiError) Error() string

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

type QueryOptionsValidationError

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

QueryOptionsValidationError is the validation error returned by QueryOptions.Validate if the designated constraints aren't met.

func (QueryOptionsValidationError) Cause

Cause function returns cause value.

func (QueryOptionsValidationError) Error

Error satisfies the builtin error interface

func (QueryOptionsValidationError) ErrorName

func (e QueryOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (QueryOptionsValidationError) Field

Field function returns field value.

func (QueryOptionsValidationError) Key

Key function returns key value.

func (QueryOptionsValidationError) Reason

Reason function returns reason value.

type QueryOptions_Order

type QueryOptions_Order int32
const (
	QueryOptions_ASC  QueryOptions_Order = 0
	QueryOptions_DESC QueryOptions_Order = 1
)

func (QueryOptions_Order) Descriptor

func (QueryOptions_Order) Enum

func (QueryOptions_Order) EnumDescriptor deprecated

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

Deprecated: Use QueryOptions_Order.Descriptor instead.

func (QueryOptions_Order) Number

func (QueryOptions_Order) String

func (x QueryOptions_Order) String() string

func (QueryOptions_Order) Type

type ServerPing

type ServerPing struct {

	// Timestamp the ping was sent on the stream, for client to get a sense
	// of potential network latency
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The delay server will apply before sending the next ping
	PingDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=ping_delay,json=pingDelay,proto3" json:"ping_delay,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerPing) Descriptor deprecated

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

Deprecated: Use ServerPing.ProtoReflect.Descriptor instead.

func (*ServerPing) GetPingDelay

func (x *ServerPing) GetPingDelay() *durationpb.Duration

func (*ServerPing) GetTimestamp

func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp

func (*ServerPing) ProtoMessage

func (*ServerPing) ProtoMessage()

func (*ServerPing) ProtoReflect

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

func (*ServerPing) Reset

func (x *ServerPing) Reset()

func (*ServerPing) String

func (x *ServerPing) String() string

func (*ServerPing) Validate

func (m *ServerPing) Validate() error

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

func (m *ServerPing) ValidateAll() error

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

type ServerPingMultiError

type ServerPingMultiError []error

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

func (ServerPingMultiError) AllErrors

func (m ServerPingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServerPingMultiError) Error

func (m ServerPingMultiError) Error() string

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

type ServerPingValidationError

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

ServerPingValidationError is the validation error returned by ServerPing.Validate if the designated constraints aren't met.

func (ServerPingValidationError) Cause

func (e ServerPingValidationError) Cause() error

Cause function returns cause value.

func (ServerPingValidationError) Error

Error satisfies the builtin error interface

func (ServerPingValidationError) ErrorName

func (e ServerPingValidationError) ErrorName() string

ErrorName returns error name.

func (ServerPingValidationError) Field

Field function returns field value.

func (ServerPingValidationError) Key

Key function returns key value.

func (ServerPingValidationError) Reason

func (e ServerPingValidationError) Reason() string

Reason function returns reason value.

type Signature

type Signature struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Signature) Descriptor deprecated

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

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetValue

func (x *Signature) GetValue() []byte

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

func (*Signature) Validate

func (m *Signature) Validate() error

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

func (m *Signature) ValidateAll() error

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

type SignatureMultiError

type SignatureMultiError []error

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

func (SignatureMultiError) AllErrors

func (m SignatureMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignatureMultiError) Error

func (m SignatureMultiError) Error() string

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

type SignatureValidationError

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

SignatureValidationError is the validation error returned by Signature.Validate if the designated constraints aren't met.

func (SignatureValidationError) Cause

func (e SignatureValidationError) Cause() error

Cause function returns cause value.

func (SignatureValidationError) Error

func (e SignatureValidationError) Error() string

Error satisfies the builtin error interface

func (SignatureValidationError) ErrorName

func (e SignatureValidationError) ErrorName() string

ErrorName returns error name.

func (SignatureValidationError) Field

func (e SignatureValidationError) Field() string

Field function returns field value.

func (SignatureValidationError) Key

Key function returns key value.

func (SignatureValidationError) Reason

func (e SignatureValidationError) Reason() string

Reason function returns reason value.

type UserId

type UserId struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UserId) Descriptor deprecated

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

Deprecated: Use UserId.ProtoReflect.Descriptor instead.

func (*UserId) GetValue

func (x *UserId) GetValue() []byte

func (*UserId) ProtoMessage

func (*UserId) ProtoMessage()

func (*UserId) ProtoReflect

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

func (*UserId) Reset

func (x *UserId) Reset()

func (*UserId) String

func (x *UserId) String() string

func (*UserId) Validate

func (m *UserId) Validate() error

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

func (m *UserId) ValidateAll() error

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

type UserIdMultiError

type UserIdMultiError []error

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

func (UserIdMultiError) AllErrors

func (m UserIdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserIdMultiError) Error

func (m UserIdMultiError) Error() string

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

type UserIdValidationError

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

UserIdValidationError is the validation error returned by UserId.Validate if the designated constraints aren't met.

func (UserIdValidationError) Cause

func (e UserIdValidationError) Cause() error

Cause function returns cause value.

func (UserIdValidationError) Error

func (e UserIdValidationError) Error() string

Error satisfies the builtin error interface

func (UserIdValidationError) ErrorName

func (e UserIdValidationError) ErrorName() string

ErrorName returns error name.

func (UserIdValidationError) Field

func (e UserIdValidationError) Field() string

Field function returns field value.

func (UserIdValidationError) Key

func (e UserIdValidationError) Key() bool

Key function returns key value.

func (UserIdValidationError) Reason

func (e UserIdValidationError) 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