Documentation ¶
Index ¶
- Variables
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type AppInstallId
- func (*AppInstallId) Descriptor() ([]byte, []int)deprecated
- func (x *AppInstallId) GetValue() string
- func (*AppInstallId) ProtoMessage()
- func (x *AppInstallId) ProtoReflect() protoreflect.Message
- func (x *AppInstallId) Reset()
- func (x *AppInstallId) String() string
- func (m *AppInstallId) Validate() error
- type AppInstallIdValidationError
- func (e AppInstallIdValidationError) Cause() error
- func (e AppInstallIdValidationError) Error() string
- func (e AppInstallIdValidationError) ErrorName() string
- func (e AppInstallIdValidationError) Field() string
- func (e AppInstallIdValidationError) Key() bool
- func (e AppInstallIdValidationError) Reason() string
- type Blockhash
- type BlockhashValidationError
- type DataContainerId
- func (*DataContainerId) Descriptor() ([]byte, []int)deprecated
- func (x *DataContainerId) GetValue() []byte
- func (*DataContainerId) ProtoMessage()
- func (x *DataContainerId) ProtoReflect() protoreflect.Message
- func (x *DataContainerId) Reset()
- func (x *DataContainerId) String() string
- func (m *DataContainerId) Validate() error
- type DataContainerIdValidationError
- func (e DataContainerIdValidationError) Cause() error
- func (e DataContainerIdValidationError) Error() string
- func (e DataContainerIdValidationError) ErrorName() string
- func (e DataContainerIdValidationError) Field() string
- func (e DataContainerIdValidationError) Key() bool
- func (e DataContainerIdValidationError) Reason() string
- type DeviceToken
- type DeviceTokenValidationError
- func (e DeviceTokenValidationError) Cause() error
- func (e DeviceTokenValidationError) Error() string
- func (e DeviceTokenValidationError) ErrorName() string
- func (e DeviceTokenValidationError) Field() string
- func (e DeviceTokenValidationError) Key() bool
- func (e DeviceTokenValidationError) Reason() string
- type Domain
- type DomainValidationError
- type Hash
- type HashValidationError
- type InstructionAccount
- func (*InstructionAccount) Descriptor() ([]byte, []int)deprecated
- func (x *InstructionAccount) GetAccount() *SolanaAccountId
- func (x *InstructionAccount) GetIsSigner() bool
- func (x *InstructionAccount) GetIsWritable() bool
- func (*InstructionAccount) ProtoMessage()
- func (x *InstructionAccount) ProtoReflect() protoreflect.Message
- func (x *InstructionAccount) Reset()
- func (x *InstructionAccount) String() string
- func (m *InstructionAccount) Validate() error
- type InstructionAccountValidationError
- func (e InstructionAccountValidationError) Cause() error
- func (e InstructionAccountValidationError) Error() string
- func (e InstructionAccountValidationError) ErrorName() string
- func (e InstructionAccountValidationError) Field() string
- func (e InstructionAccountValidationError) Key() bool
- func (e InstructionAccountValidationError) Reason() string
- type IntentId
- type IntentIdValidationError
- type PhoneNumber
- type PhoneNumberValidationError
- func (e PhoneNumberValidationError) Cause() error
- func (e PhoneNumberValidationError) Error() string
- func (e PhoneNumberValidationError) ErrorName() string
- func (e PhoneNumberValidationError) Field() string
- func (e PhoneNumberValidationError) Key() bool
- func (e PhoneNumberValidationError) Reason() string
- type Relationship
- func (*Relationship) Descriptor() ([]byte, []int)deprecated
- func (x *Relationship) GetDomain() *Domain
- func (m *Relationship) GetType() isRelationship_Type
- func (*Relationship) ProtoMessage()
- func (x *Relationship) ProtoReflect() protoreflect.Message
- func (x *Relationship) Reset()
- func (x *Relationship) String() string
- func (m *Relationship) Validate() error
- type RelationshipValidationError
- func (e RelationshipValidationError) Cause() error
- func (e RelationshipValidationError) Error() string
- func (e RelationshipValidationError) ErrorName() string
- func (e RelationshipValidationError) Field() string
- func (e RelationshipValidationError) Key() bool
- func (e RelationshipValidationError) Reason() string
- type Relationship_Domain
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetBody() []byte
- func (x *Request) GetMethod() string
- func (x *Request) GetService() string
- func (x *Request) GetVersion() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (m *Request) Validate() error
- type RequestValidationError
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBody() []byte
- func (x *Response) GetMessage() string
- func (x *Response) GetResult() Response_Result
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- func (m *Response) Validate() error
- type ResponseValidationError
- type Response_Result
- func (Response_Result) Descriptor() protoreflect.EnumDescriptor
- func (x Response_Result) Enum() *Response_Result
- func (Response_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x Response_Result) Number() protoreflect.EnumNumber
- func (x Response_Result) String() string
- func (Response_Result) Type() protoreflect.EnumType
- type Signature
- type SignatureValidationError
- type SolanaAccountId
- func (*SolanaAccountId) Descriptor() ([]byte, []int)deprecated
- func (x *SolanaAccountId) GetValue() []byte
- func (*SolanaAccountId) ProtoMessage()
- func (x *SolanaAccountId) ProtoReflect() protoreflect.Message
- func (x *SolanaAccountId) Reset()
- func (x *SolanaAccountId) String() string
- func (m *SolanaAccountId) Validate() error
- type SolanaAccountIdValidationError
- func (e SolanaAccountIdValidationError) Cause() error
- func (e SolanaAccountIdValidationError) Error() string
- func (e SolanaAccountIdValidationError) ErrorName() string
- func (e SolanaAccountIdValidationError) Field() string
- func (e SolanaAccountIdValidationError) Key() bool
- func (e SolanaAccountIdValidationError) Reason() string
- type Transaction
- type TransactionValidationError
- func (e TransactionValidationError) Cause() error
- func (e TransactionValidationError) Error() string
- func (e TransactionValidationError) ErrorName() string
- func (e TransactionValidationError) Field() string
- func (e TransactionValidationError) Key() bool
- func (e TransactionValidationError) Reason() string
- type UUID
- type UUIDValidationError
- type UserId
- type UserIdValidationError
Constants ¶
This section is empty.
Variables ¶
var ( AccountType_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIMARY", 2: "TEMPORARY_INCOMING", 3: "TEMPORARY_OUTGOING", 4: "BUCKET_1_KIN", 5: "BUCKET_10_KIN", 6: "BUCKET_100_KIN", 7: "BUCKET_1_000_KIN", 8: "BUCKET_10_000_KIN", 9: "BUCKET_100_000_KIN", 10: "BUCKET_1_000_000_KIN", 11: "LEGACY_PRIMARY_2022", 12: "REMOTE_SEND_GIFT_CARD", 13: "RELATIONSHIP", 14: "SWAP", } AccountType_value = map[string]int32{ "UNKNOWN": 0, "PRIMARY": 1, "TEMPORARY_INCOMING": 2, "TEMPORARY_OUTGOING": 3, "BUCKET_1_KIN": 4, "BUCKET_10_KIN": 5, "BUCKET_100_KIN": 6, "BUCKET_1_000_KIN": 7, "BUCKET_10_000_KIN": 8, "BUCKET_100_000_KIN": 9, "BUCKET_1_000_000_KIN": 10, "LEGACY_PRIMARY_2022": 11, "REMOTE_SEND_GIFT_CARD": 12, "RELATIONSHIP": 13, "SWAP": 14, } )
Enum value maps for AccountType.
var ( Response_Result_name = map[int32]string{ 0: "OK", 1: "ERROR", } Response_Result_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for Response_Result.
var File_common_v1_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountType ¶
type AccountType int32
AccountType associates a type to an account, which infers how an account is used within the Code ecosystem.
const ( AccountType_UNKNOWN AccountType = 0 AccountType_PRIMARY AccountType = 1 AccountType_TEMPORARY_INCOMING AccountType = 2 AccountType_TEMPORARY_OUTGOING AccountType = 3 AccountType_BUCKET_1_KIN AccountType = 4 AccountType_BUCKET_10_KIN AccountType = 5 AccountType_BUCKET_100_KIN AccountType = 6 AccountType_BUCKET_1_000_KIN AccountType = 7 AccountType_BUCKET_10_000_KIN AccountType = 8 AccountType_BUCKET_100_000_KIN AccountType = 9 AccountType_BUCKET_1_000_000_KIN AccountType = 10 AccountType_LEGACY_PRIMARY_2022 AccountType = 11 AccountType_REMOTE_SEND_GIFT_CARD AccountType = 12 AccountType_RELATIONSHIP AccountType = 13 AccountType_SWAP AccountType = 14 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶
func (AccountType) Type() protoreflect.EnumType
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, an error is returned.
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 ¶
func (e AppInstallIdValidationError) Cause() error
Cause function returns cause value.
func (AppInstallIdValidationError) Error ¶
func (e AppInstallIdValidationError) Error() string
Error satisfies the builtin error interface
func (AppInstallIdValidationError) ErrorName ¶
func (e AppInstallIdValidationError) ErrorName() string
ErrorName returns error name.
func (AppInstallIdValidationError) Field ¶
func (e AppInstallIdValidationError) Field() string
Field function returns field value.
func (AppInstallIdValidationError) Key ¶
func (e AppInstallIdValidationError) Key() bool
Key function returns key value.
func (AppInstallIdValidationError) Reason ¶
func (e AppInstallIdValidationError) Reason() string
Reason function returns reason value.
type Blockhash ¶
type Blockhash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Blockhash is a raw binary Solana blockchash
func (*Blockhash) Descriptor
deprecated
func (*Blockhash) ProtoMessage ¶
func (*Blockhash) ProtoMessage()
func (*Blockhash) ProtoReflect ¶
func (x *Blockhash) ProtoReflect() protoreflect.Message
type BlockhashValidationError ¶
type BlockhashValidationError struct {
// contains filtered or unexported fields
}
BlockhashValidationError is the validation error returned by Blockhash.Validate if the designated constraints aren't met.
func (BlockhashValidationError) Cause ¶
func (e BlockhashValidationError) Cause() error
Cause function returns cause value.
func (BlockhashValidationError) Error ¶
func (e BlockhashValidationError) Error() string
Error satisfies the builtin error interface
func (BlockhashValidationError) ErrorName ¶
func (e BlockhashValidationError) ErrorName() string
ErrorName returns error name.
func (BlockhashValidationError) Field ¶
func (e BlockhashValidationError) Field() string
Field function returns field value.
func (BlockhashValidationError) Key ¶
func (e BlockhashValidationError) Key() bool
Key function returns key value.
func (BlockhashValidationError) Reason ¶
func (e BlockhashValidationError) Reason() string
Reason function returns reason value.
type DataContainerId ¶
type DataContainerId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
DataContainerId is a globally unique identifier for a container where a user can store a copy of their data
func (*DataContainerId) Descriptor
deprecated
func (*DataContainerId) Descriptor() ([]byte, []int)
Deprecated: Use DataContainerId.ProtoReflect.Descriptor instead.
func (*DataContainerId) GetValue ¶
func (x *DataContainerId) GetValue() []byte
func (*DataContainerId) ProtoMessage ¶
func (*DataContainerId) ProtoMessage()
func (*DataContainerId) ProtoReflect ¶
func (x *DataContainerId) ProtoReflect() protoreflect.Message
func (*DataContainerId) Reset ¶
func (x *DataContainerId) Reset()
func (*DataContainerId) String ¶
func (x *DataContainerId) String() string
func (*DataContainerId) Validate ¶
func (m *DataContainerId) Validate() error
Validate checks the field values on DataContainerId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DataContainerIdValidationError ¶
type DataContainerIdValidationError struct {
// contains filtered or unexported fields
}
DataContainerIdValidationError is the validation error returned by DataContainerId.Validate if the designated constraints aren't met.
func (DataContainerIdValidationError) Cause ¶
func (e DataContainerIdValidationError) Cause() error
Cause function returns cause value.
func (DataContainerIdValidationError) Error ¶
func (e DataContainerIdValidationError) Error() string
Error satisfies the builtin error interface
func (DataContainerIdValidationError) ErrorName ¶
func (e DataContainerIdValidationError) ErrorName() string
ErrorName returns error name.
func (DataContainerIdValidationError) Field ¶
func (e DataContainerIdValidationError) Field() string
Field function returns field value.
func (DataContainerIdValidationError) Key ¶
func (e DataContainerIdValidationError) Key() bool
Key function returns key value.
func (DataContainerIdValidationError) Reason ¶
func (e DataContainerIdValidationError) Reason() string
Reason function returns reason value.
type DeviceToken ¶
type DeviceToken struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
DeviceToken is an opaque token used to verify whether a device real
func (*DeviceToken) Descriptor
deprecated
func (*DeviceToken) Descriptor() ([]byte, []int)
Deprecated: Use DeviceToken.ProtoReflect.Descriptor instead.
func (*DeviceToken) GetValue ¶
func (x *DeviceToken) GetValue() string
func (*DeviceToken) ProtoMessage ¶
func (*DeviceToken) ProtoMessage()
func (*DeviceToken) ProtoReflect ¶
func (x *DeviceToken) ProtoReflect() protoreflect.Message
func (*DeviceToken) Reset ¶
func (x *DeviceToken) Reset()
func (*DeviceToken) String ¶
func (x *DeviceToken) String() string
func (*DeviceToken) Validate ¶
func (m *DeviceToken) Validate() error
Validate checks the field values on DeviceToken with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeviceTokenValidationError ¶
type DeviceTokenValidationError struct {
// contains filtered or unexported fields
}
DeviceTokenValidationError is the validation error returned by DeviceToken.Validate if the designated constraints aren't met.
func (DeviceTokenValidationError) Cause ¶
func (e DeviceTokenValidationError) Cause() error
Cause function returns cause value.
func (DeviceTokenValidationError) Error ¶
func (e DeviceTokenValidationError) Error() string
Error satisfies the builtin error interface
func (DeviceTokenValidationError) ErrorName ¶
func (e DeviceTokenValidationError) ErrorName() string
ErrorName returns error name.
func (DeviceTokenValidationError) Field ¶
func (e DeviceTokenValidationError) Field() string
Field function returns field value.
func (DeviceTokenValidationError) Key ¶
func (e DeviceTokenValidationError) Key() bool
Key function returns key value.
func (DeviceTokenValidationError) Reason ¶
func (e DeviceTokenValidationError) Reason() string
Reason function returns reason value.
type Domain ¶
type Domain struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Domain is a hostname
func (*Domain) Descriptor
deprecated
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶
func (x *Domain) ProtoReflect() protoreflect.Message
type DomainValidationError ¶
type DomainValidationError struct {
// contains filtered or unexported fields
}
DomainValidationError is the validation error returned by Domain.Validate if the designated constraints aren't met.
func (DomainValidationError) Cause ¶
func (e DomainValidationError) Cause() error
Cause function returns cause value.
func (DomainValidationError) Error ¶
func (e DomainValidationError) Error() string
Error satisfies the builtin error interface
func (DomainValidationError) ErrorName ¶
func (e DomainValidationError) ErrorName() string
ErrorName returns error name.
func (DomainValidationError) Field ¶
func (e DomainValidationError) Field() string
Field function returns field value.
func (DomainValidationError) Key ¶
func (e DomainValidationError) Key() bool
Key function returns key value.
func (DomainValidationError) Reason ¶
func (e DomainValidationError) Reason() string
Reason function returns reason value.
type Hash ¶
type Hash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Hash is a raw binary 32 byte hash value
func (*Hash) Descriptor
deprecated
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type HashValidationError ¶
type HashValidationError struct {
// contains filtered or unexported fields
}
HashValidationError is the validation error returned by Hash.Validate if the designated constraints aren't met.
func (HashValidationError) Cause ¶
func (e HashValidationError) Cause() error
Cause function returns cause value.
func (HashValidationError) Error ¶
func (e HashValidationError) Error() string
Error satisfies the builtin error interface
func (HashValidationError) ErrorName ¶
func (e HashValidationError) ErrorName() string
ErrorName returns error name.
func (HashValidationError) Field ¶
func (e HashValidationError) Field() string
Field function returns field value.
func (HashValidationError) Key ¶
func (e HashValidationError) Key() bool
Key function returns key value.
func (HashValidationError) Reason ¶
func (e HashValidationError) Reason() string
Reason function returns reason value.
type InstructionAccount ¶ added in v1.8.0
type InstructionAccount struct { Account *SolanaAccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` IsSigner bool `protobuf:"varint,2,opt,name=is_signer,json=isSigner,proto3" json:"is_signer,omitempty"` IsWritable bool `protobuf:"varint,3,opt,name=is_writable,json=isWritable,proto3" json:"is_writable,omitempty"` // contains filtered or unexported fields }
InstructionAccount is an account public key used within the context of an instruction.
func (*InstructionAccount) Descriptor
deprecated
added in
v1.8.0
func (*InstructionAccount) Descriptor() ([]byte, []int)
Deprecated: Use InstructionAccount.ProtoReflect.Descriptor instead.
func (*InstructionAccount) GetAccount ¶ added in v1.8.0
func (x *InstructionAccount) GetAccount() *SolanaAccountId
func (*InstructionAccount) GetIsSigner ¶ added in v1.8.0
func (x *InstructionAccount) GetIsSigner() bool
func (*InstructionAccount) GetIsWritable ¶ added in v1.8.0
func (x *InstructionAccount) GetIsWritable() bool
func (*InstructionAccount) ProtoMessage ¶ added in v1.8.0
func (*InstructionAccount) ProtoMessage()
func (*InstructionAccount) ProtoReflect ¶ added in v1.8.0
func (x *InstructionAccount) ProtoReflect() protoreflect.Message
func (*InstructionAccount) Reset ¶ added in v1.8.0
func (x *InstructionAccount) Reset()
func (*InstructionAccount) String ¶ added in v1.8.0
func (x *InstructionAccount) String() string
func (*InstructionAccount) Validate ¶ added in v1.8.0
func (m *InstructionAccount) Validate() error
Validate checks the field values on InstructionAccount with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type InstructionAccountValidationError ¶ added in v1.8.0
type InstructionAccountValidationError struct {
// contains filtered or unexported fields
}
InstructionAccountValidationError is the validation error returned by InstructionAccount.Validate if the designated constraints aren't met.
func (InstructionAccountValidationError) Cause ¶ added in v1.8.0
func (e InstructionAccountValidationError) Cause() error
Cause function returns cause value.
func (InstructionAccountValidationError) Error ¶ added in v1.8.0
func (e InstructionAccountValidationError) Error() string
Error satisfies the builtin error interface
func (InstructionAccountValidationError) ErrorName ¶ added in v1.8.0
func (e InstructionAccountValidationError) ErrorName() string
ErrorName returns error name.
func (InstructionAccountValidationError) Field ¶ added in v1.8.0
func (e InstructionAccountValidationError) Field() string
Field function returns field value.
func (InstructionAccountValidationError) Key ¶ added in v1.8.0
func (e InstructionAccountValidationError) Key() bool
Key function returns key value.
func (InstructionAccountValidationError) Reason ¶ added in v1.8.0
func (e InstructionAccountValidationError) 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 }
IntentId is a client-side generated ID that maps to an intent to perform actions on the blockchain fulfilled by the Code sequencer.
func (*IntentId) Descriptor
deprecated
func (*IntentId) ProtoMessage ¶
func (*IntentId) ProtoMessage()
func (*IntentId) ProtoReflect ¶
func (x *IntentId) ProtoReflect() protoreflect.Message
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 PhoneNumber ¶
type PhoneNumber struct { // Regex provided by Twilio here: https://www.twilio.com/docs/glossary/what-e164#regex-matching-for-e164 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
PhoneNumber is an E.164 phone number
func (*PhoneNumber) Descriptor
deprecated
func (*PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) GetValue ¶
func (x *PhoneNumber) GetValue() string
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) ProtoReflect ¶
func (x *PhoneNumber) ProtoReflect() protoreflect.Message
func (*PhoneNumber) Reset ¶
func (x *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (x *PhoneNumber) String() string
func (*PhoneNumber) Validate ¶
func (m *PhoneNumber) Validate() error
Validate checks the field values on PhoneNumber with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PhoneNumberValidationError ¶
type PhoneNumberValidationError struct {
// contains filtered or unexported fields
}
PhoneNumberValidationError is the validation error returned by PhoneNumber.Validate if the designated constraints aren't met.
func (PhoneNumberValidationError) Cause ¶
func (e PhoneNumberValidationError) Cause() error
Cause function returns cause value.
func (PhoneNumberValidationError) Error ¶
func (e PhoneNumberValidationError) Error() string
Error satisfies the builtin error interface
func (PhoneNumberValidationError) ErrorName ¶
func (e PhoneNumberValidationError) ErrorName() string
ErrorName returns error name.
func (PhoneNumberValidationError) Field ¶
func (e PhoneNumberValidationError) Field() string
Field function returns field value.
func (PhoneNumberValidationError) Key ¶
func (e PhoneNumberValidationError) Key() bool
Key function returns key value.
func (PhoneNumberValidationError) Reason ¶
func (e PhoneNumberValidationError) Reason() string
Reason function returns reason value.
type Relationship ¶
type Relationship struct { // Types that are assignable to Type: // // *Relationship_Domain Type isRelationship_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Relationship is a set of identifiers that a user can establish a relationship with.
func (*Relationship) Descriptor
deprecated
func (*Relationship) Descriptor() ([]byte, []int)
Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
func (*Relationship) GetDomain ¶
func (x *Relationship) GetDomain() *Domain
func (*Relationship) GetType ¶
func (m *Relationship) GetType() isRelationship_Type
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) ProtoReflect ¶
func (x *Relationship) ProtoReflect() protoreflect.Message
func (*Relationship) Reset ¶
func (x *Relationship) Reset()
func (*Relationship) String ¶
func (x *Relationship) String() string
func (*Relationship) Validate ¶
func (m *Relationship) Validate() error
Validate checks the field values on Relationship with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipValidationError ¶
type RelationshipValidationError struct {
// contains filtered or unexported fields
}
RelationshipValidationError is the validation error returned by Relationship.Validate if the designated constraints aren't met.
func (RelationshipValidationError) Cause ¶
func (e RelationshipValidationError) Cause() error
Cause function returns cause value.
func (RelationshipValidationError) Error ¶
func (e RelationshipValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipValidationError) ErrorName ¶
func (e RelationshipValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipValidationError) Field ¶
func (e RelationshipValidationError) Field() string
Field function returns field value.
func (RelationshipValidationError) Key ¶
func (e RelationshipValidationError) Key() bool
Key function returns key value.
func (RelationshipValidationError) Reason ¶
func (e RelationshipValidationError) Reason() string
Reason function returns reason value.
type Relationship_Domain ¶
type Relationship_Domain struct {
Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3,oneof"`
}
type Request ¶
type Request struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Request is a generic wrapper for gRPC requests
func (*Request) Descriptor
deprecated
func (*Request) GetService ¶
func (*Request) GetVersion ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct { Result Response_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.common.v1.Response_Result" json:"result,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Response is a generic wrapper for gRPC responses
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) GetResult ¶
func (x *Response) GetResult() Response_Result
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.
type Response_Result ¶
type Response_Result int32
const ( Response_OK Response_Result = 0 Response_ERROR Response_Result = 1 )
func (Response_Result) Descriptor ¶
func (Response_Result) Descriptor() protoreflect.EnumDescriptor
func (Response_Result) Enum ¶
func (x Response_Result) Enum() *Response_Result
func (Response_Result) EnumDescriptor
deprecated
func (Response_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use Response_Result.Descriptor instead.
func (Response_Result) Number ¶
func (x Response_Result) Number() protoreflect.EnumNumber
func (Response_Result) String ¶
func (x Response_Result) String() string
func (Response_Result) Type ¶
func (Response_Result) Type() protoreflect.EnumType
type Signature ¶
type Signature struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Signature is a raw binary Ed25519 signature
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
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 ¶
func (e SignatureValidationError) Key() bool
Key function returns key value.
func (SignatureValidationError) Reason ¶
func (e SignatureValidationError) Reason() string
Reason function returns reason value.
type SolanaAccountId ¶
type SolanaAccountId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
SolanaAccountId is a raw binary Ed25519 public key for a Solana account
func (*SolanaAccountId) Descriptor
deprecated
func (*SolanaAccountId) Descriptor() ([]byte, []int)
Deprecated: Use SolanaAccountId.ProtoReflect.Descriptor instead.
func (*SolanaAccountId) GetValue ¶
func (x *SolanaAccountId) GetValue() []byte
func (*SolanaAccountId) ProtoMessage ¶
func (*SolanaAccountId) ProtoMessage()
func (*SolanaAccountId) ProtoReflect ¶
func (x *SolanaAccountId) ProtoReflect() protoreflect.Message
func (*SolanaAccountId) Reset ¶
func (x *SolanaAccountId) Reset()
func (*SolanaAccountId) String ¶
func (x *SolanaAccountId) String() string
func (*SolanaAccountId) Validate ¶
func (m *SolanaAccountId) Validate() error
Validate checks the field values on SolanaAccountId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SolanaAccountIdValidationError ¶
type SolanaAccountIdValidationError struct {
// contains filtered or unexported fields
}
SolanaAccountIdValidationError is the validation error returned by SolanaAccountId.Validate if the designated constraints aren't met.
func (SolanaAccountIdValidationError) Cause ¶
func (e SolanaAccountIdValidationError) Cause() error
Cause function returns cause value.
func (SolanaAccountIdValidationError) Error ¶
func (e SolanaAccountIdValidationError) Error() string
Error satisfies the builtin error interface
func (SolanaAccountIdValidationError) ErrorName ¶
func (e SolanaAccountIdValidationError) ErrorName() string
ErrorName returns error name.
func (SolanaAccountIdValidationError) Field ¶
func (e SolanaAccountIdValidationError) Field() string
Field function returns field value.
func (SolanaAccountIdValidationError) Key ¶
func (e SolanaAccountIdValidationError) Key() bool
Key function returns key value.
func (SolanaAccountIdValidationError) Reason ¶
func (e SolanaAccountIdValidationError) Reason() string
Reason function returns reason value.
type Transaction ¶
type Transaction struct { // Maximum size taken from: https://github.com/solana-labs/solana/blob/39b3ac6a8d29e14faa1de73d8b46d390ad41797b/sdk/src/packet.rs#L9-L13 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Transaction is a raw binary Solana transaction
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() []byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
func (*Transaction) Validate ¶
func (m *Transaction) Validate() error
Validate checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TransactionValidationError ¶
type TransactionValidationError struct {
// contains filtered or unexported fields
}
TransactionValidationError is the validation error returned by Transaction.Validate if the designated constraints aren't met.
func (TransactionValidationError) Cause ¶
func (e TransactionValidationError) Cause() error
Cause function returns cause value.
func (TransactionValidationError) Error ¶
func (e TransactionValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionValidationError) ErrorName ¶
func (e TransactionValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionValidationError) Field ¶
func (e TransactionValidationError) Field() string
Field function returns field value.
func (TransactionValidationError) Key ¶
func (e TransactionValidationError) Key() bool
Key function returns key value.
func (TransactionValidationError) Reason ¶
func (e TransactionValidationError) Reason() string
Reason function returns reason value.
type UUID ¶ added in v1.12.0
type UUID struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
UUID is a 16 byte UUID value
func (*UUID) Descriptor
deprecated
added in
v1.12.0
func (*UUID) ProtoMessage ¶ added in v1.12.0
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶ added in v1.12.0
func (x *UUID) ProtoReflect() protoreflect.Message
type UUIDValidationError ¶ added in v1.12.0
type UUIDValidationError struct {
// contains filtered or unexported fields
}
UUIDValidationError is the validation error returned by UUID.Validate if the designated constraints aren't met.
func (UUIDValidationError) Cause ¶ added in v1.12.0
func (e UUIDValidationError) Cause() error
Cause function returns cause value.
func (UUIDValidationError) Error ¶ added in v1.12.0
func (e UUIDValidationError) Error() string
Error satisfies the builtin error interface
func (UUIDValidationError) ErrorName ¶ added in v1.12.0
func (e UUIDValidationError) ErrorName() string
ErrorName returns error name.
func (UUIDValidationError) Field ¶ added in v1.12.0
func (e UUIDValidationError) Field() string
Field function returns field value.
func (UUIDValidationError) Key ¶ added in v1.12.0
func (e UUIDValidationError) Key() bool
Key function returns key value.
func (UUIDValidationError) Reason ¶ added in v1.12.0
func (e UUIDValidationError) 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 }
UserId is a globally unique identifier for a user within Code
Note: Users outside Code are modelled as relationship accounts
func (*UserId) Descriptor
deprecated
func (*UserId) ProtoMessage ¶
func (*UserId) ProtoMessage()
func (*UserId) ProtoReflect ¶
func (x *UserId) ProtoReflect() protoreflect.Message
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.