Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccountHTTPServer(s *http.Server, srv AccountHTTPServer)
- func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer)
- type AccountClient
- type AccountHTTPClient
- type AccountHTTPClientImpl
- func (c *AccountHTTPClientImpl) CreateAddresses(ctx context.Context, in *CreateAddressesRequest, opts ...http.CallOption) (*CreateAddressReply, error)
- func (c *AccountHTTPClientImpl) DeleteAddresses(ctx context.Context, in *DeleteAddressRequest, opts ...http.CallOption) (*DeleteAddressesReply, error)
- func (c *AccountHTTPClientImpl) GetAddresses(ctx context.Context, in *GetAddressesRequest, opts ...http.CallOption) (*GetAddressesReply, error)
- func (c *AccountHTTPClientImpl) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...http.CallOption) (*GetProfileResponse, error)
- func (c *AccountHTTPClientImpl) GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...http.CallOption) (*GetSettingsResponse, error)
- func (c *AccountHTTPClientImpl) UpdateAddresses(ctx context.Context, in *UpdateAddressesRequest, opts ...http.CallOption) (*UpdateAddressesReply, error)
- func (c *AccountHTTPClientImpl) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...http.CallOption) (*UpdateProfileResponse, error)
- func (c *AccountHTTPClientImpl) UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...http.CallOption) (*UpdateSettingsResponse, error)
- type AccountHTTPServer
- type AccountServer
- type CreateAddressReply
- func (*CreateAddressReply) Descriptor() ([]byte, []int)deprecated
- func (*CreateAddressReply) ProtoMessage()
- func (x *CreateAddressReply) ProtoReflect() protoreflect.Message
- func (x *CreateAddressReply) Reset()
- func (x *CreateAddressReply) String() string
- func (m *CreateAddressReply) Validate() error
- func (m *CreateAddressReply) ValidateAll() error
- type CreateAddressReplyMultiError
- type CreateAddressReplyValidationError
- func (e CreateAddressReplyValidationError) Cause() error
- func (e CreateAddressReplyValidationError) Error() string
- func (e CreateAddressReplyValidationError) ErrorName() string
- func (e CreateAddressReplyValidationError) Field() string
- func (e CreateAddressReplyValidationError) Key() bool
- func (e CreateAddressReplyValidationError) Reason() string
- type CreateAddressesRequest
- func (*CreateAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAddressesRequest) GetAddress() *data.Address
- func (x *CreateAddressesRequest) GetMetadata() *structpb.Struct
- func (x *CreateAddressesRequest) GetPhone() string
- func (x *CreateAddressesRequest) GetPrefer() bool
- func (x *CreateAddressesRequest) GetUsage() string
- func (*CreateAddressesRequest) ProtoMessage()
- func (x *CreateAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAddressesRequest) Reset()
- func (x *CreateAddressesRequest) String() string
- func (m *CreateAddressesRequest) Validate() error
- func (m *CreateAddressesRequest) ValidateAll() error
- type CreateAddressesRequestMultiError
- type CreateAddressesRequestValidationError
- func (e CreateAddressesRequestValidationError) Cause() error
- func (e CreateAddressesRequestValidationError) Error() string
- func (e CreateAddressesRequestValidationError) ErrorName() string
- func (e CreateAddressesRequestValidationError) Field() string
- func (e CreateAddressesRequestValidationError) Key() bool
- func (e CreateAddressesRequestValidationError) Reason() string
- type DeleteAddressRequest
- func (*DeleteAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAddressRequest) GetId() string
- func (*DeleteAddressRequest) ProtoMessage()
- func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAddressRequest) Reset()
- func (x *DeleteAddressRequest) String() string
- func (m *DeleteAddressRequest) Validate() error
- func (m *DeleteAddressRequest) ValidateAll() error
- type DeleteAddressRequestMultiError
- type DeleteAddressRequestValidationError
- func (e DeleteAddressRequestValidationError) Cause() error
- func (e DeleteAddressRequestValidationError) Error() string
- func (e DeleteAddressRequestValidationError) ErrorName() string
- func (e DeleteAddressRequestValidationError) Field() string
- func (e DeleteAddressRequestValidationError) Key() bool
- func (e DeleteAddressRequestValidationError) Reason() string
- type DeleteAddressesReply
- func (*DeleteAddressesReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteAddressesReply) ProtoMessage()
- func (x *DeleteAddressesReply) ProtoReflect() protoreflect.Message
- func (x *DeleteAddressesReply) Reset()
- func (x *DeleteAddressesReply) String() string
- func (m *DeleteAddressesReply) Validate() error
- func (m *DeleteAddressesReply) ValidateAll() error
- type DeleteAddressesReplyMultiError
- type DeleteAddressesReplyValidationError
- func (e DeleteAddressesReplyValidationError) Cause() error
- func (e DeleteAddressesReplyValidationError) Error() string
- func (e DeleteAddressesReplyValidationError) ErrorName() string
- func (e DeleteAddressesReplyValidationError) Field() string
- func (e DeleteAddressesReplyValidationError) Key() bool
- func (e DeleteAddressesReplyValidationError) Reason() string
- type GetAddressesReply
- func (*GetAddressesReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressesReply) GetAddresses() []*UserAddress
- func (*GetAddressesReply) ProtoMessage()
- func (x *GetAddressesReply) ProtoReflect() protoreflect.Message
- func (x *GetAddressesReply) Reset()
- func (x *GetAddressesReply) String() string
- func (m *GetAddressesReply) Validate() error
- func (m *GetAddressesReply) ValidateAll() error
- type GetAddressesReplyMultiError
- type GetAddressesReplyValidationError
- func (e GetAddressesReplyValidationError) Cause() error
- func (e GetAddressesReplyValidationError) Error() string
- func (e GetAddressesReplyValidationError) ErrorName() string
- func (e GetAddressesReplyValidationError) Field() string
- func (e GetAddressesReplyValidationError) Key() bool
- func (e GetAddressesReplyValidationError) Reason() string
- type GetAddressesRequest
- func (*GetAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAddressesRequest) ProtoMessage()
- func (x *GetAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAddressesRequest) Reset()
- func (x *GetAddressesRequest) String() string
- func (m *GetAddressesRequest) Validate() error
- func (m *GetAddressesRequest) ValidateAll() error
- type GetAddressesRequestMultiError
- type GetAddressesRequestValidationError
- func (e GetAddressesRequestValidationError) Cause() error
- func (e GetAddressesRequestValidationError) Error() string
- func (e GetAddressesRequestValidationError) ErrorName() string
- func (e GetAddressesRequestValidationError) Field() string
- func (e GetAddressesRequestValidationError) Key() bool
- func (e GetAddressesRequestValidationError) Reason() string
- type GetProfileRequest
- func (*GetProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetProfileRequest) ProtoMessage()
- func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileRequest) Reset()
- func (x *GetProfileRequest) String() string
- func (m *GetProfileRequest) Validate() error
- func (m *GetProfileRequest) ValidateAll() error
- type GetProfileRequestMultiError
- type GetProfileRequestValidationError
- func (e GetProfileRequestValidationError) Cause() error
- func (e GetProfileRequestValidationError) Error() string
- func (e GetProfileRequestValidationError) ErrorName() string
- func (e GetProfileRequestValidationError) Field() string
- func (e GetProfileRequestValidationError) Key() bool
- func (e GetProfileRequestValidationError) Reason() string
- type GetProfileResponse
- func (*GetProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileResponse) GetAvatar() *blob.BlobFile
- func (x *GetProfileResponse) GetBirthday() *timestamppb.Timestamp
- func (x *GetProfileResponse) GetCurrentTenant() *UserTenant
- func (x *GetProfileResponse) GetEmail() *wrapperspb.StringValue
- func (x *GetProfileResponse) GetGender() v1.Gender
- func (x *GetProfileResponse) GetId() string
- func (x *GetProfileResponse) GetName() *wrapperspb.StringValue
- func (x *GetProfileResponse) GetPhone() *wrapperspb.StringValue
- func (x *GetProfileResponse) GetRoles() []*v11.Role
- func (x *GetProfileResponse) GetTenants() []*UserTenant
- func (x *GetProfileResponse) GetUsername() *wrapperspb.StringValue
- func (*GetProfileResponse) ProtoMessage()
- func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetProfileResponse) Reset()
- func (x *GetProfileResponse) String() string
- func (m *GetProfileResponse) Validate() error
- func (m *GetProfileResponse) ValidateAll() error
- type GetProfileResponseMultiError
- type GetProfileResponseValidationError
- func (e GetProfileResponseValidationError) Cause() error
- func (e GetProfileResponseValidationError) Error() string
- func (e GetProfileResponseValidationError) ErrorName() string
- func (e GetProfileResponseValidationError) Field() string
- func (e GetProfileResponseValidationError) Key() bool
- func (e GetProfileResponseValidationError) Reason() string
- type GetSettingsRequest
- func (*GetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsRequest) GetFields() *fieldmaskpb.FieldMask
- func (x *GetSettingsRequest) GetFilter() *SettingsFilter
- func (*GetSettingsRequest) ProtoMessage()
- func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSettingsRequest) Reset()
- func (x *GetSettingsRequest) String() string
- func (m *GetSettingsRequest) Validate() error
- func (m *GetSettingsRequest) ValidateAll() error
- type GetSettingsRequestMultiError
- type GetSettingsRequestValidationError
- func (e GetSettingsRequestValidationError) Cause() error
- func (e GetSettingsRequestValidationError) Error() string
- func (e GetSettingsRequestValidationError) ErrorName() string
- func (e GetSettingsRequestValidationError) Field() string
- func (e GetSettingsRequestValidationError) Key() bool
- func (e GetSettingsRequestValidationError) Reason() string
- type GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsResponse) GetSettings() []*Settings
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (x *GetSettingsResponse) String() string
- func (m *GetSettingsResponse) Validate() error
- func (m *GetSettingsResponse) ValidateAll() error
- type GetSettingsResponseMultiError
- type GetSettingsResponseValidationError
- func (e GetSettingsResponseValidationError) Cause() error
- func (e GetSettingsResponseValidationError) Error() string
- func (e GetSettingsResponseValidationError) ErrorName() string
- func (e GetSettingsResponseValidationError) Field() string
- func (e GetSettingsResponseValidationError) Key() bool
- func (e GetSettingsResponseValidationError) Reason() string
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetKey() string
- func (x *Settings) GetValue() *data.DynamicValue
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- func (m *Settings) Validate() error
- func (m *Settings) ValidateAll() error
- type SettingsFilter
- func (*SettingsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsFilter) GetKey() *query.StringFilterOperation
- func (*SettingsFilter) ProtoMessage()
- func (x *SettingsFilter) ProtoReflect() protoreflect.Message
- func (x *SettingsFilter) Reset()
- func (x *SettingsFilter) String() string
- func (m *SettingsFilter) Validate() error
- func (m *SettingsFilter) ValidateAll() error
- type SettingsFilterMultiError
- type SettingsFilterValidationError
- func (e SettingsFilterValidationError) Cause() error
- func (e SettingsFilterValidationError) Error() string
- func (e SettingsFilterValidationError) ErrorName() string
- func (e SettingsFilterValidationError) Field() string
- func (e SettingsFilterValidationError) Key() bool
- func (e SettingsFilterValidationError) Reason() string
- type SettingsMultiError
- type SettingsValidationError
- type UnimplementedAccountServer
- func (UnimplementedAccountServer) CreateAddresses(context.Context, *CreateAddressesRequest) (*CreateAddressReply, error)
- func (UnimplementedAccountServer) DeleteAddresses(context.Context, *DeleteAddressRequest) (*DeleteAddressesReply, error)
- func (UnimplementedAccountServer) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesReply, error)
- func (UnimplementedAccountServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
- func (UnimplementedAccountServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
- func (UnimplementedAccountServer) UpdateAddresses(context.Context, *UpdateAddressesRequest) (*UpdateAddressesReply, error)
- func (UnimplementedAccountServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
- func (UnimplementedAccountServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
- type UnsafeAccountServer
- type UpdateAddress
- func (*UpdateAddress) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAddress) GetAddress() *data.Address
- func (x *UpdateAddress) GetId() string
- func (x *UpdateAddress) GetMetadata() *structpb.Struct
- func (x *UpdateAddress) GetPhone() string
- func (x *UpdateAddress) GetPrefer() bool
- func (x *UpdateAddress) GetUsage() string
- func (*UpdateAddress) ProtoMessage()
- func (x *UpdateAddress) ProtoReflect() protoreflect.Message
- func (x *UpdateAddress) Reset()
- func (x *UpdateAddress) String() string
- func (m *UpdateAddress) Validate() error
- func (m *UpdateAddress) ValidateAll() error
- type UpdateAddressMultiError
- type UpdateAddressValidationError
- func (e UpdateAddressValidationError) Cause() error
- func (e UpdateAddressValidationError) Error() string
- func (e UpdateAddressValidationError) ErrorName() string
- func (e UpdateAddressValidationError) Field() string
- func (e UpdateAddressValidationError) Key() bool
- func (e UpdateAddressValidationError) Reason() string
- type UpdateAddressesReply
- func (*UpdateAddressesReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAddressesReply) ProtoMessage()
- func (x *UpdateAddressesReply) ProtoReflect() protoreflect.Message
- func (x *UpdateAddressesReply) Reset()
- func (x *UpdateAddressesReply) String() string
- func (m *UpdateAddressesReply) Validate() error
- func (m *UpdateAddressesReply) ValidateAll() error
- type UpdateAddressesReplyMultiError
- type UpdateAddressesReplyValidationError
- func (e UpdateAddressesReplyValidationError) Cause() error
- func (e UpdateAddressesReplyValidationError) Error() string
- func (e UpdateAddressesReplyValidationError) ErrorName() string
- func (e UpdateAddressesReplyValidationError) Field() string
- func (e UpdateAddressesReplyValidationError) Key() bool
- func (e UpdateAddressesReplyValidationError) Reason() string
- type UpdateAddressesRequest
- func (*UpdateAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAddressesRequest) GetAddress() *UpdateAddress
- func (*UpdateAddressesRequest) ProtoMessage()
- func (x *UpdateAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAddressesRequest) Reset()
- func (x *UpdateAddressesRequest) String() string
- func (m *UpdateAddressesRequest) Validate() error
- func (m *UpdateAddressesRequest) ValidateAll() error
- type UpdateAddressesRequestMultiError
- type UpdateAddressesRequestValidationError
- func (e UpdateAddressesRequestValidationError) Cause() error
- func (e UpdateAddressesRequestValidationError) Error() string
- func (e UpdateAddressesRequestValidationError) ErrorName() string
- func (e UpdateAddressesRequestValidationError) Field() string
- func (e UpdateAddressesRequestValidationError) Key() bool
- func (e UpdateAddressesRequestValidationError) Reason() string
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetGender() v1.Gender
- func (x *UpdateProfileRequest) GetName() *wrapperspb.StringValue
- func (x *UpdateProfileRequest) GetUsername() *wrapperspb.StringValue
- func (*UpdateProfileRequest) ProtoMessage()
- func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileRequest) Reset()
- func (x *UpdateProfileRequest) String() string
- func (m *UpdateProfileRequest) Validate() error
- func (m *UpdateProfileRequest) ValidateAll() error
- type UpdateProfileRequestMultiError
- type UpdateProfileRequestValidationError
- func (e UpdateProfileRequestValidationError) Cause() error
- func (e UpdateProfileRequestValidationError) Error() string
- func (e UpdateProfileRequestValidationError) ErrorName() string
- func (e UpdateProfileRequestValidationError) Field() string
- func (e UpdateProfileRequestValidationError) Key() bool
- func (e UpdateProfileRequestValidationError) Reason() string
- type UpdateProfileResponse
- func (*UpdateProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateProfileResponse) ProtoMessage()
- func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileResponse) Reset()
- func (x *UpdateProfileResponse) String() string
- func (m *UpdateProfileResponse) Validate() error
- func (m *UpdateProfileResponse) ValidateAll() error
- type UpdateProfileResponseMultiError
- type UpdateProfileResponseValidationError
- func (e UpdateProfileResponseValidationError) Cause() error
- func (e UpdateProfileResponseValidationError) Error() string
- func (e UpdateProfileResponseValidationError) ErrorName() string
- func (e UpdateProfileResponseValidationError) Field() string
- func (e UpdateProfileResponseValidationError) Key() bool
- func (e UpdateProfileResponseValidationError) Reason() string
- type UpdateSettings
- func (*UpdateSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettings) GetKey() string
- func (x *UpdateSettings) GetReset_() bool
- func (x *UpdateSettings) GetValue() *data.DynamicValue
- func (*UpdateSettings) ProtoMessage()
- func (x *UpdateSettings) ProtoReflect() protoreflect.Message
- func (x *UpdateSettings) Reset()
- func (x *UpdateSettings) String() string
- func (m *UpdateSettings) Validate() error
- func (m *UpdateSettings) ValidateAll() error
- type UpdateSettingsMultiError
- type UpdateSettingsRequest
- func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsRequest) GetSettings() []*UpdateSettings
- func (*UpdateSettingsRequest) ProtoMessage()
- func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsRequest) Reset()
- func (x *UpdateSettingsRequest) String() string
- func (m *UpdateSettingsRequest) Validate() error
- func (m *UpdateSettingsRequest) ValidateAll() error
- type UpdateSettingsRequestMultiError
- type UpdateSettingsRequestValidationError
- func (e UpdateSettingsRequestValidationError) Cause() error
- func (e UpdateSettingsRequestValidationError) Error() string
- func (e UpdateSettingsRequestValidationError) ErrorName() string
- func (e UpdateSettingsRequestValidationError) Field() string
- func (e UpdateSettingsRequestValidationError) Key() bool
- func (e UpdateSettingsRequestValidationError) Reason() string
- type UpdateSettingsResponse
- func (*UpdateSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsResponse) GetSettings() []*Settings
- func (*UpdateSettingsResponse) ProtoMessage()
- func (x *UpdateSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsResponse) Reset()
- func (x *UpdateSettingsResponse) String() string
- func (m *UpdateSettingsResponse) Validate() error
- func (m *UpdateSettingsResponse) ValidateAll() error
- type UpdateSettingsResponseMultiError
- type UpdateSettingsResponseValidationError
- func (e UpdateSettingsResponseValidationError) Cause() error
- func (e UpdateSettingsResponseValidationError) Error() string
- func (e UpdateSettingsResponseValidationError) ErrorName() string
- func (e UpdateSettingsResponseValidationError) Field() string
- func (e UpdateSettingsResponseValidationError) Key() bool
- func (e UpdateSettingsResponseValidationError) Reason() string
- type UpdateSettingsValidationError
- func (e UpdateSettingsValidationError) Cause() error
- func (e UpdateSettingsValidationError) Error() string
- func (e UpdateSettingsValidationError) ErrorName() string
- func (e UpdateSettingsValidationError) Field() string
- func (e UpdateSettingsValidationError) Key() bool
- func (e UpdateSettingsValidationError) Reason() string
- type UserAddress
- func (*UserAddress) Descriptor() ([]byte, []int)deprecated
- func (x *UserAddress) GetAddress() *data.Address
- func (x *UserAddress) GetId() string
- func (x *UserAddress) GetMetadata() *structpb.Struct
- func (x *UserAddress) GetPhone() string
- func (x *UserAddress) GetPrefer() bool
- func (x *UserAddress) GetUsage() string
- func (*UserAddress) ProtoMessage()
- func (x *UserAddress) ProtoReflect() protoreflect.Message
- func (x *UserAddress) Reset()
- func (x *UserAddress) String() string
- func (m *UserAddress) Validate() error
- func (m *UserAddress) ValidateAll() error
- type UserAddressMultiError
- type UserAddressValidationError
- func (e UserAddressValidationError) Cause() error
- func (e UserAddressValidationError) Error() string
- func (e UserAddressValidationError) ErrorName() string
- func (e UserAddressValidationError) Field() string
- func (e UserAddressValidationError) Key() bool
- func (e UserAddressValidationError) Reason() string
- type UserTenant
- func (*UserTenant) Descriptor() ([]byte, []int)deprecated
- func (x *UserTenant) GetIsHost() bool
- func (x *UserTenant) GetTenant() *v12.TenantInfo
- func (x *UserTenant) GetTenantId() string
- func (x *UserTenant) GetUserId() string
- func (*UserTenant) ProtoMessage()
- func (x *UserTenant) ProtoReflect() protoreflect.Message
- func (x *UserTenant) Reset()
- func (x *UserTenant) String() string
- func (m *UserTenant) Validate() error
- func (m *UserTenant) ValidateAll() error
- type UserTenantMultiError
- type UserTenantValidationError
Constants ¶
const OperationAccountCreateAddresses = "/user.api.account.v1.Account/CreateAddresses"
const OperationAccountDeleteAddresses = "/user.api.account.v1.Account/DeleteAddresses"
const OperationAccountGetAddresses = "/user.api.account.v1.Account/GetAddresses"
const OperationAccountGetProfile = "/user.api.account.v1.Account/GetProfile"
const OperationAccountGetSettings = "/user.api.account.v1.Account/GetSettings"
const OperationAccountUpdateAddresses = "/user.api.account.v1.Account/UpdateAddresses"
const OperationAccountUpdateProfile = "/user.api.account.v1.Account/UpdateProfile"
const OperationAccountUpdateSettings = "/user.api.account.v1.Account/UpdateSettings"
Variables ¶
var Account_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.api.account.v1.Account", HandlerType: (*AccountServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProfile", Handler: _Account_GetProfile_Handler, }, { MethodName: "UpdateProfile", Handler: _Account_UpdateProfile_Handler, }, { MethodName: "GetSettings", Handler: _Account_GetSettings_Handler, }, { MethodName: "UpdateSettings", Handler: _Account_UpdateSettings_Handler, }, { MethodName: "GetAddresses", Handler: _Account_GetAddresses_Handler, }, { MethodName: "CreateAddresses", Handler: _Account_CreateAddresses_Handler, }, { MethodName: "UpdateAddresses", Handler: _Account_UpdateAddresses_Handler, }, { MethodName: "DeleteAddresses", Handler: _Account_DeleteAddresses_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/api/account/v1/account.proto", }
Account_ServiceDesc is the grpc.ServiceDesc for Account service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_user_api_account_v1_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountHTTPServer ¶
func RegisterAccountHTTPServer(s *http.Server, srv AccountHTTPServer)
func RegisterAccountServer ¶
func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer)
Types ¶
type AccountClient ¶
type AccountClient interface { GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error) //UpdateProfile //Avatar: POST form file /v1/account/avatar UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error) GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*GetSettingsResponse, error) UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*UpdateSettingsResponse, error) GetAddresses(ctx context.Context, in *GetAddressesRequest, opts ...grpc.CallOption) (*GetAddressesReply, error) CreateAddresses(ctx context.Context, in *CreateAddressesRequest, opts ...grpc.CallOption) (*CreateAddressReply, error) UpdateAddresses(ctx context.Context, in *UpdateAddressesRequest, opts ...grpc.CallOption) (*UpdateAddressesReply, error) DeleteAddresses(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*DeleteAddressesReply, error) }
AccountClient is the client API for Account service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccountClient ¶
func NewAccountClient(cc grpc.ClientConnInterface) AccountClient
type AccountHTTPClient ¶
type AccountHTTPClient interface { CreateAddresses(ctx context.Context, req *CreateAddressesRequest, opts ...http.CallOption) (rsp *CreateAddressReply, err error) DeleteAddresses(ctx context.Context, req *DeleteAddressRequest, opts ...http.CallOption) (rsp *DeleteAddressesReply, err error) GetAddresses(ctx context.Context, req *GetAddressesRequest, opts ...http.CallOption) (rsp *GetAddressesReply, err error) GetProfile(ctx context.Context, req *GetProfileRequest, opts ...http.CallOption) (rsp *GetProfileResponse, err error) GetSettings(ctx context.Context, req *GetSettingsRequest, opts ...http.CallOption) (rsp *GetSettingsResponse, err error) UpdateAddresses(ctx context.Context, req *UpdateAddressesRequest, opts ...http.CallOption) (rsp *UpdateAddressesReply, err error) UpdateProfile(ctx context.Context, req *UpdateProfileRequest, opts ...http.CallOption) (rsp *UpdateProfileResponse, err error) UpdateSettings(ctx context.Context, req *UpdateSettingsRequest, opts ...http.CallOption) (rsp *UpdateSettingsResponse, err error) }
func NewAccountHTTPClient ¶
func NewAccountHTTPClient(client *http.Client) AccountHTTPClient
type AccountHTTPClientImpl ¶
type AccountHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AccountHTTPClientImpl) CreateAddresses ¶
func (c *AccountHTTPClientImpl) CreateAddresses(ctx context.Context, in *CreateAddressesRequest, opts ...http.CallOption) (*CreateAddressReply, error)
func (*AccountHTTPClientImpl) DeleteAddresses ¶
func (c *AccountHTTPClientImpl) DeleteAddresses(ctx context.Context, in *DeleteAddressRequest, opts ...http.CallOption) (*DeleteAddressesReply, error)
func (*AccountHTTPClientImpl) GetAddresses ¶
func (c *AccountHTTPClientImpl) GetAddresses(ctx context.Context, in *GetAddressesRequest, opts ...http.CallOption) (*GetAddressesReply, error)
func (*AccountHTTPClientImpl) GetProfile ¶
func (c *AccountHTTPClientImpl) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...http.CallOption) (*GetProfileResponse, error)
func (*AccountHTTPClientImpl) GetSettings ¶
func (c *AccountHTTPClientImpl) GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...http.CallOption) (*GetSettingsResponse, error)
func (*AccountHTTPClientImpl) UpdateAddresses ¶
func (c *AccountHTTPClientImpl) UpdateAddresses(ctx context.Context, in *UpdateAddressesRequest, opts ...http.CallOption) (*UpdateAddressesReply, error)
func (*AccountHTTPClientImpl) UpdateProfile ¶
func (c *AccountHTTPClientImpl) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...http.CallOption) (*UpdateProfileResponse, error)
func (*AccountHTTPClientImpl) UpdateSettings ¶
func (c *AccountHTTPClientImpl) UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...http.CallOption) (*UpdateSettingsResponse, error)
type AccountHTTPServer ¶
type AccountHTTPServer interface { CreateAddresses(context.Context, *CreateAddressesRequest) (*CreateAddressReply, error) DeleteAddresses(context.Context, *DeleteAddressRequest) (*DeleteAddressesReply, error) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesReply, error) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error) UpdateAddresses(context.Context, *UpdateAddressesRequest) (*UpdateAddressesReply, error) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error) }
type AccountServer ¶
type AccountServer interface { GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error) //UpdateProfile //Avatar: POST form file /v1/account/avatar UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesReply, error) CreateAddresses(context.Context, *CreateAddressesRequest) (*CreateAddressReply, error) UpdateAddresses(context.Context, *UpdateAddressesRequest) (*UpdateAddressesReply, error) DeleteAddresses(context.Context, *DeleteAddressRequest) (*DeleteAddressesReply, error) }
AccountServer is the server API for Account service. All implementations should embed UnimplementedAccountServer for forward compatibility
func NewAccountClientProxy ¶
func NewAccountClientProxy(cc AccountClient) AccountServer
type CreateAddressReply ¶
type CreateAddressReply struct {
// contains filtered or unexported fields
}
func (*CreateAddressReply) Descriptor
deprecated
func (*CreateAddressReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateAddressReply.ProtoReflect.Descriptor instead.
func (*CreateAddressReply) ProtoMessage ¶
func (*CreateAddressReply) ProtoMessage()
func (*CreateAddressReply) ProtoReflect ¶
func (x *CreateAddressReply) ProtoReflect() protoreflect.Message
func (*CreateAddressReply) Reset ¶
func (x *CreateAddressReply) Reset()
func (*CreateAddressReply) String ¶
func (x *CreateAddressReply) String() string
func (*CreateAddressReply) Validate ¶
func (m *CreateAddressReply) Validate() error
Validate checks the field values on CreateAddressReply 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 (*CreateAddressReply) ValidateAll ¶
func (m *CreateAddressReply) ValidateAll() error
ValidateAll checks the field values on CreateAddressReply 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 CreateAddressReplyMultiError, or nil if none found.
type CreateAddressReplyMultiError ¶
type CreateAddressReplyMultiError []error
CreateAddressReplyMultiError is an error wrapping multiple validation errors returned by CreateAddressReply.ValidateAll() if the designated constraints aren't met.
func (CreateAddressReplyMultiError) AllErrors ¶
func (m CreateAddressReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAddressReplyMultiError) Error ¶
func (m CreateAddressReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAddressReplyValidationError ¶
type CreateAddressReplyValidationError struct {
// contains filtered or unexported fields
}
CreateAddressReplyValidationError is the validation error returned by CreateAddressReply.Validate if the designated constraints aren't met.
func (CreateAddressReplyValidationError) Cause ¶
func (e CreateAddressReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAddressReplyValidationError) Error ¶
func (e CreateAddressReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAddressReplyValidationError) ErrorName ¶
func (e CreateAddressReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAddressReplyValidationError) Field ¶
func (e CreateAddressReplyValidationError) Field() string
Field function returns field value.
func (CreateAddressReplyValidationError) Key ¶
func (e CreateAddressReplyValidationError) Key() bool
Key function returns key value.
func (CreateAddressReplyValidationError) Reason ¶
func (e CreateAddressReplyValidationError) Reason() string
Reason function returns reason value.
type CreateAddressesRequest ¶
type CreateAddressesRequest struct { Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` Prefer bool `protobuf:"varint,5,opt,name=prefer,proto3" json:"prefer,omitempty"` Address *data.Address `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateAddressesRequest) Descriptor
deprecated
func (*CreateAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAddressesRequest.ProtoReflect.Descriptor instead.
func (*CreateAddressesRequest) GetAddress ¶
func (x *CreateAddressesRequest) GetAddress() *data.Address
func (*CreateAddressesRequest) GetMetadata ¶
func (x *CreateAddressesRequest) GetMetadata() *structpb.Struct
func (*CreateAddressesRequest) GetPhone ¶
func (x *CreateAddressesRequest) GetPhone() string
func (*CreateAddressesRequest) GetPrefer ¶
func (x *CreateAddressesRequest) GetPrefer() bool
func (*CreateAddressesRequest) GetUsage ¶
func (x *CreateAddressesRequest) GetUsage() string
func (*CreateAddressesRequest) ProtoMessage ¶
func (*CreateAddressesRequest) ProtoMessage()
func (*CreateAddressesRequest) ProtoReflect ¶
func (x *CreateAddressesRequest) ProtoReflect() protoreflect.Message
func (*CreateAddressesRequest) Reset ¶
func (x *CreateAddressesRequest) Reset()
func (*CreateAddressesRequest) String ¶
func (x *CreateAddressesRequest) String() string
func (*CreateAddressesRequest) Validate ¶
func (m *CreateAddressesRequest) Validate() error
Validate checks the field values on CreateAddressesRequest 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 (*CreateAddressesRequest) ValidateAll ¶
func (m *CreateAddressesRequest) ValidateAll() error
ValidateAll checks the field values on CreateAddressesRequest 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 CreateAddressesRequestMultiError, or nil if none found.
type CreateAddressesRequestMultiError ¶
type CreateAddressesRequestMultiError []error
CreateAddressesRequestMultiError is an error wrapping multiple validation errors returned by CreateAddressesRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAddressesRequestMultiError) AllErrors ¶
func (m CreateAddressesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAddressesRequestMultiError) Error ¶
func (m CreateAddressesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAddressesRequestValidationError ¶
type CreateAddressesRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAddressesRequestValidationError is the validation error returned by CreateAddressesRequest.Validate if the designated constraints aren't met.
func (CreateAddressesRequestValidationError) Cause ¶
func (e CreateAddressesRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAddressesRequestValidationError) Error ¶
func (e CreateAddressesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAddressesRequestValidationError) ErrorName ¶
func (e CreateAddressesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAddressesRequestValidationError) Field ¶
func (e CreateAddressesRequestValidationError) Field() string
Field function returns field value.
func (CreateAddressesRequestValidationError) Key ¶
func (e CreateAddressesRequestValidationError) Key() bool
Key function returns key value.
func (CreateAddressesRequestValidationError) Reason ¶
func (e CreateAddressesRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteAddressRequest ¶
type DeleteAddressRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAddressRequest) Descriptor
deprecated
func (*DeleteAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAddressRequest.ProtoReflect.Descriptor instead.
func (*DeleteAddressRequest) GetId ¶
func (x *DeleteAddressRequest) GetId() string
func (*DeleteAddressRequest) ProtoMessage ¶
func (*DeleteAddressRequest) ProtoMessage()
func (*DeleteAddressRequest) ProtoReflect ¶
func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message
func (*DeleteAddressRequest) Reset ¶
func (x *DeleteAddressRequest) Reset()
func (*DeleteAddressRequest) String ¶
func (x *DeleteAddressRequest) String() string
func (*DeleteAddressRequest) Validate ¶
func (m *DeleteAddressRequest) Validate() error
Validate checks the field values on DeleteAddressRequest 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 (*DeleteAddressRequest) ValidateAll ¶
func (m *DeleteAddressRequest) ValidateAll() error
ValidateAll checks the field values on DeleteAddressRequest 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 DeleteAddressRequestMultiError, or nil if none found.
type DeleteAddressRequestMultiError ¶
type DeleteAddressRequestMultiError []error
DeleteAddressRequestMultiError is an error wrapping multiple validation errors returned by DeleteAddressRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteAddressRequestMultiError) AllErrors ¶
func (m DeleteAddressRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAddressRequestMultiError) Error ¶
func (m DeleteAddressRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAddressRequestValidationError ¶
type DeleteAddressRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteAddressRequestValidationError is the validation error returned by DeleteAddressRequest.Validate if the designated constraints aren't met.
func (DeleteAddressRequestValidationError) Cause ¶
func (e DeleteAddressRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteAddressRequestValidationError) Error ¶
func (e DeleteAddressRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAddressRequestValidationError) ErrorName ¶
func (e DeleteAddressRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAddressRequestValidationError) Field ¶
func (e DeleteAddressRequestValidationError) Field() string
Field function returns field value.
func (DeleteAddressRequestValidationError) Key ¶
func (e DeleteAddressRequestValidationError) Key() bool
Key function returns key value.
func (DeleteAddressRequestValidationError) Reason ¶
func (e DeleteAddressRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteAddressesReply ¶
type DeleteAddressesReply struct {
// contains filtered or unexported fields
}
func (*DeleteAddressesReply) Descriptor
deprecated
func (*DeleteAddressesReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAddressesReply.ProtoReflect.Descriptor instead.
func (*DeleteAddressesReply) ProtoMessage ¶
func (*DeleteAddressesReply) ProtoMessage()
func (*DeleteAddressesReply) ProtoReflect ¶
func (x *DeleteAddressesReply) ProtoReflect() protoreflect.Message
func (*DeleteAddressesReply) Reset ¶
func (x *DeleteAddressesReply) Reset()
func (*DeleteAddressesReply) String ¶
func (x *DeleteAddressesReply) String() string
func (*DeleteAddressesReply) Validate ¶
func (m *DeleteAddressesReply) Validate() error
Validate checks the field values on DeleteAddressesReply 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 (*DeleteAddressesReply) ValidateAll ¶
func (m *DeleteAddressesReply) ValidateAll() error
ValidateAll checks the field values on DeleteAddressesReply 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 DeleteAddressesReplyMultiError, or nil if none found.
type DeleteAddressesReplyMultiError ¶
type DeleteAddressesReplyMultiError []error
DeleteAddressesReplyMultiError is an error wrapping multiple validation errors returned by DeleteAddressesReply.ValidateAll() if the designated constraints aren't met.
func (DeleteAddressesReplyMultiError) AllErrors ¶
func (m DeleteAddressesReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAddressesReplyMultiError) Error ¶
func (m DeleteAddressesReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAddressesReplyValidationError ¶
type DeleteAddressesReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteAddressesReplyValidationError is the validation error returned by DeleteAddressesReply.Validate if the designated constraints aren't met.
func (DeleteAddressesReplyValidationError) Cause ¶
func (e DeleteAddressesReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAddressesReplyValidationError) Error ¶
func (e DeleteAddressesReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAddressesReplyValidationError) ErrorName ¶
func (e DeleteAddressesReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAddressesReplyValidationError) Field ¶
func (e DeleteAddressesReplyValidationError) Field() string
Field function returns field value.
func (DeleteAddressesReplyValidationError) Key ¶
func (e DeleteAddressesReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAddressesReplyValidationError) Reason ¶
func (e DeleteAddressesReplyValidationError) Reason() string
Reason function returns reason value.
type GetAddressesReply ¶
type GetAddressesReply struct { Addresses []*UserAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*GetAddressesReply) Descriptor
deprecated
func (*GetAddressesReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressesReply.ProtoReflect.Descriptor instead.
func (*GetAddressesReply) GetAddresses ¶
func (x *GetAddressesReply) GetAddresses() []*UserAddress
func (*GetAddressesReply) ProtoMessage ¶
func (*GetAddressesReply) ProtoMessage()
func (*GetAddressesReply) ProtoReflect ¶
func (x *GetAddressesReply) ProtoReflect() protoreflect.Message
func (*GetAddressesReply) Reset ¶
func (x *GetAddressesReply) Reset()
func (*GetAddressesReply) String ¶
func (x *GetAddressesReply) String() string
func (*GetAddressesReply) Validate ¶
func (m *GetAddressesReply) Validate() error
Validate checks the field values on GetAddressesReply 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 (*GetAddressesReply) ValidateAll ¶
func (m *GetAddressesReply) ValidateAll() error
ValidateAll checks the field values on GetAddressesReply 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 GetAddressesReplyMultiError, or nil if none found.
type GetAddressesReplyMultiError ¶
type GetAddressesReplyMultiError []error
GetAddressesReplyMultiError is an error wrapping multiple validation errors returned by GetAddressesReply.ValidateAll() if the designated constraints aren't met.
func (GetAddressesReplyMultiError) AllErrors ¶
func (m GetAddressesReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAddressesReplyMultiError) Error ¶
func (m GetAddressesReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAddressesReplyValidationError ¶
type GetAddressesReplyValidationError struct {
// contains filtered or unexported fields
}
GetAddressesReplyValidationError is the validation error returned by GetAddressesReply.Validate if the designated constraints aren't met.
func (GetAddressesReplyValidationError) Cause ¶
func (e GetAddressesReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAddressesReplyValidationError) Error ¶
func (e GetAddressesReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAddressesReplyValidationError) ErrorName ¶
func (e GetAddressesReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAddressesReplyValidationError) Field ¶
func (e GetAddressesReplyValidationError) Field() string
Field function returns field value.
func (GetAddressesReplyValidationError) Key ¶
func (e GetAddressesReplyValidationError) Key() bool
Key function returns key value.
func (GetAddressesReplyValidationError) Reason ¶
func (e GetAddressesReplyValidationError) Reason() string
Reason function returns reason value.
type GetAddressesRequest ¶
type GetAddressesRequest struct {
// contains filtered or unexported fields
}
func (*GetAddressesRequest) Descriptor
deprecated
func (*GetAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressesRequest.ProtoReflect.Descriptor instead.
func (*GetAddressesRequest) ProtoMessage ¶
func (*GetAddressesRequest) ProtoMessage()
func (*GetAddressesRequest) ProtoReflect ¶
func (x *GetAddressesRequest) ProtoReflect() protoreflect.Message
func (*GetAddressesRequest) Reset ¶
func (x *GetAddressesRequest) Reset()
func (*GetAddressesRequest) String ¶
func (x *GetAddressesRequest) String() string
func (*GetAddressesRequest) Validate ¶
func (m *GetAddressesRequest) Validate() error
Validate checks the field values on GetAddressesRequest 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 (*GetAddressesRequest) ValidateAll ¶
func (m *GetAddressesRequest) ValidateAll() error
ValidateAll checks the field values on GetAddressesRequest 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 GetAddressesRequestMultiError, or nil if none found.
type GetAddressesRequestMultiError ¶
type GetAddressesRequestMultiError []error
GetAddressesRequestMultiError is an error wrapping multiple validation errors returned by GetAddressesRequest.ValidateAll() if the designated constraints aren't met.
func (GetAddressesRequestMultiError) AllErrors ¶
func (m GetAddressesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAddressesRequestMultiError) Error ¶
func (m GetAddressesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAddressesRequestValidationError ¶
type GetAddressesRequestValidationError struct {
// contains filtered or unexported fields
}
GetAddressesRequestValidationError is the validation error returned by GetAddressesRequest.Validate if the designated constraints aren't met.
func (GetAddressesRequestValidationError) Cause ¶
func (e GetAddressesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAddressesRequestValidationError) Error ¶
func (e GetAddressesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAddressesRequestValidationError) ErrorName ¶
func (e GetAddressesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAddressesRequestValidationError) Field ¶
func (e GetAddressesRequestValidationError) Field() string
Field function returns field value.
func (GetAddressesRequestValidationError) Key ¶
func (e GetAddressesRequestValidationError) Key() bool
Key function returns key value.
func (GetAddressesRequestValidationError) Reason ¶
func (e GetAddressesRequestValidationError) Reason() string
Reason function returns reason value.
type GetProfileRequest ¶
type GetProfileRequest struct {
// contains filtered or unexported fields
}
func (*GetProfileRequest) Descriptor
deprecated
func (*GetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) ProtoMessage ¶
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) ProtoReflect ¶
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProfileRequest) Reset ¶
func (x *GetProfileRequest) Reset()
func (*GetProfileRequest) String ¶
func (x *GetProfileRequest) String() string
func (*GetProfileRequest) Validate ¶
func (m *GetProfileRequest) Validate() error
Validate checks the field values on GetProfileRequest 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 (*GetProfileRequest) ValidateAll ¶
func (m *GetProfileRequest) ValidateAll() error
ValidateAll checks the field values on GetProfileRequest 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 GetProfileRequestMultiError, or nil if none found.
type GetProfileRequestMultiError ¶
type GetProfileRequestMultiError []error
GetProfileRequestMultiError is an error wrapping multiple validation errors returned by GetProfileRequest.ValidateAll() if the designated constraints aren't met.
func (GetProfileRequestMultiError) AllErrors ¶
func (m GetProfileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileRequestMultiError) Error ¶
func (m GetProfileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileRequestValidationError ¶
type GetProfileRequestValidationError struct {
// contains filtered or unexported fields
}
GetProfileRequestValidationError is the validation error returned by GetProfileRequest.Validate if the designated constraints aren't met.
func (GetProfileRequestValidationError) Cause ¶
func (e GetProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProfileRequestValidationError) Error ¶
func (e GetProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileRequestValidationError) ErrorName ¶
func (e GetProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileRequestValidationError) Field ¶
func (e GetProfileRequestValidationError) Field() string
Field function returns field value.
func (GetProfileRequestValidationError) Key ¶
func (e GetProfileRequestValidationError) Key() bool
Key function returns key value.
func (GetProfileRequestValidationError) Reason ¶
func (e GetProfileRequestValidationError) Reason() string
Reason function returns reason value.
type GetProfileResponse ¶
type GetProfileResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Phone *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` Birthday *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=birthday,proto3,oneof" json:"birthday,omitempty"` // Gender v1.Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=user.api.user.v1.Gender" json:"gender,omitempty"` Roles []*v11.Role `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` // user available tenants Tenants []*UserTenant `protobuf:"bytes,9,rep,name=tenants,proto3" json:"tenants,omitempty"` Avatar *blob.BlobFile `protobuf:"bytes,10,opt,name=avatar,proto3" json:"avatar,omitempty"` CurrentTenant *UserTenant `protobuf:"bytes,11,opt,name=current_tenant,json=currentTenant,proto3" json:"current_tenant,omitempty"` // contains filtered or unexported fields }
func (*GetProfileResponse) Descriptor
deprecated
func (*GetProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.
func (*GetProfileResponse) GetAvatar ¶
func (x *GetProfileResponse) GetAvatar() *blob.BlobFile
func (*GetProfileResponse) GetBirthday ¶
func (x *GetProfileResponse) GetBirthday() *timestamppb.Timestamp
func (*GetProfileResponse) GetCurrentTenant ¶
func (x *GetProfileResponse) GetCurrentTenant() *UserTenant
func (*GetProfileResponse) GetEmail ¶
func (x *GetProfileResponse) GetEmail() *wrapperspb.StringValue
func (*GetProfileResponse) GetGender ¶
func (x *GetProfileResponse) GetGender() v1.Gender
func (*GetProfileResponse) GetId ¶
func (x *GetProfileResponse) GetId() string
func (*GetProfileResponse) GetName ¶
func (x *GetProfileResponse) GetName() *wrapperspb.StringValue
func (*GetProfileResponse) GetPhone ¶
func (x *GetProfileResponse) GetPhone() *wrapperspb.StringValue
func (*GetProfileResponse) GetRoles ¶
func (x *GetProfileResponse) GetRoles() []*v11.Role
func (*GetProfileResponse) GetTenants ¶
func (x *GetProfileResponse) GetTenants() []*UserTenant
func (*GetProfileResponse) GetUsername ¶
func (x *GetProfileResponse) GetUsername() *wrapperspb.StringValue
func (*GetProfileResponse) ProtoMessage ¶
func (*GetProfileResponse) ProtoMessage()
func (*GetProfileResponse) ProtoReflect ¶
func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
func (*GetProfileResponse) Reset ¶
func (x *GetProfileResponse) Reset()
func (*GetProfileResponse) String ¶
func (x *GetProfileResponse) String() string
func (*GetProfileResponse) Validate ¶
func (m *GetProfileResponse) Validate() error
Validate checks the field values on GetProfileResponse 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 (*GetProfileResponse) ValidateAll ¶
func (m *GetProfileResponse) ValidateAll() error
ValidateAll checks the field values on GetProfileResponse 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 GetProfileResponseMultiError, or nil if none found.
type GetProfileResponseMultiError ¶
type GetProfileResponseMultiError []error
GetProfileResponseMultiError is an error wrapping multiple validation errors returned by GetProfileResponse.ValidateAll() if the designated constraints aren't met.
func (GetProfileResponseMultiError) AllErrors ¶
func (m GetProfileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileResponseMultiError) Error ¶
func (m GetProfileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileResponseValidationError ¶
type GetProfileResponseValidationError struct {
// contains filtered or unexported fields
}
GetProfileResponseValidationError is the validation error returned by GetProfileResponse.Validate if the designated constraints aren't met.
func (GetProfileResponseValidationError) Cause ¶
func (e GetProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProfileResponseValidationError) Error ¶
func (e GetProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileResponseValidationError) ErrorName ¶
func (e GetProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileResponseValidationError) Field ¶
func (e GetProfileResponseValidationError) Field() string
Field function returns field value.
func (GetProfileResponseValidationError) Key ¶
func (e GetProfileResponseValidationError) Key() bool
Key function returns key value.
func (GetProfileResponseValidationError) Reason ¶
func (e GetProfileResponseValidationError) Reason() string
Reason function returns reason value.
type GetSettingsRequest ¶
type GetSettingsRequest struct { Fields *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=fields,proto3" json:"fields,omitempty"` Filter *SettingsFilter `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*GetSettingsRequest) Descriptor
deprecated
func (*GetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSettingsRequest) GetFields ¶
func (x *GetSettingsRequest) GetFields() *fieldmaskpb.FieldMask
func (*GetSettingsRequest) GetFilter ¶
func (x *GetSettingsRequest) GetFilter() *SettingsFilter
func (*GetSettingsRequest) ProtoMessage ¶
func (*GetSettingsRequest) ProtoMessage()
func (*GetSettingsRequest) ProtoReflect ¶
func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetSettingsRequest) Reset ¶
func (x *GetSettingsRequest) Reset()
func (*GetSettingsRequest) String ¶
func (x *GetSettingsRequest) String() string
func (*GetSettingsRequest) Validate ¶
func (m *GetSettingsRequest) Validate() error
Validate checks the field values on GetSettingsRequest 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 (*GetSettingsRequest) ValidateAll ¶
func (m *GetSettingsRequest) ValidateAll() error
ValidateAll checks the field values on GetSettingsRequest 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 GetSettingsRequestMultiError, or nil if none found.
type GetSettingsRequestMultiError ¶
type GetSettingsRequestMultiError []error
GetSettingsRequestMultiError is an error wrapping multiple validation errors returned by GetSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (GetSettingsRequestMultiError) AllErrors ¶
func (m GetSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSettingsRequestMultiError) Error ¶
func (m GetSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSettingsRequestValidationError ¶
type GetSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
GetSettingsRequestValidationError is the validation error returned by GetSettingsRequest.Validate if the designated constraints aren't met.
func (GetSettingsRequestValidationError) Cause ¶
func (e GetSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSettingsRequestValidationError) Error ¶
func (e GetSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSettingsRequestValidationError) ErrorName ¶
func (e GetSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSettingsRequestValidationError) Field ¶
func (e GetSettingsRequestValidationError) Field() string
Field function returns field value.
func (GetSettingsRequestValidationError) Key ¶
func (e GetSettingsRequestValidationError) Key() bool
Key function returns key value.
func (GetSettingsRequestValidationError) Reason ¶
func (e GetSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type GetSettingsResponse ¶
type GetSettingsResponse struct { Settings []*Settings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*GetSettingsResponse) Descriptor
deprecated
func (*GetSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetSettingsResponse) GetSettings ¶
func (x *GetSettingsResponse) GetSettings() []*Settings
func (*GetSettingsResponse) ProtoMessage ¶
func (*GetSettingsResponse) ProtoMessage()
func (*GetSettingsResponse) ProtoReflect ¶
func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetSettingsResponse) Reset ¶
func (x *GetSettingsResponse) Reset()
func (*GetSettingsResponse) String ¶
func (x *GetSettingsResponse) String() string
func (*GetSettingsResponse) Validate ¶
func (m *GetSettingsResponse) Validate() error
Validate checks the field values on GetSettingsResponse 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 (*GetSettingsResponse) ValidateAll ¶
func (m *GetSettingsResponse) ValidateAll() error
ValidateAll checks the field values on GetSettingsResponse 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 GetSettingsResponseMultiError, or nil if none found.
type GetSettingsResponseMultiError ¶
type GetSettingsResponseMultiError []error
GetSettingsResponseMultiError is an error wrapping multiple validation errors returned by GetSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (GetSettingsResponseMultiError) AllErrors ¶
func (m GetSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSettingsResponseMultiError) Error ¶
func (m GetSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSettingsResponseValidationError ¶
type GetSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
GetSettingsResponseValidationError is the validation error returned by GetSettingsResponse.Validate if the designated constraints aren't met.
func (GetSettingsResponseValidationError) Cause ¶
func (e GetSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSettingsResponseValidationError) Error ¶
func (e GetSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSettingsResponseValidationError) ErrorName ¶
func (e GetSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSettingsResponseValidationError) Field ¶
func (e GetSettingsResponseValidationError) Field() string
Field function returns field value.
func (GetSettingsResponseValidationError) Key ¶
func (e GetSettingsResponseValidationError) Key() bool
Key function returns key value.
func (GetSettingsResponseValidationError) Reason ¶
func (e GetSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type Settings ¶
type Settings struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *data.DynamicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Settings) Descriptor
deprecated
func (*Settings) GetValue ¶
func (x *Settings) GetValue() *data.DynamicValue
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
func (*Settings) Validate ¶
Validate checks the field values on Settings 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 (*Settings) ValidateAll ¶
ValidateAll checks the field values on Settings 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 SettingsMultiError, or nil if none found.
type SettingsFilter ¶
type SettingsFilter struct { Key *query.StringFilterOperation `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*SettingsFilter) Descriptor
deprecated
func (*SettingsFilter) Descriptor() ([]byte, []int)
Deprecated: Use SettingsFilter.ProtoReflect.Descriptor instead.
func (*SettingsFilter) GetKey ¶
func (x *SettingsFilter) GetKey() *query.StringFilterOperation
func (*SettingsFilter) ProtoMessage ¶
func (*SettingsFilter) ProtoMessage()
func (*SettingsFilter) ProtoReflect ¶
func (x *SettingsFilter) ProtoReflect() protoreflect.Message
func (*SettingsFilter) Reset ¶
func (x *SettingsFilter) Reset()
func (*SettingsFilter) String ¶
func (x *SettingsFilter) String() string
func (*SettingsFilter) Validate ¶
func (m *SettingsFilter) Validate() error
Validate checks the field values on SettingsFilter 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 (*SettingsFilter) ValidateAll ¶
func (m *SettingsFilter) ValidateAll() error
ValidateAll checks the field values on SettingsFilter 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 SettingsFilterMultiError, or nil if none found.
type SettingsFilterMultiError ¶
type SettingsFilterMultiError []error
SettingsFilterMultiError is an error wrapping multiple validation errors returned by SettingsFilter.ValidateAll() if the designated constraints aren't met.
func (SettingsFilterMultiError) AllErrors ¶
func (m SettingsFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettingsFilterMultiError) Error ¶
func (m SettingsFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettingsFilterValidationError ¶
type SettingsFilterValidationError struct {
// contains filtered or unexported fields
}
SettingsFilterValidationError is the validation error returned by SettingsFilter.Validate if the designated constraints aren't met.
func (SettingsFilterValidationError) Cause ¶
func (e SettingsFilterValidationError) Cause() error
Cause function returns cause value.
func (SettingsFilterValidationError) Error ¶
func (e SettingsFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SettingsFilterValidationError) ErrorName ¶
func (e SettingsFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SettingsFilterValidationError) Field ¶
func (e SettingsFilterValidationError) Field() string
Field function returns field value.
func (SettingsFilterValidationError) Key ¶
func (e SettingsFilterValidationError) Key() bool
Key function returns key value.
func (SettingsFilterValidationError) Reason ¶
func (e SettingsFilterValidationError) Reason() string
Reason function returns reason value.
type SettingsMultiError ¶
type SettingsMultiError []error
SettingsMultiError is an error wrapping multiple validation errors returned by Settings.ValidateAll() if the designated constraints aren't met.
func (SettingsMultiError) AllErrors ¶
func (m SettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettingsMultiError) Error ¶
func (m SettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettingsValidationError ¶
type SettingsValidationError struct {
// contains filtered or unexported fields
}
SettingsValidationError is the validation error returned by Settings.Validate if the designated constraints aren't met.
func (SettingsValidationError) Cause ¶
func (e SettingsValidationError) Cause() error
Cause function returns cause value.
func (SettingsValidationError) Error ¶
func (e SettingsValidationError) Error() string
Error satisfies the builtin error interface
func (SettingsValidationError) ErrorName ¶
func (e SettingsValidationError) ErrorName() string
ErrorName returns error name.
func (SettingsValidationError) Field ¶
func (e SettingsValidationError) Field() string
Field function returns field value.
func (SettingsValidationError) Key ¶
func (e SettingsValidationError) Key() bool
Key function returns key value.
func (SettingsValidationError) Reason ¶
func (e SettingsValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAccountServer ¶
type UnimplementedAccountServer struct { }
UnimplementedAccountServer should be embedded to have forward compatible implementations.
func (UnimplementedAccountServer) CreateAddresses ¶
func (UnimplementedAccountServer) CreateAddresses(context.Context, *CreateAddressesRequest) (*CreateAddressReply, error)
func (UnimplementedAccountServer) DeleteAddresses ¶
func (UnimplementedAccountServer) DeleteAddresses(context.Context, *DeleteAddressRequest) (*DeleteAddressesReply, error)
func (UnimplementedAccountServer) GetAddresses ¶
func (UnimplementedAccountServer) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesReply, error)
func (UnimplementedAccountServer) GetProfile ¶
func (UnimplementedAccountServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
func (UnimplementedAccountServer) GetSettings ¶
func (UnimplementedAccountServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
func (UnimplementedAccountServer) UpdateAddresses ¶
func (UnimplementedAccountServer) UpdateAddresses(context.Context, *UpdateAddressesRequest) (*UpdateAddressesReply, error)
func (UnimplementedAccountServer) UpdateProfile ¶
func (UnimplementedAccountServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
func (UnimplementedAccountServer) UpdateSettings ¶
func (UnimplementedAccountServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
type UnsafeAccountServer ¶
type UnsafeAccountServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServer will result in compilation errors.
type UpdateAddress ¶
type UpdateAddress struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` Prefer bool `protobuf:"varint,5,opt,name=prefer,proto3" json:"prefer,omitempty"` Address *data.Address `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*UpdateAddress) Descriptor
deprecated
func (*UpdateAddress) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAddress.ProtoReflect.Descriptor instead.
func (*UpdateAddress) GetAddress ¶
func (x *UpdateAddress) GetAddress() *data.Address
func (*UpdateAddress) GetId ¶
func (x *UpdateAddress) GetId() string
func (*UpdateAddress) GetMetadata ¶
func (x *UpdateAddress) GetMetadata() *structpb.Struct
func (*UpdateAddress) GetPhone ¶
func (x *UpdateAddress) GetPhone() string
func (*UpdateAddress) GetPrefer ¶
func (x *UpdateAddress) GetPrefer() bool
func (*UpdateAddress) GetUsage ¶
func (x *UpdateAddress) GetUsage() string
func (*UpdateAddress) ProtoMessage ¶
func (*UpdateAddress) ProtoMessage()
func (*UpdateAddress) ProtoReflect ¶
func (x *UpdateAddress) ProtoReflect() protoreflect.Message
func (*UpdateAddress) Reset ¶
func (x *UpdateAddress) Reset()
func (*UpdateAddress) String ¶
func (x *UpdateAddress) String() string
func (*UpdateAddress) Validate ¶
func (m *UpdateAddress) Validate() error
Validate checks the field values on UpdateAddress 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 (*UpdateAddress) ValidateAll ¶
func (m *UpdateAddress) ValidateAll() error
ValidateAll checks the field values on UpdateAddress 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 UpdateAddressMultiError, or nil if none found.
type UpdateAddressMultiError ¶
type UpdateAddressMultiError []error
UpdateAddressMultiError is an error wrapping multiple validation errors returned by UpdateAddress.ValidateAll() if the designated constraints aren't met.
func (UpdateAddressMultiError) AllErrors ¶
func (m UpdateAddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAddressMultiError) Error ¶
func (m UpdateAddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAddressValidationError ¶
type UpdateAddressValidationError struct {
// contains filtered or unexported fields
}
UpdateAddressValidationError is the validation error returned by UpdateAddress.Validate if the designated constraints aren't met.
func (UpdateAddressValidationError) Cause ¶
func (e UpdateAddressValidationError) Cause() error
Cause function returns cause value.
func (UpdateAddressValidationError) Error ¶
func (e UpdateAddressValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAddressValidationError) ErrorName ¶
func (e UpdateAddressValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAddressValidationError) Field ¶
func (e UpdateAddressValidationError) Field() string
Field function returns field value.
func (UpdateAddressValidationError) Key ¶
func (e UpdateAddressValidationError) Key() bool
Key function returns key value.
func (UpdateAddressValidationError) Reason ¶
func (e UpdateAddressValidationError) Reason() string
Reason function returns reason value.
type UpdateAddressesReply ¶
type UpdateAddressesReply struct {
// contains filtered or unexported fields
}
func (*UpdateAddressesReply) Descriptor
deprecated
func (*UpdateAddressesReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAddressesReply.ProtoReflect.Descriptor instead.
func (*UpdateAddressesReply) ProtoMessage ¶
func (*UpdateAddressesReply) ProtoMessage()
func (*UpdateAddressesReply) ProtoReflect ¶
func (x *UpdateAddressesReply) ProtoReflect() protoreflect.Message
func (*UpdateAddressesReply) Reset ¶
func (x *UpdateAddressesReply) Reset()
func (*UpdateAddressesReply) String ¶
func (x *UpdateAddressesReply) String() string
func (*UpdateAddressesReply) Validate ¶
func (m *UpdateAddressesReply) Validate() error
Validate checks the field values on UpdateAddressesReply 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 (*UpdateAddressesReply) ValidateAll ¶
func (m *UpdateAddressesReply) ValidateAll() error
ValidateAll checks the field values on UpdateAddressesReply 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 UpdateAddressesReplyMultiError, or nil if none found.
type UpdateAddressesReplyMultiError ¶
type UpdateAddressesReplyMultiError []error
UpdateAddressesReplyMultiError is an error wrapping multiple validation errors returned by UpdateAddressesReply.ValidateAll() if the designated constraints aren't met.
func (UpdateAddressesReplyMultiError) AllErrors ¶
func (m UpdateAddressesReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAddressesReplyMultiError) Error ¶
func (m UpdateAddressesReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAddressesReplyValidationError ¶
type UpdateAddressesReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateAddressesReplyValidationError is the validation error returned by UpdateAddressesReply.Validate if the designated constraints aren't met.
func (UpdateAddressesReplyValidationError) Cause ¶
func (e UpdateAddressesReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateAddressesReplyValidationError) Error ¶
func (e UpdateAddressesReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAddressesReplyValidationError) ErrorName ¶
func (e UpdateAddressesReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAddressesReplyValidationError) Field ¶
func (e UpdateAddressesReplyValidationError) Field() string
Field function returns field value.
func (UpdateAddressesReplyValidationError) Key ¶
func (e UpdateAddressesReplyValidationError) Key() bool
Key function returns key value.
func (UpdateAddressesReplyValidationError) Reason ¶
func (e UpdateAddressesReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateAddressesRequest ¶
type UpdateAddressesRequest struct { Address *UpdateAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*UpdateAddressesRequest) Descriptor
deprecated
func (*UpdateAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAddressesRequest.ProtoReflect.Descriptor instead.
func (*UpdateAddressesRequest) GetAddress ¶
func (x *UpdateAddressesRequest) GetAddress() *UpdateAddress
func (*UpdateAddressesRequest) ProtoMessage ¶
func (*UpdateAddressesRequest) ProtoMessage()
func (*UpdateAddressesRequest) ProtoReflect ¶
func (x *UpdateAddressesRequest) ProtoReflect() protoreflect.Message
func (*UpdateAddressesRequest) Reset ¶
func (x *UpdateAddressesRequest) Reset()
func (*UpdateAddressesRequest) String ¶
func (x *UpdateAddressesRequest) String() string
func (*UpdateAddressesRequest) Validate ¶
func (m *UpdateAddressesRequest) Validate() error
Validate checks the field values on UpdateAddressesRequest 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 (*UpdateAddressesRequest) ValidateAll ¶
func (m *UpdateAddressesRequest) ValidateAll() error
ValidateAll checks the field values on UpdateAddressesRequest 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 UpdateAddressesRequestMultiError, or nil if none found.
type UpdateAddressesRequestMultiError ¶
type UpdateAddressesRequestMultiError []error
UpdateAddressesRequestMultiError is an error wrapping multiple validation errors returned by UpdateAddressesRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateAddressesRequestMultiError) AllErrors ¶
func (m UpdateAddressesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAddressesRequestMultiError) Error ¶
func (m UpdateAddressesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAddressesRequestValidationError ¶
type UpdateAddressesRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateAddressesRequestValidationError is the validation error returned by UpdateAddressesRequest.Validate if the designated constraints aren't met.
func (UpdateAddressesRequestValidationError) Cause ¶
func (e UpdateAddressesRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateAddressesRequestValidationError) Error ¶
func (e UpdateAddressesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAddressesRequestValidationError) ErrorName ¶
func (e UpdateAddressesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAddressesRequestValidationError) Field ¶
func (e UpdateAddressesRequestValidationError) Field() string
Field function returns field value.
func (UpdateAddressesRequestValidationError) Key ¶
func (e UpdateAddressesRequestValidationError) Key() bool
Key function returns key value.
func (UpdateAddressesRequestValidationError) Reason ¶
func (e UpdateAddressesRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProfileRequest ¶
type UpdateProfileRequest struct { Username *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Gender v1.Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=user.api.user.v1.Gender" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileRequest) Descriptor
deprecated
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) GetGender ¶
func (x *UpdateProfileRequest) GetGender() v1.Gender
func (*UpdateProfileRequest) GetName ¶
func (x *UpdateProfileRequest) GetName() *wrapperspb.StringValue
func (*UpdateProfileRequest) GetUsername ¶
func (x *UpdateProfileRequest) GetUsername() *wrapperspb.StringValue
func (*UpdateProfileRequest) ProtoMessage ¶
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) ProtoReflect ¶
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateProfileRequest) Reset ¶
func (x *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶
func (x *UpdateProfileRequest) String() string
func (*UpdateProfileRequest) Validate ¶
func (m *UpdateProfileRequest) Validate() error
Validate checks the field values on UpdateProfileRequest 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 (*UpdateProfileRequest) ValidateAll ¶
func (m *UpdateProfileRequest) ValidateAll() error
ValidateAll checks the field values on UpdateProfileRequest 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 UpdateProfileRequestMultiError, or nil if none found.
type UpdateProfileRequestMultiError ¶
type UpdateProfileRequestMultiError []error
UpdateProfileRequestMultiError is an error wrapping multiple validation errors returned by UpdateProfileRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateProfileRequestMultiError) AllErrors ¶
func (m UpdateProfileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProfileRequestMultiError) Error ¶
func (m UpdateProfileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProfileRequestValidationError ¶
type UpdateProfileRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateProfileRequestValidationError is the validation error returned by UpdateProfileRequest.Validate if the designated constraints aren't met.
func (UpdateProfileRequestValidationError) Cause ¶
func (e UpdateProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileRequestValidationError) Error ¶
func (e UpdateProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileRequestValidationError) ErrorName ¶
func (e UpdateProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileRequestValidationError) Field ¶
func (e UpdateProfileRequestValidationError) Field() string
Field function returns field value.
func (UpdateProfileRequestValidationError) Key ¶
func (e UpdateProfileRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProfileRequestValidationError) Reason ¶
func (e UpdateProfileRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProfileResponse ¶
type UpdateProfileResponse struct {
// contains filtered or unexported fields
}
func (*UpdateProfileResponse) Descriptor
deprecated
func (*UpdateProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateProfileResponse) ProtoMessage ¶
func (*UpdateProfileResponse) ProtoMessage()
func (*UpdateProfileResponse) ProtoReflect ¶
func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
func (*UpdateProfileResponse) Reset ¶
func (x *UpdateProfileResponse) Reset()
func (*UpdateProfileResponse) String ¶
func (x *UpdateProfileResponse) String() string
func (*UpdateProfileResponse) Validate ¶
func (m *UpdateProfileResponse) Validate() error
Validate checks the field values on UpdateProfileResponse 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 (*UpdateProfileResponse) ValidateAll ¶
func (m *UpdateProfileResponse) ValidateAll() error
ValidateAll checks the field values on UpdateProfileResponse 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 UpdateProfileResponseMultiError, or nil if none found.
type UpdateProfileResponseMultiError ¶
type UpdateProfileResponseMultiError []error
UpdateProfileResponseMultiError is an error wrapping multiple validation errors returned by UpdateProfileResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateProfileResponseMultiError) AllErrors ¶
func (m UpdateProfileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProfileResponseMultiError) Error ¶
func (m UpdateProfileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProfileResponseValidationError ¶
type UpdateProfileResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateProfileResponseValidationError is the validation error returned by UpdateProfileResponse.Validate if the designated constraints aren't met.
func (UpdateProfileResponseValidationError) Cause ¶
func (e UpdateProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileResponseValidationError) Error ¶
func (e UpdateProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileResponseValidationError) ErrorName ¶
func (e UpdateProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileResponseValidationError) Field ¶
func (e UpdateProfileResponseValidationError) Field() string
Field function returns field value.
func (UpdateProfileResponseValidationError) Key ¶
func (e UpdateProfileResponseValidationError) Key() bool
Key function returns key value.
func (UpdateProfileResponseValidationError) Reason ¶
func (e UpdateProfileResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateSettings ¶
type UpdateSettings struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *data.DynamicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Reset_ bool `protobuf:"varint,3,opt,name=reset,proto3" json:"reset,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettings) Descriptor
deprecated
func (*UpdateSettings) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettings.ProtoReflect.Descriptor instead.
func (*UpdateSettings) GetKey ¶
func (x *UpdateSettings) GetKey() string
func (*UpdateSettings) GetReset_ ¶
func (x *UpdateSettings) GetReset_() bool
func (*UpdateSettings) GetValue ¶
func (x *UpdateSettings) GetValue() *data.DynamicValue
func (*UpdateSettings) ProtoMessage ¶
func (*UpdateSettings) ProtoMessage()
func (*UpdateSettings) ProtoReflect ¶
func (x *UpdateSettings) ProtoReflect() protoreflect.Message
func (*UpdateSettings) Reset ¶
func (x *UpdateSettings) Reset()
func (*UpdateSettings) String ¶
func (x *UpdateSettings) String() string
func (*UpdateSettings) Validate ¶
func (m *UpdateSettings) Validate() error
Validate checks the field values on UpdateSettings 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 (*UpdateSettings) ValidateAll ¶
func (m *UpdateSettings) ValidateAll() error
ValidateAll checks the field values on UpdateSettings 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 UpdateSettingsMultiError, or nil if none found.
type UpdateSettingsMultiError ¶
type UpdateSettingsMultiError []error
UpdateSettingsMultiError is an error wrapping multiple validation errors returned by UpdateSettings.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingsMultiError) AllErrors ¶
func (m UpdateSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingsMultiError) Error ¶
func (m UpdateSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingsRequest ¶
type UpdateSettingsRequest struct { Settings []*UpdateSettings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingsRequest) Descriptor
deprecated
func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingsRequest) GetSettings ¶
func (x *UpdateSettingsRequest) GetSettings() []*UpdateSettings
func (*UpdateSettingsRequest) ProtoMessage ¶
func (*UpdateSettingsRequest) ProtoMessage()
func (*UpdateSettingsRequest) ProtoReflect ¶
func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateSettingsRequest) Reset ¶
func (x *UpdateSettingsRequest) Reset()
func (*UpdateSettingsRequest) String ¶
func (x *UpdateSettingsRequest) String() string
func (*UpdateSettingsRequest) Validate ¶
func (m *UpdateSettingsRequest) Validate() error
Validate checks the field values on UpdateSettingsRequest 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 (*UpdateSettingsRequest) ValidateAll ¶
func (m *UpdateSettingsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSettingsRequest 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 UpdateSettingsRequestMultiError, or nil if none found.
type UpdateSettingsRequestMultiError ¶
type UpdateSettingsRequestMultiError []error
UpdateSettingsRequestMultiError is an error wrapping multiple validation errors returned by UpdateSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingsRequestMultiError) AllErrors ¶
func (m UpdateSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingsRequestMultiError) Error ¶
func (m UpdateSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingsRequestValidationError ¶
type UpdateSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingsRequestValidationError is the validation error returned by UpdateSettingsRequest.Validate if the designated constraints aren't met.
func (UpdateSettingsRequestValidationError) Cause ¶
func (e UpdateSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingsRequestValidationError) Error ¶
func (e UpdateSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingsRequestValidationError) ErrorName ¶
func (e UpdateSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingsRequestValidationError) Field ¶
func (e UpdateSettingsRequestValidationError) Field() string
Field function returns field value.
func (UpdateSettingsRequestValidationError) Key ¶
func (e UpdateSettingsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSettingsRequestValidationError) Reason ¶
func (e UpdateSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingsResponse ¶
type UpdateSettingsResponse struct { Settings []*Settings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingsResponse) Descriptor
deprecated
func (*UpdateSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateSettingsResponse) GetSettings ¶
func (x *UpdateSettingsResponse) GetSettings() []*Settings
func (*UpdateSettingsResponse) ProtoMessage ¶
func (*UpdateSettingsResponse) ProtoMessage()
func (*UpdateSettingsResponse) ProtoReflect ¶
func (x *UpdateSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpdateSettingsResponse) Reset ¶
func (x *UpdateSettingsResponse) Reset()
func (*UpdateSettingsResponse) String ¶
func (x *UpdateSettingsResponse) String() string
func (*UpdateSettingsResponse) Validate ¶
func (m *UpdateSettingsResponse) Validate() error
Validate checks the field values on UpdateSettingsResponse 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 (*UpdateSettingsResponse) ValidateAll ¶
func (m *UpdateSettingsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateSettingsResponse 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 UpdateSettingsResponseMultiError, or nil if none found.
type UpdateSettingsResponseMultiError ¶
type UpdateSettingsResponseMultiError []error
UpdateSettingsResponseMultiError is an error wrapping multiple validation errors returned by UpdateSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingsResponseMultiError) AllErrors ¶
func (m UpdateSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingsResponseMultiError) Error ¶
func (m UpdateSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingsResponseValidationError ¶
type UpdateSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingsResponseValidationError is the validation error returned by UpdateSettingsResponse.Validate if the designated constraints aren't met.
func (UpdateSettingsResponseValidationError) Cause ¶
func (e UpdateSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingsResponseValidationError) Error ¶
func (e UpdateSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingsResponseValidationError) ErrorName ¶
func (e UpdateSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingsResponseValidationError) Field ¶
func (e UpdateSettingsResponseValidationError) Field() string
Field function returns field value.
func (UpdateSettingsResponseValidationError) Key ¶
func (e UpdateSettingsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateSettingsResponseValidationError) Reason ¶
func (e UpdateSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingsValidationError ¶
type UpdateSettingsValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingsValidationError is the validation error returned by UpdateSettings.Validate if the designated constraints aren't met.
func (UpdateSettingsValidationError) Cause ¶
func (e UpdateSettingsValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingsValidationError) Error ¶
func (e UpdateSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingsValidationError) ErrorName ¶
func (e UpdateSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingsValidationError) Field ¶
func (e UpdateSettingsValidationError) Field() string
Field function returns field value.
func (UpdateSettingsValidationError) Key ¶
func (e UpdateSettingsValidationError) Key() bool
Key function returns key value.
func (UpdateSettingsValidationError) Reason ¶
func (e UpdateSettingsValidationError) Reason() string
Reason function returns reason value.
type UserAddress ¶
type UserAddress struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` Prefer bool `protobuf:"varint,5,opt,name=prefer,proto3" json:"prefer,omitempty"` Address *data.Address `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*UserAddress) Descriptor
deprecated
func (*UserAddress) Descriptor() ([]byte, []int)
Deprecated: Use UserAddress.ProtoReflect.Descriptor instead.
func (*UserAddress) GetAddress ¶
func (x *UserAddress) GetAddress() *data.Address
func (*UserAddress) GetId ¶
func (x *UserAddress) GetId() string
func (*UserAddress) GetMetadata ¶
func (x *UserAddress) GetMetadata() *structpb.Struct
func (*UserAddress) GetPhone ¶
func (x *UserAddress) GetPhone() string
func (*UserAddress) GetPrefer ¶
func (x *UserAddress) GetPrefer() bool
func (*UserAddress) GetUsage ¶
func (x *UserAddress) GetUsage() string
func (*UserAddress) ProtoMessage ¶
func (*UserAddress) ProtoMessage()
func (*UserAddress) ProtoReflect ¶
func (x *UserAddress) ProtoReflect() protoreflect.Message
func (*UserAddress) Reset ¶
func (x *UserAddress) Reset()
func (*UserAddress) String ¶
func (x *UserAddress) String() string
func (*UserAddress) Validate ¶
func (m *UserAddress) Validate() error
Validate checks the field values on UserAddress 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 (*UserAddress) ValidateAll ¶
func (m *UserAddress) ValidateAll() error
ValidateAll checks the field values on UserAddress 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 UserAddressMultiError, or nil if none found.
type UserAddressMultiError ¶
type UserAddressMultiError []error
UserAddressMultiError is an error wrapping multiple validation errors returned by UserAddress.ValidateAll() if the designated constraints aren't met.
func (UserAddressMultiError) AllErrors ¶
func (m UserAddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserAddressMultiError) Error ¶
func (m UserAddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserAddressValidationError ¶
type UserAddressValidationError struct {
// contains filtered or unexported fields
}
UserAddressValidationError is the validation error returned by UserAddress.Validate if the designated constraints aren't met.
func (UserAddressValidationError) Cause ¶
func (e UserAddressValidationError) Cause() error
Cause function returns cause value.
func (UserAddressValidationError) Error ¶
func (e UserAddressValidationError) Error() string
Error satisfies the builtin error interface
func (UserAddressValidationError) ErrorName ¶
func (e UserAddressValidationError) ErrorName() string
ErrorName returns error name.
func (UserAddressValidationError) Field ¶
func (e UserAddressValidationError) Field() string
Field function returns field value.
func (UserAddressValidationError) Key ¶
func (e UserAddressValidationError) Key() bool
Key function returns key value.
func (UserAddressValidationError) Reason ¶
func (e UserAddressValidationError) Reason() string
Reason function returns reason value.
type UserTenant ¶
type UserTenant struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Tenant *v12.TenantInfo `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` IsHost bool `protobuf:"varint,4,opt,name=is_host,json=isHost,proto3" json:"is_host,omitempty"` // contains filtered or unexported fields }
func (*UserTenant) Descriptor
deprecated
func (*UserTenant) Descriptor() ([]byte, []int)
Deprecated: Use UserTenant.ProtoReflect.Descriptor instead.
func (*UserTenant) GetIsHost ¶
func (x *UserTenant) GetIsHost() bool
func (*UserTenant) GetTenant ¶
func (x *UserTenant) GetTenant() *v12.TenantInfo
func (*UserTenant) GetTenantId ¶
func (x *UserTenant) GetTenantId() string
func (*UserTenant) GetUserId ¶
func (x *UserTenant) GetUserId() string
func (*UserTenant) ProtoMessage ¶
func (*UserTenant) ProtoMessage()
func (*UserTenant) ProtoReflect ¶
func (x *UserTenant) ProtoReflect() protoreflect.Message
func (*UserTenant) Reset ¶
func (x *UserTenant) Reset()
func (*UserTenant) String ¶
func (x *UserTenant) String() string
func (*UserTenant) Validate ¶
func (m *UserTenant) Validate() error
Validate checks the field values on UserTenant 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 (*UserTenant) ValidateAll ¶
func (m *UserTenant) ValidateAll() error
ValidateAll checks the field values on UserTenant 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 UserTenantMultiError, or nil if none found.
type UserTenantMultiError ¶
type UserTenantMultiError []error
UserTenantMultiError is an error wrapping multiple validation errors returned by UserTenant.ValidateAll() if the designated constraints aren't met.
func (UserTenantMultiError) AllErrors ¶
func (m UserTenantMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserTenantMultiError) Error ¶
func (m UserTenantMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserTenantValidationError ¶
type UserTenantValidationError struct {
// contains filtered or unexported fields
}
UserTenantValidationError is the validation error returned by UserTenant.Validate if the designated constraints aren't met.
func (UserTenantValidationError) Cause ¶
func (e UserTenantValidationError) Cause() error
Cause function returns cause value.
func (UserTenantValidationError) Error ¶
func (e UserTenantValidationError) Error() string
Error satisfies the builtin error interface
func (UserTenantValidationError) ErrorName ¶
func (e UserTenantValidationError) ErrorName() string
ErrorName returns error name.
func (UserTenantValidationError) Field ¶
func (e UserTenantValidationError) Field() string
Field function returns field value.
func (UserTenantValidationError) Key ¶
func (e UserTenantValidationError) Key() bool
Key function returns key value.
func (UserTenantValidationError) Reason ¶
func (e UserTenantValidationError) Reason() string
Reason function returns reason value.