Documentation
¶
Index ¶
- Variables
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAccountService() *Service_AccountService
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) Validate() error
- func (m *Service) ValidateAll() error
- type ServiceMultiError
- type ServiceValidationError
- type Service_AccountService
- func (*Service_AccountService) Descriptor() ([]byte, []int)deprecated
- func (x *Service_AccountService) GetEndpoint() string
- func (*Service_AccountService) ProtoMessage()
- func (x *Service_AccountService) ProtoReflect() protoreflect.Message
- func (x *Service_AccountService) Reset()
- func (x *Service_AccountService) String() string
- func (m *Service_AccountService) Validate() error
- func (m *Service_AccountService) ValidateAll() error
- type Service_AccountServiceMultiError
- type Service_AccountServiceValidationError
- func (e Service_AccountServiceValidationError) Cause() error
- func (e Service_AccountServiceValidationError) Error() string
- func (e Service_AccountServiceValidationError) ErrorName() string
- func (e Service_AccountServiceValidationError) Field() string
- func (e Service_AccountServiceValidationError) Key() bool
- func (e Service_AccountServiceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_common_service_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { AccountService *Service_AccountService `protobuf:"bytes,1,opt,name=accountService,proto3" json:"accountService,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetAccountService ¶
func (x *Service) GetAccountService() *Service_AccountService
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) Validate ¶
Validate checks the field values on Service 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 (*Service) ValidateAll ¶
ValidateAll checks the field values on Service 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 ServiceMultiError, or nil if none found.
type ServiceMultiError ¶
type ServiceMultiError []error
ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.
func (ServiceMultiError) AllErrors ¶
func (m ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMultiError) Error ¶
func (m ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.
type Service_AccountService ¶
type Service_AccountService struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Service_AccountService) Descriptor
deprecated
func (*Service_AccountService) Descriptor() ([]byte, []int)
Deprecated: Use Service_AccountService.ProtoReflect.Descriptor instead.
func (*Service_AccountService) GetEndpoint ¶
func (x *Service_AccountService) GetEndpoint() string
func (*Service_AccountService) ProtoMessage ¶
func (*Service_AccountService) ProtoMessage()
func (*Service_AccountService) ProtoReflect ¶
func (x *Service_AccountService) ProtoReflect() protoreflect.Message
func (*Service_AccountService) Reset ¶
func (x *Service_AccountService) Reset()
func (*Service_AccountService) String ¶
func (x *Service_AccountService) String() string
func (*Service_AccountService) Validate ¶
func (m *Service_AccountService) Validate() error
Validate checks the field values on Service_AccountService 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 (*Service_AccountService) ValidateAll ¶
func (m *Service_AccountService) ValidateAll() error
ValidateAll checks the field values on Service_AccountService 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 Service_AccountServiceMultiError, or nil if none found.
type Service_AccountServiceMultiError ¶
type Service_AccountServiceMultiError []error
Service_AccountServiceMultiError is an error wrapping multiple validation errors returned by Service_AccountService.ValidateAll() if the designated constraints aren't met.
func (Service_AccountServiceMultiError) AllErrors ¶
func (m Service_AccountServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_AccountServiceMultiError) Error ¶
func (m Service_AccountServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_AccountServiceValidationError ¶
type Service_AccountServiceValidationError struct {
// contains filtered or unexported fields
}
Service_AccountServiceValidationError is the validation error returned by Service_AccountService.Validate if the designated constraints aren't met.
func (Service_AccountServiceValidationError) Cause ¶
func (e Service_AccountServiceValidationError) Cause() error
Cause function returns cause value.
func (Service_AccountServiceValidationError) Error ¶
func (e Service_AccountServiceValidationError) Error() string
Error satisfies the builtin error interface
func (Service_AccountServiceValidationError) ErrorName ¶
func (e Service_AccountServiceValidationError) ErrorName() string
ErrorName returns error name.
func (Service_AccountServiceValidationError) Field ¶
func (e Service_AccountServiceValidationError) Field() string
Field function returns field value.
func (Service_AccountServiceValidationError) Key ¶
func (e Service_AccountServiceValidationError) Key() bool
Key function returns key value.
func (Service_AccountServiceValidationError) Reason ¶
func (e Service_AccountServiceValidationError) Reason() string
Reason function returns reason value.