v1

package
v0.0.0-...-2ef827d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_domain2_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) Descriptor() ([]byte, []int)

Deprecated: Use Created.ProtoReflect.Descriptor instead.

func (*Created) GetId

func (x *Created) GetId() string

func (*Created) ProtoMessage

func (*Created) ProtoMessage()

func (*Created) ProtoReflect

func (x *Created) ProtoReflect() protoreflect.Message

func (*Created) Reset

func (x *Created) Reset()

func (*Created) String

func (x *Created) String() string

func (*Created) Validate

func (m *Created) Validate() error

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

func (m *Created) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Updated.ProtoReflect.Descriptor instead.

func (*Updated) GetId

func (x *Updated) GetId() string

func (*Updated) ProtoMessage

func (*Updated) ProtoMessage()

func (*Updated) ProtoReflect

func (x *Updated) ProtoReflect() protoreflect.Message

func (*Updated) Reset

func (x *Updated) Reset()

func (*Updated) String

func (x *Updated) String() string

func (*Updated) Validate

func (m *Updated) Validate() error

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

func (m *Updated) ValidateAll() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL