Documentation ¶
Index ¶
- Variables
- type AuthErrorCode
- func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AuthErrorCode) Enum() *AuthErrorCode
- func (AuthErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthErrorCode) Number() protoreflect.EnumNumber
- func (x AuthErrorCode) String() string
- func (AuthErrorCode) Type() protoreflect.EnumType
- type DeleteAccountMessageFormat
- func DefaultApplyFieldMaskDeleteAccountMessageFormat(ctx context.Context, patchee *DeleteAccountMessageFormat, ...) (*DeleteAccountMessageFormat, error)
- func DefaultCreateDeleteAccountMessageFormat(ctx context.Context, in *DeleteAccountMessageFormat, db *gorm.DB) (*DeleteAccountMessageFormat, error)
- func DefaultListDeleteAccountMessageFormat(ctx context.Context, db *gorm.DB) ([]*DeleteAccountMessageFormat, error)
- func (*DeleteAccountMessageFormat) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountMessageFormat) GetAuthnId() uint64
- func (x *DeleteAccountMessageFormat) GetEmail() string
- func (x *DeleteAccountMessageFormat) GetProfileType() DeleteAccountMessageFormat_ProfileType
- func (x *DeleteAccountMessageFormat) GetUserId() uint64
- func (*DeleteAccountMessageFormat) ProtoMessage()
- func (x *DeleteAccountMessageFormat) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountMessageFormat) Reset()
- func (x *DeleteAccountMessageFormat) String() string
- func (m *DeleteAccountMessageFormat) ToORM(ctx context.Context) (DeleteAccountMessageFormatORM, error)
- func (m *DeleteAccountMessageFormat) Validate() error
- func (m *DeleteAccountMessageFormat) ValidateAll() error
- type DeleteAccountMessageFormatMultiError
- type DeleteAccountMessageFormatORM
- type DeleteAccountMessageFormatORMWithAfterCreate_
- type DeleteAccountMessageFormatORMWithAfterListFind
- type DeleteAccountMessageFormatORMWithBeforeCreate_
- type DeleteAccountMessageFormatORMWithBeforeListApplyQuery
- type DeleteAccountMessageFormatORMWithBeforeListFind
- type DeleteAccountMessageFormatValidationError
- func (e DeleteAccountMessageFormatValidationError) Cause() error
- func (e DeleteAccountMessageFormatValidationError) Error() string
- func (e DeleteAccountMessageFormatValidationError) ErrorName() string
- func (e DeleteAccountMessageFormatValidationError) Field() string
- func (e DeleteAccountMessageFormatValidationError) Key() bool
- func (e DeleteAccountMessageFormatValidationError) Reason() string
- type DeleteAccountMessageFormatWithAfterToORM
- type DeleteAccountMessageFormatWithAfterToPB
- type DeleteAccountMessageFormatWithBeforeToORM
- type DeleteAccountMessageFormatWithBeforeToPB
- type DeleteAccountMessageFormat_ProfileType
- func (DeleteAccountMessageFormat_ProfileType) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteAccountMessageFormat_ProfileType) Enum() *DeleteAccountMessageFormat_ProfileType
- func (DeleteAccountMessageFormat_ProfileType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteAccountMessageFormat_ProfileType) Number() protoreflect.EnumNumber
- func (x DeleteAccountMessageFormat_ProfileType) String() string
- func (DeleteAccountMessageFormat_ProfileType) Type() protoreflect.EnumType
- type ErrorCode
- type ErrorMessageRequest
- func (*ErrorMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (*ErrorMessageRequest) ProtoMessage()
- func (x *ErrorMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ErrorMessageRequest) Reset()
- func (x *ErrorMessageRequest) String() string
- func (m *ErrorMessageRequest) Validate() error
- func (m *ErrorMessageRequest) ValidateAll() error
- type ErrorMessageRequestMultiError
- type ErrorMessageRequestValidationError
- func (e ErrorMessageRequestValidationError) Cause() error
- func (e ErrorMessageRequestValidationError) Error() string
- func (e ErrorMessageRequestValidationError) ErrorName() string
- func (e ErrorMessageRequestValidationError) Field() string
- func (e ErrorMessageRequestValidationError) Key() bool
- func (e ErrorMessageRequestValidationError) Reason() string
- type InternalErrorCode
- func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x InternalErrorCode) Enum() *InternalErrorCode
- func (InternalErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x InternalErrorCode) Number() protoreflect.EnumNumber
- func (x InternalErrorCode) String() string
- func (InternalErrorCode) Type() protoreflect.EnumType
- type InternalErrorMessageResponse
- func (*InternalErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
- func (x *InternalErrorMessageResponse) GetMessage() string
- func (*InternalErrorMessageResponse) ProtoMessage()
- func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *InternalErrorMessageResponse) Reset()
- func (x *InternalErrorMessageResponse) String() string
- func (m *InternalErrorMessageResponse) Validate() error
- func (m *InternalErrorMessageResponse) ValidateAll() error
- type InternalErrorMessageResponseMultiError
- type InternalErrorMessageResponseValidationError
- func (e InternalErrorMessageResponseValidationError) Cause() error
- func (e InternalErrorMessageResponseValidationError) Error() string
- func (e InternalErrorMessageResponseValidationError) ErrorName() string
- func (e InternalErrorMessageResponseValidationError) Field() string
- func (e InternalErrorMessageResponseValidationError) Key() bool
- func (e InternalErrorMessageResponseValidationError) Reason() string
- type NotFoundErrorCode
- func (NotFoundErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
- func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
- func (x NotFoundErrorCode) String() string
- func (NotFoundErrorCode) Type() protoreflect.EnumType
- type PathUnknownErrorMessageResponse
- func (*PathUnknownErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
- func (x *PathUnknownErrorMessageResponse) GetMessage() string
- func (*PathUnknownErrorMessageResponse) ProtoMessage()
- func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *PathUnknownErrorMessageResponse) Reset()
- func (x *PathUnknownErrorMessageResponse) String() string
- func (m *PathUnknownErrorMessageResponse) Validate() error
- func (m *PathUnknownErrorMessageResponse) ValidateAll() error
- type PathUnknownErrorMessageResponseMultiError
- type PathUnknownErrorMessageResponseValidationError
- func (e PathUnknownErrorMessageResponseValidationError) Cause() error
- func (e PathUnknownErrorMessageResponseValidationError) Error() string
- func (e PathUnknownErrorMessageResponseValidationError) ErrorName() string
- func (e PathUnknownErrorMessageResponseValidationError) Field() string
- func (e PathUnknownErrorMessageResponseValidationError) Key() bool
- func (e PathUnknownErrorMessageResponseValidationError) Reason() string
- type ValidationErrorMessageResponse
- func (*ValidationErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationErrorMessageResponse) GetCode() ErrorCode
- func (x *ValidationErrorMessageResponse) GetMessage() string
- func (*ValidationErrorMessageResponse) ProtoMessage()
- func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ValidationErrorMessageResponse) Reset()
- func (x *ValidationErrorMessageResponse) String() string
- func (m *ValidationErrorMessageResponse) Validate() error
- func (m *ValidationErrorMessageResponse) ValidateAll() error
- type ValidationErrorMessageResponseMultiError
- type ValidationErrorMessageResponseValidationError
- func (e ValidationErrorMessageResponseValidationError) Cause() error
- func (e ValidationErrorMessageResponseValidationError) Error() string
- func (e ValidationErrorMessageResponseValidationError) ErrorName() string
- func (e ValidationErrorMessageResponseValidationError) Field() string
- func (e ValidationErrorMessageResponseValidationError) Key() bool
- func (e ValidationErrorMessageResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( AuthErrorCode_name = map[int32]string{ 0: "no_auth_error", 1001: "auth_failed_invalid_subject", 1002: "auth_failed_invalid_audience", 1003: "auth_failed_invalid_issuer", 1004: "invalid_claims", 1005: "auth_failed_invalid_bearer_token", 1010: "bearer_token_missing", 1500: "unauthenticated", } AuthErrorCode_value = map[string]int32{ "no_auth_error": 0, "auth_failed_invalid_subject": 1001, "auth_failed_invalid_audience": 1002, "auth_failed_invalid_issuer": 1003, "invalid_claims": 1004, "auth_failed_invalid_bearer_token": 1005, "bearer_token_missing": 1010, "unauthenticated": 1500, } )
Enum value maps for AuthErrorCode.
var ( ErrorCode_name = map[int32]string{ 0: "no_error", 2000: "validation_error", 2001: "authorization_model_not_found", 2002: "authorization_model_resolution_too_complex", 2003: "invalid_write_input", 2004: "cannot_allow_duplicate_tuples_in_one_request", 2005: "cannot_allow_duplicate_types_in_one_request", 2006: "cannot_allow_multiple_references_to_one_relation", 2007: "invalid_continuation_token", 2008: "invalid_tuple_set", 2009: "invalid_check_input", 2010: "invalid_expand_input", 2011: "unsupported_user_set", 2012: "invalid_object_format", 2017: "write_failed_due_to_invalid_input", 2018: "authorization_model_assertions_not_found", 2020: "latest_authorization_model_not_found", 2021: "type_not_found", 2022: "relation_not_found", 2023: "empty_relation_definition", 2025: "invalid_user", 2027: "invalid_tuple", 2028: "unknown_relation", 2030: "store_id_invalid_length", 2033: "assertions_too_many_items", 2034: "id_too_long", 2036: "authorization_model_id_too_long", 2037: "tuple_key_value_not_specified", 2038: "tuple_keys_too_many_or_too_few_items", 2039: "page_size_invalid", 2040: "param_missing_value", 2041: "difference_base_missing_value", 2042: "subtract_base_missing_value", 2043: "object_too_long", 2044: "relation_too_long", 2045: "type_definitions_too_few_items", 2046: "type_invalid_length", 2047: "type_invalid_pattern", 2048: "relations_too_few_items", 2049: "relations_too_long", 2050: "relations_invalid_pattern", 2051: "object_invalid_pattern", 2052: "query_string_type_continuation_token_mismatch", 2053: "exceeded_entity_limit", 2054: "invalid_contextual_tuple", 2055: "duplicate_contextual_tuple", 2056: "invalid_authorization_model", 2057: "unsupported_schema_version", } ErrorCode_value = map[string]int32{ "no_error": 0, "validation_error": 2000, "authorization_model_not_found": 2001, "authorization_model_resolution_too_complex": 2002, "invalid_write_input": 2003, "cannot_allow_duplicate_tuples_in_one_request": 2004, "cannot_allow_duplicate_types_in_one_request": 2005, "cannot_allow_multiple_references_to_one_relation": 2006, "invalid_continuation_token": 2007, "invalid_tuple_set": 2008, "invalid_check_input": 2009, "invalid_expand_input": 2010, "unsupported_user_set": 2011, "invalid_object_format": 2012, "write_failed_due_to_invalid_input": 2017, "authorization_model_assertions_not_found": 2018, "latest_authorization_model_not_found": 2020, "type_not_found": 2021, "relation_not_found": 2022, "empty_relation_definition": 2023, "invalid_user": 2025, "invalid_tuple": 2027, "unknown_relation": 2028, "store_id_invalid_length": 2030, "assertions_too_many_items": 2033, "id_too_long": 2034, "authorization_model_id_too_long": 2036, "tuple_key_value_not_specified": 2037, "tuple_keys_too_many_or_too_few_items": 2038, "page_size_invalid": 2039, "param_missing_value": 2040, "difference_base_missing_value": 2041, "subtract_base_missing_value": 2042, "object_too_long": 2043, "relation_too_long": 2044, "type_definitions_too_few_items": 2045, "type_invalid_length": 2046, "type_invalid_pattern": 2047, "relations_too_few_items": 2048, "relations_too_long": 2049, "relations_invalid_pattern": 2050, "object_invalid_pattern": 2051, "query_string_type_continuation_token_mismatch": 2052, "exceeded_entity_limit": 2053, "invalid_contextual_tuple": 2054, "duplicate_contextual_tuple": 2055, "invalid_authorization_model": 2056, "unsupported_schema_version": 2057, } )
Enum value maps for ErrorCode.
var ( InternalErrorCode_name = map[int32]string{ 0: "no_internal_error", 4000: "internal_error", 4003: "cancelled", 4004: "deadline_exceeded", 4005: "already_exists", 4006: "resource_exhausted", 4007: "failed_precondition", 4008: "aborted", 4009: "out_of_range", 4010: "unavailable", 4011: "data_loss", } InternalErrorCode_value = map[string]int32{ "no_internal_error": 0, "internal_error": 4000, "cancelled": 4003, "deadline_exceeded": 4004, "already_exists": 4005, "resource_exhausted": 4006, "failed_precondition": 4007, "aborted": 4008, "out_of_range": 4009, "unavailable": 4010, "data_loss": 4011, } )
Enum value maps for InternalErrorCode.
var ( NotFoundErrorCode_name = map[int32]string{ 0: "no_not_found_error", 5000: "undefined_endpoint", 5002: "store_id_not_found", 5004: "unimplemented", } NotFoundErrorCode_value = map[string]int32{ "no_not_found_error": 0, "undefined_endpoint": 5000, "store_id_not_found": 5002, "unimplemented": 5004, } )
Enum value maps for NotFoundErrorCode.
var ( DeleteAccountMessageFormat_ProfileType_name = map[int32]string{ 0: "PROFILE_TYPE_UNSPECIFIED", 1: "PROFILE_TYPE_USER", 2: "PROFILE_TYPE_BUSINESS", } DeleteAccountMessageFormat_ProfileType_value = map[string]int32{ "PROFILE_TYPE_UNSPECIFIED": 0, "PROFILE_TYPE_USER": 1, "PROFILE_TYPE_BUSINESS": 2, } )
Enum value maps for DeleteAccountMessageFormat_ProfileType.
var File_message_definition_v1_errors_ignore_proto protoreflect.FileDescriptor
var File_message_definition_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthErrorCode ¶
type AuthErrorCode int32
const ( AuthErrorCode_no_auth_error AuthErrorCode = 0 AuthErrorCode_auth_failed_invalid_subject AuthErrorCode = 1001 AuthErrorCode_auth_failed_invalid_audience AuthErrorCode = 1002 AuthErrorCode_auth_failed_invalid_issuer AuthErrorCode = 1003 AuthErrorCode_invalid_claims AuthErrorCode = 1004 AuthErrorCode_auth_failed_invalid_bearer_token AuthErrorCode = 1005 AuthErrorCode_bearer_token_missing AuthErrorCode = 1010 AuthErrorCode_unauthenticated AuthErrorCode = 1500 )
func (AuthErrorCode) Descriptor ¶
func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AuthErrorCode) Enum ¶
func (x AuthErrorCode) Enum() *AuthErrorCode
func (AuthErrorCode) EnumDescriptor
deprecated
func (AuthErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthErrorCode.Descriptor instead.
func (AuthErrorCode) Number ¶
func (x AuthErrorCode) Number() protoreflect.EnumNumber
func (AuthErrorCode) String ¶
func (x AuthErrorCode) String() string
func (AuthErrorCode) Type ¶
func (AuthErrorCode) Type() protoreflect.EnumType
type DeleteAccountMessageFormat ¶
type DeleteAccountMessageFormat struct { // authn id which is the id of the account from the vantage point of the // authentication service AuthnId uint64 `protobuf:"varint,1,opt,name=authn_id,json=authnId,proto3" json:"authn_id,omitempty"` // account email // Validations: // - must be an email and required Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // user_id id from the vantage point of the user service UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the profile type of the given account ProfileType DeleteAccountMessageFormat_ProfileType `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
DeleteAccountMessageFormat: represents an sqs message format for deleting an accoun
func DefaultApplyFieldMaskDeleteAccountMessageFormat ¶
func DefaultApplyFieldMaskDeleteAccountMessageFormat(ctx context.Context, patchee *DeleteAccountMessageFormat, patcher *DeleteAccountMessageFormat, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*DeleteAccountMessageFormat, error)
DefaultApplyFieldMaskDeleteAccountMessageFormat patches an pbObject with patcher according to a field mask.
func DefaultCreateDeleteAccountMessageFormat ¶
func DefaultCreateDeleteAccountMessageFormat(ctx context.Context, in *DeleteAccountMessageFormat, db *gorm.DB) (*DeleteAccountMessageFormat, error)
DefaultCreateDeleteAccountMessageFormat executes a basic gorm create call
func DefaultListDeleteAccountMessageFormat ¶
func DefaultListDeleteAccountMessageFormat(ctx context.Context, db *gorm.DB) ([]*DeleteAccountMessageFormat, error)
DefaultListDeleteAccountMessageFormat executes a gorm list call
func (*DeleteAccountMessageFormat) Descriptor
deprecated
func (*DeleteAccountMessageFormat) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountMessageFormat.ProtoReflect.Descriptor instead.
func (*DeleteAccountMessageFormat) GetAuthnId ¶
func (x *DeleteAccountMessageFormat) GetAuthnId() uint64
func (*DeleteAccountMessageFormat) GetEmail ¶
func (x *DeleteAccountMessageFormat) GetEmail() string
func (*DeleteAccountMessageFormat) GetProfileType ¶ added in v1.10.0
func (x *DeleteAccountMessageFormat) GetProfileType() DeleteAccountMessageFormat_ProfileType
func (*DeleteAccountMessageFormat) GetUserId ¶
func (x *DeleteAccountMessageFormat) GetUserId() uint64
func (*DeleteAccountMessageFormat) ProtoMessage ¶
func (*DeleteAccountMessageFormat) ProtoMessage()
func (*DeleteAccountMessageFormat) ProtoReflect ¶
func (x *DeleteAccountMessageFormat) ProtoReflect() protoreflect.Message
func (*DeleteAccountMessageFormat) Reset ¶
func (x *DeleteAccountMessageFormat) Reset()
func (*DeleteAccountMessageFormat) String ¶
func (x *DeleteAccountMessageFormat) String() string
func (*DeleteAccountMessageFormat) ToORM ¶
func (m *DeleteAccountMessageFormat) ToORM(ctx context.Context) (DeleteAccountMessageFormatORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*DeleteAccountMessageFormat) Validate ¶
func (m *DeleteAccountMessageFormat) Validate() error
Validate checks the field values on DeleteAccountMessageFormat 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 (*DeleteAccountMessageFormat) ValidateAll ¶
func (m *DeleteAccountMessageFormat) ValidateAll() error
ValidateAll checks the field values on DeleteAccountMessageFormat 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 DeleteAccountMessageFormatMultiError, or nil if none found.
type DeleteAccountMessageFormatMultiError ¶
type DeleteAccountMessageFormatMultiError []error
DeleteAccountMessageFormatMultiError is an error wrapping multiple validation errors returned by DeleteAccountMessageFormat.ValidateAll() if the designated constraints aren't met.
func (DeleteAccountMessageFormatMultiError) AllErrors ¶
func (m DeleteAccountMessageFormatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAccountMessageFormatMultiError) Error ¶
func (m DeleteAccountMessageFormatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAccountMessageFormatORM ¶
type DeleteAccountMessageFormatORM struct { AuthnId uint64 Email string ProfileType string UserId uint64 }
func (DeleteAccountMessageFormatORM) TableName ¶
func (DeleteAccountMessageFormatORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*DeleteAccountMessageFormatORM) ToPB ¶
func (m *DeleteAccountMessageFormatORM) ToPB(ctx context.Context) (DeleteAccountMessageFormat, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type DeleteAccountMessageFormatValidationError ¶
type DeleteAccountMessageFormatValidationError struct {
// contains filtered or unexported fields
}
DeleteAccountMessageFormatValidationError is the validation error returned by DeleteAccountMessageFormat.Validate if the designated constraints aren't met.
func (DeleteAccountMessageFormatValidationError) Cause ¶
func (e DeleteAccountMessageFormatValidationError) Cause() error
Cause function returns cause value.
func (DeleteAccountMessageFormatValidationError) Error ¶
func (e DeleteAccountMessageFormatValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAccountMessageFormatValidationError) ErrorName ¶
func (e DeleteAccountMessageFormatValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAccountMessageFormatValidationError) Field ¶
func (e DeleteAccountMessageFormatValidationError) Field() string
Field function returns field value.
func (DeleteAccountMessageFormatValidationError) Key ¶
func (e DeleteAccountMessageFormatValidationError) Key() bool
Key function returns key value.
func (DeleteAccountMessageFormatValidationError) Reason ¶
func (e DeleteAccountMessageFormatValidationError) Reason() string
Reason function returns reason value.
type DeleteAccountMessageFormatWithAfterToORM ¶
type DeleteAccountMessageFormatWithAfterToORM interface {
AfterToORM(context.Context, *DeleteAccountMessageFormatORM) error
}
DeleteAccountMessageFormatAfterToORM called after default ToORM code
type DeleteAccountMessageFormatWithAfterToPB ¶
type DeleteAccountMessageFormatWithAfterToPB interface {
AfterToPB(context.Context, *DeleteAccountMessageFormat) error
}
DeleteAccountMessageFormatAfterToPB called after default ToPB code
type DeleteAccountMessageFormatWithBeforeToORM ¶
type DeleteAccountMessageFormatWithBeforeToORM interface {
BeforeToORM(context.Context, *DeleteAccountMessageFormatORM) error
}
DeleteAccountMessageFormatBeforeToORM called before default ToORM code
type DeleteAccountMessageFormatWithBeforeToPB ¶
type DeleteAccountMessageFormatWithBeforeToPB interface {
BeforeToPB(context.Context, *DeleteAccountMessageFormat) error
}
DeleteAccountMessageFormatBeforeToPB called before default ToPB code
type DeleteAccountMessageFormat_ProfileType ¶ added in v1.10.0
type DeleteAccountMessageFormat_ProfileType int32
const ( DeleteAccountMessageFormat_PROFILE_TYPE_UNSPECIFIED DeleteAccountMessageFormat_ProfileType = 0 DeleteAccountMessageFormat_PROFILE_TYPE_USER DeleteAccountMessageFormat_ProfileType = 1 DeleteAccountMessageFormat_PROFILE_TYPE_BUSINESS DeleteAccountMessageFormat_ProfileType = 2 )
func (DeleteAccountMessageFormat_ProfileType) Descriptor ¶ added in v1.10.0
func (DeleteAccountMessageFormat_ProfileType) Descriptor() protoreflect.EnumDescriptor
func (DeleteAccountMessageFormat_ProfileType) EnumDescriptor
deprecated
added in
v1.10.0
func (DeleteAccountMessageFormat_ProfileType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteAccountMessageFormat_ProfileType.Descriptor instead.
func (DeleteAccountMessageFormat_ProfileType) Number ¶ added in v1.10.0
func (x DeleteAccountMessageFormat_ProfileType) Number() protoreflect.EnumNumber
func (DeleteAccountMessageFormat_ProfileType) String ¶ added in v1.10.0
func (x DeleteAccountMessageFormat_ProfileType) String() string
func (DeleteAccountMessageFormat_ProfileType) Type ¶ added in v1.10.0
func (DeleteAccountMessageFormat_ProfileType) Type() protoreflect.EnumType
type ErrorCode ¶
type ErrorCode int32
const ( ErrorCode_no_error ErrorCode = 0 ErrorCode_validation_error ErrorCode = 2000 ErrorCode_invalid_write_input ErrorCode = 2003 ErrorCode_cannot_allow_duplicate_tuples_in_one_request ErrorCode = 2004 ErrorCode_cannot_allow_duplicate_types_in_one_request ErrorCode = 2005 ErrorCode_cannot_allow_multiple_references_to_one_relation ErrorCode = 2006 ErrorCode_invalid_continuation_token ErrorCode = 2007 ErrorCode_invalid_tuple_set ErrorCode = 2008 ErrorCode_invalid_check_input ErrorCode = 2009 ErrorCode_invalid_expand_input ErrorCode = 2010 ErrorCode_unsupported_user_set ErrorCode = 2011 ErrorCode_invalid_object_format ErrorCode = 2012 ErrorCode_write_failed_due_to_invalid_input ErrorCode = 2017 ErrorCode_type_not_found ErrorCode = 2021 ErrorCode_relation_not_found ErrorCode = 2022 ErrorCode_empty_relation_definition ErrorCode = 2023 ErrorCode_invalid_user ErrorCode = 2025 ErrorCode_invalid_tuple ErrorCode = 2027 ErrorCode_unknown_relation ErrorCode = 2028 ErrorCode_store_id_invalid_length ErrorCode = 2030 ErrorCode_assertions_too_many_items ErrorCode = 2033 ErrorCode_id_too_long ErrorCode = 2034 ErrorCode_tuple_key_value_not_specified ErrorCode = 2037 ErrorCode_tuple_keys_too_many_or_too_few_items ErrorCode = 2038 ErrorCode_page_size_invalid ErrorCode = 2039 ErrorCode_param_missing_value ErrorCode = 2040 ErrorCode_difference_base_missing_value ErrorCode = 2041 ErrorCode_subtract_base_missing_value ErrorCode = 2042 ErrorCode_object_too_long ErrorCode = 2043 ErrorCode_relation_too_long ErrorCode = 2044 ErrorCode_type_definitions_too_few_items ErrorCode = 2045 ErrorCode_type_invalid_length ErrorCode = 2046 ErrorCode_type_invalid_pattern ErrorCode = 2047 ErrorCode_relations_too_few_items ErrorCode = 2048 ErrorCode_relations_too_long ErrorCode = 2049 ErrorCode_relations_invalid_pattern ErrorCode = 2050 ErrorCode_object_invalid_pattern ErrorCode = 2051 ErrorCode_query_string_type_continuation_token_mismatch ErrorCode = 2052 ErrorCode_exceeded_entity_limit ErrorCode = 2053 ErrorCode_invalid_contextual_tuple ErrorCode = 2054 ErrorCode_duplicate_contextual_tuple ErrorCode = 2055 ErrorCode_unsupported_schema_version ErrorCode = 2057 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type ErrorMessageRequest ¶
type ErrorMessageRequest struct {
// contains filtered or unexported fields
}
func (*ErrorMessageRequest) Descriptor
deprecated
func (*ErrorMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ErrorMessageRequest.ProtoReflect.Descriptor instead.
func (*ErrorMessageRequest) ProtoMessage ¶
func (*ErrorMessageRequest) ProtoMessage()
func (*ErrorMessageRequest) ProtoReflect ¶
func (x *ErrorMessageRequest) ProtoReflect() protoreflect.Message
func (*ErrorMessageRequest) Reset ¶
func (x *ErrorMessageRequest) Reset()
func (*ErrorMessageRequest) String ¶
func (x *ErrorMessageRequest) String() string
func (*ErrorMessageRequest) Validate ¶
func (m *ErrorMessageRequest) Validate() error
Validate checks the field values on ErrorMessageRequest 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 (*ErrorMessageRequest) ValidateAll ¶
func (m *ErrorMessageRequest) ValidateAll() error
ValidateAll checks the field values on ErrorMessageRequest 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 ErrorMessageRequestMultiError, or nil if none found.
type ErrorMessageRequestMultiError ¶
type ErrorMessageRequestMultiError []error
ErrorMessageRequestMultiError is an error wrapping multiple validation errors returned by ErrorMessageRequest.ValidateAll() if the designated constraints aren't met.
func (ErrorMessageRequestMultiError) AllErrors ¶
func (m ErrorMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorMessageRequestMultiError) Error ¶
func (m ErrorMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorMessageRequestValidationError ¶
type ErrorMessageRequestValidationError struct {
// contains filtered or unexported fields
}
ErrorMessageRequestValidationError is the validation error returned by ErrorMessageRequest.Validate if the designated constraints aren't met.
func (ErrorMessageRequestValidationError) Cause ¶
func (e ErrorMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (ErrorMessageRequestValidationError) Error ¶
func (e ErrorMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorMessageRequestValidationError) ErrorName ¶
func (e ErrorMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorMessageRequestValidationError) Field ¶
func (e ErrorMessageRequestValidationError) Field() string
Field function returns field value.
func (ErrorMessageRequestValidationError) Key ¶
func (e ErrorMessageRequestValidationError) Key() bool
Key function returns key value.
func (ErrorMessageRequestValidationError) Reason ¶
func (e ErrorMessageRequestValidationError) Reason() string
Reason function returns reason value.
type InternalErrorCode ¶
type InternalErrorCode int32
const ( InternalErrorCode_no_internal_error InternalErrorCode = 0 InternalErrorCode_internal_error InternalErrorCode = 4000 InternalErrorCode_cancelled InternalErrorCode = 4003 InternalErrorCode_deadline_exceeded InternalErrorCode = 4004 InternalErrorCode_already_exists InternalErrorCode = 4005 InternalErrorCode_resource_exhausted InternalErrorCode = 4006 InternalErrorCode_failed_precondition InternalErrorCode = 4007 InternalErrorCode_aborted InternalErrorCode = 4008 InternalErrorCode_out_of_range InternalErrorCode = 4009 InternalErrorCode_data_loss InternalErrorCode = 4011 )
func (InternalErrorCode) Descriptor ¶
func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
func (InternalErrorCode) Enum ¶
func (x InternalErrorCode) Enum() *InternalErrorCode
func (InternalErrorCode) EnumDescriptor
deprecated
func (InternalErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use InternalErrorCode.Descriptor instead.
func (InternalErrorCode) Number ¶
func (x InternalErrorCode) Number() protoreflect.EnumNumber
func (InternalErrorCode) String ¶
func (x InternalErrorCode) String() string
func (InternalErrorCode) Type ¶
func (InternalErrorCode) Type() protoreflect.EnumType
type InternalErrorMessageResponse ¶
type InternalErrorMessageResponse struct { Code InternalErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=message_definition.v1.InternalErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InternalErrorMessageResponse) Descriptor
deprecated
func (*InternalErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*InternalErrorMessageResponse) GetCode ¶
func (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
func (*InternalErrorMessageResponse) GetMessage ¶
func (x *InternalErrorMessageResponse) GetMessage() string
func (*InternalErrorMessageResponse) ProtoMessage ¶
func (*InternalErrorMessageResponse) ProtoMessage()
func (*InternalErrorMessageResponse) ProtoReflect ¶
func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*InternalErrorMessageResponse) Reset ¶
func (x *InternalErrorMessageResponse) Reset()
func (*InternalErrorMessageResponse) String ¶
func (x *InternalErrorMessageResponse) String() string
func (*InternalErrorMessageResponse) Validate ¶
func (m *InternalErrorMessageResponse) Validate() error
Validate checks the field values on InternalErrorMessageResponse 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 (*InternalErrorMessageResponse) ValidateAll ¶
func (m *InternalErrorMessageResponse) ValidateAll() error
ValidateAll checks the field values on InternalErrorMessageResponse 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 InternalErrorMessageResponseMultiError, or nil if none found.
type InternalErrorMessageResponseMultiError ¶
type InternalErrorMessageResponseMultiError []error
InternalErrorMessageResponseMultiError is an error wrapping multiple validation errors returned by InternalErrorMessageResponse.ValidateAll() if the designated constraints aren't met.
func (InternalErrorMessageResponseMultiError) AllErrors ¶
func (m InternalErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InternalErrorMessageResponseMultiError) Error ¶
func (m InternalErrorMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InternalErrorMessageResponseValidationError ¶
type InternalErrorMessageResponseValidationError struct {
// contains filtered or unexported fields
}
InternalErrorMessageResponseValidationError is the validation error returned by InternalErrorMessageResponse.Validate if the designated constraints aren't met.
func (InternalErrorMessageResponseValidationError) Cause ¶
func (e InternalErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (InternalErrorMessageResponseValidationError) Error ¶
func (e InternalErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InternalErrorMessageResponseValidationError) ErrorName ¶
func (e InternalErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InternalErrorMessageResponseValidationError) Field ¶
func (e InternalErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (InternalErrorMessageResponseValidationError) Key ¶
func (e InternalErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (InternalErrorMessageResponseValidationError) Reason ¶
func (e InternalErrorMessageResponseValidationError) Reason() string
Reason function returns reason value.
type NotFoundErrorCode ¶
type NotFoundErrorCode int32
const ( NotFoundErrorCode_no_not_found_error NotFoundErrorCode = 0 NotFoundErrorCode_undefined_endpoint NotFoundErrorCode = 5000 NotFoundErrorCode_store_id_not_found NotFoundErrorCode = 5002 NotFoundErrorCode_unimplemented NotFoundErrorCode = 5004 )
func (NotFoundErrorCode) Descriptor ¶
func (NotFoundErrorCode) Descriptor() protoreflect.EnumDescriptor
func (NotFoundErrorCode) Enum ¶
func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
func (NotFoundErrorCode) EnumDescriptor
deprecated
func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotFoundErrorCode.Descriptor instead.
func (NotFoundErrorCode) Number ¶
func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
func (NotFoundErrorCode) String ¶
func (x NotFoundErrorCode) String() string
func (NotFoundErrorCode) Type ¶
func (NotFoundErrorCode) Type() protoreflect.EnumType
type PathUnknownErrorMessageResponse ¶
type PathUnknownErrorMessageResponse struct { Code NotFoundErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=message_definition.v1.NotFoundErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PathUnknownErrorMessageResponse) Descriptor
deprecated
func (*PathUnknownErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PathUnknownErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*PathUnknownErrorMessageResponse) GetCode ¶
func (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
func (*PathUnknownErrorMessageResponse) GetMessage ¶
func (x *PathUnknownErrorMessageResponse) GetMessage() string
func (*PathUnknownErrorMessageResponse) ProtoMessage ¶
func (*PathUnknownErrorMessageResponse) ProtoMessage()
func (*PathUnknownErrorMessageResponse) ProtoReflect ¶
func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*PathUnknownErrorMessageResponse) Reset ¶
func (x *PathUnknownErrorMessageResponse) Reset()
func (*PathUnknownErrorMessageResponse) String ¶
func (x *PathUnknownErrorMessageResponse) String() string
func (*PathUnknownErrorMessageResponse) Validate ¶
func (m *PathUnknownErrorMessageResponse) Validate() error
Validate checks the field values on PathUnknownErrorMessageResponse 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 (*PathUnknownErrorMessageResponse) ValidateAll ¶
func (m *PathUnknownErrorMessageResponse) ValidateAll() error
ValidateAll checks the field values on PathUnknownErrorMessageResponse 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 PathUnknownErrorMessageResponseMultiError, or nil if none found.
type PathUnknownErrorMessageResponseMultiError ¶
type PathUnknownErrorMessageResponseMultiError []error
PathUnknownErrorMessageResponseMultiError is an error wrapping multiple validation errors returned by PathUnknownErrorMessageResponse.ValidateAll() if the designated constraints aren't met.
func (PathUnknownErrorMessageResponseMultiError) AllErrors ¶
func (m PathUnknownErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathUnknownErrorMessageResponseMultiError) Error ¶
func (m PathUnknownErrorMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PathUnknownErrorMessageResponseValidationError ¶
type PathUnknownErrorMessageResponseValidationError struct {
// contains filtered or unexported fields
}
PathUnknownErrorMessageResponseValidationError is the validation error returned by PathUnknownErrorMessageResponse.Validate if the designated constraints aren't met.
func (PathUnknownErrorMessageResponseValidationError) Cause ¶
func (e PathUnknownErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (PathUnknownErrorMessageResponseValidationError) Error ¶
func (e PathUnknownErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PathUnknownErrorMessageResponseValidationError) ErrorName ¶
func (e PathUnknownErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PathUnknownErrorMessageResponseValidationError) Field ¶
func (e PathUnknownErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (PathUnknownErrorMessageResponseValidationError) Key ¶
func (e PathUnknownErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (PathUnknownErrorMessageResponseValidationError) Reason ¶
func (e PathUnknownErrorMessageResponseValidationError) Reason() string
Reason function returns reason value.
type ValidationErrorMessageResponse ¶
type ValidationErrorMessageResponse struct { Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=message_definition.v1.ErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ValidationErrorMessageResponse) Descriptor
deprecated
func (*ValidationErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidationErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*ValidationErrorMessageResponse) GetCode ¶
func (x *ValidationErrorMessageResponse) GetCode() ErrorCode
func (*ValidationErrorMessageResponse) GetMessage ¶
func (x *ValidationErrorMessageResponse) GetMessage() string
func (*ValidationErrorMessageResponse) ProtoMessage ¶
func (*ValidationErrorMessageResponse) ProtoMessage()
func (*ValidationErrorMessageResponse) ProtoReflect ¶
func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*ValidationErrorMessageResponse) Reset ¶
func (x *ValidationErrorMessageResponse) Reset()
func (*ValidationErrorMessageResponse) String ¶
func (x *ValidationErrorMessageResponse) String() string
func (*ValidationErrorMessageResponse) Validate ¶
func (m *ValidationErrorMessageResponse) Validate() error
Validate checks the field values on ValidationErrorMessageResponse 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 (*ValidationErrorMessageResponse) ValidateAll ¶
func (m *ValidationErrorMessageResponse) ValidateAll() error
ValidateAll checks the field values on ValidationErrorMessageResponse 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 ValidationErrorMessageResponseMultiError, or nil if none found.
type ValidationErrorMessageResponseMultiError ¶
type ValidationErrorMessageResponseMultiError []error
ValidationErrorMessageResponseMultiError is an error wrapping multiple validation errors returned by ValidationErrorMessageResponse.ValidateAll() if the designated constraints aren't met.
func (ValidationErrorMessageResponseMultiError) AllErrors ¶
func (m ValidationErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidationErrorMessageResponseMultiError) Error ¶
func (m ValidationErrorMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidationErrorMessageResponseValidationError ¶
type ValidationErrorMessageResponseValidationError struct {
// contains filtered or unexported fields
}
ValidationErrorMessageResponseValidationError is the validation error returned by ValidationErrorMessageResponse.Validate if the designated constraints aren't met.
func (ValidationErrorMessageResponseValidationError) Cause ¶
func (e ValidationErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidationErrorMessageResponseValidationError) Error ¶
func (e ValidationErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidationErrorMessageResponseValidationError) ErrorName ¶
func (e ValidationErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidationErrorMessageResponseValidationError) Field ¶
func (e ValidationErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (ValidationErrorMessageResponseValidationError) Key ¶
func (e ValidationErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (ValidationErrorMessageResponseValidationError) Reason ¶
func (e ValidationErrorMessageResponseValidationError) Reason() string
Reason function returns reason value.