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