v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_core_message_broker_actors_v1_consumer_proto protoreflect.FileDescriptor
View Source
var File_core_message_broker_actors_v1_models_proto protoreflect.FileDescriptor
View Source
var File_core_message_broker_actors_v1_producer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CloudEvent added in v0.5.0

type CloudEvent struct {

	// Required Attributes
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bun:"id" csv:"id" pg:"id" yaml:"id"`
	Source      string `protobuf:"bytes,2,opt,name=source,proto3" json:"source" bun:"source" csv:"source" pg:"source" yaml:"source"` // URI-reference
	SpecVersion string ``                                                                                                            /* 160-byte string literal not displayed */
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" bun:"type" csv:"type" pg:"type" yaml:"type"`
	// Optional & Extension Attributes
	Attributes map[string]*CloudEvent_CloudEventAttributeValue `` /* 219-byte string literal not displayed */
	// -- CloudEvent Data (Bytes, Text, or Proto)
	//
	// Types that are assignable to Data:
	//
	//	*CloudEvent_BinaryData
	//	*CloudEvent_TextData
	//	*CloudEvent_ProtoData
	Data isCloudEvent_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

* CloudEvent Protobuf Format

- Required context attributes are explicity represented. - Optional and Extension context attributes are carried in a map structure. - Data may be represented as binary, text, or protobuf messages.

REF: [https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/cloudevents.proto]

func (*CloudEvent) Descriptor deprecated added in v0.5.0

func (*CloudEvent) Descriptor() ([]byte, []int)

Deprecated: Use CloudEvent.ProtoReflect.Descriptor instead.

func (*CloudEvent) GetAttributes added in v0.5.0

func (x *CloudEvent) GetAttributes() map[string]*CloudEvent_CloudEventAttributeValue

func (*CloudEvent) GetBinaryData added in v0.5.0

func (x *CloudEvent) GetBinaryData() []byte

func (*CloudEvent) GetData added in v0.5.0

func (m *CloudEvent) GetData() isCloudEvent_Data

func (*CloudEvent) GetId added in v0.5.0

func (x *CloudEvent) GetId() string

func (*CloudEvent) GetProtoData added in v0.5.0

func (x *CloudEvent) GetProtoData() *anypb.Any

func (*CloudEvent) GetSource added in v0.5.0

func (x *CloudEvent) GetSource() string

func (*CloudEvent) GetSpecVersion added in v0.5.0

func (x *CloudEvent) GetSpecVersion() string

func (*CloudEvent) GetTextData added in v0.5.0

func (x *CloudEvent) GetTextData() string

func (*CloudEvent) GetType added in v0.5.0

func (x *CloudEvent) GetType() string

func (*CloudEvent) ProtoMessage added in v0.5.0

func (*CloudEvent) ProtoMessage()

func (*CloudEvent) ProtoReflect added in v0.5.0

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

func (*CloudEvent) Reset added in v0.5.0

func (x *CloudEvent) Reset()

func (*CloudEvent) String added in v0.5.0

func (x *CloudEvent) String() string

func (*CloudEvent) Validate added in v0.5.0

func (m *CloudEvent) Validate() error

Validate checks the field values on CloudEvent 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 (*CloudEvent) ValidateAll added in v0.5.0

func (m *CloudEvent) ValidateAll() error

ValidateAll checks the field values on CloudEvent 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 CloudEventMultiError, or nil if none found.

type CloudEventBatch added in v0.5.0

type CloudEventBatch struct {
	Events []*CloudEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events" bun:"events" csv:"events" pg:"events" yaml:"events"`
	// contains filtered or unexported fields
}

* CloudEvent Protobuf Batch Format

func (*CloudEventBatch) Descriptor deprecated added in v0.5.0

func (*CloudEventBatch) Descriptor() ([]byte, []int)

Deprecated: Use CloudEventBatch.ProtoReflect.Descriptor instead.

func (*CloudEventBatch) GetEvents added in v0.5.0

func (x *CloudEventBatch) GetEvents() []*CloudEvent

func (*CloudEventBatch) ProtoMessage added in v0.5.0

func (*CloudEventBatch) ProtoMessage()

func (*CloudEventBatch) ProtoReflect added in v0.5.0

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

func (*CloudEventBatch) Reset added in v0.5.0

func (x *CloudEventBatch) Reset()

func (*CloudEventBatch) String added in v0.5.0

func (x *CloudEventBatch) String() string

func (*CloudEventBatch) Validate added in v0.5.0

func (m *CloudEventBatch) Validate() error

Validate checks the field values on CloudEventBatch 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 (*CloudEventBatch) ValidateAll added in v0.5.0

func (m *CloudEventBatch) ValidateAll() error

ValidateAll checks the field values on CloudEventBatch 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 CloudEventBatchMultiError, or nil if none found.

type CloudEventBatchMultiError added in v0.5.0

type CloudEventBatchMultiError []error

CloudEventBatchMultiError is an error wrapping multiple validation errors returned by CloudEventBatch.ValidateAll() if the designated constraints aren't met.

func (CloudEventBatchMultiError) AllErrors added in v0.5.0

func (m CloudEventBatchMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloudEventBatchMultiError) Error added in v0.5.0

Error returns a concatenation of all the error messages it wraps.

type CloudEventBatchValidationError added in v0.5.0

type CloudEventBatchValidationError struct {
	// contains filtered or unexported fields
}

CloudEventBatchValidationError is the validation error returned by CloudEventBatch.Validate if the designated constraints aren't met.

func (CloudEventBatchValidationError) Cause added in v0.5.0

Cause function returns cause value.

func (CloudEventBatchValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (CloudEventBatchValidationError) ErrorName added in v0.5.0

func (e CloudEventBatchValidationError) ErrorName() string

ErrorName returns error name.

func (CloudEventBatchValidationError) Field added in v0.5.0

Field function returns field value.

func (CloudEventBatchValidationError) Key added in v0.5.0

Key function returns key value.

func (CloudEventBatchValidationError) Reason added in v0.5.0

Reason function returns reason value.

type CloudEventMultiError added in v0.5.0

type CloudEventMultiError []error

CloudEventMultiError is an error wrapping multiple validation errors returned by CloudEvent.ValidateAll() if the designated constraints aren't met.

func (CloudEventMultiError) AllErrors added in v0.5.0

func (m CloudEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloudEventMultiError) Error added in v0.5.0

func (m CloudEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CloudEventValidationError added in v0.5.0

type CloudEventValidationError struct {
	// contains filtered or unexported fields
}

CloudEventValidationError is the validation error returned by CloudEvent.Validate if the designated constraints aren't met.

func (CloudEventValidationError) Cause added in v0.5.0

func (e CloudEventValidationError) Cause() error

Cause function returns cause value.

func (CloudEventValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (CloudEventValidationError) ErrorName added in v0.5.0

func (e CloudEventValidationError) ErrorName() string

ErrorName returns error name.

func (CloudEventValidationError) Field added in v0.5.0

Field function returns field value.

func (CloudEventValidationError) Key added in v0.5.0

Key function returns key value.

func (CloudEventValidationError) Reason added in v0.5.0

func (e CloudEventValidationError) Reason() string

Reason function returns reason value.

type CloudEvent_BinaryData added in v0.5.0

type CloudEvent_BinaryData struct {
	BinaryData []byte `` /* 159-byte string literal not displayed */
}

type CloudEvent_CloudEventAttributeValue added in v0.5.0

type CloudEvent_CloudEventAttributeValue struct {

	// Types that are assignable to Attr:
	//
	//	*CloudEvent_CloudEventAttributeValue_CeBoolean
	//	*CloudEvent_CloudEventAttributeValue_CeInteger
	//	*CloudEvent_CloudEventAttributeValue_CeString
	//	*CloudEvent_CloudEventAttributeValue_CeBytes
	//	*CloudEvent_CloudEventAttributeValue_CeUri
	//	*CloudEvent_CloudEventAttributeValue_CeUriRef
	//	*CloudEvent_CloudEventAttributeValue_CeTimestamp
	Attr isCloudEvent_CloudEventAttributeValue_Attr `protobuf_oneof:"attr"`
	// contains filtered or unexported fields
}

func (*CloudEvent_CloudEventAttributeValue) Descriptor deprecated added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) Descriptor() ([]byte, []int)

Deprecated: Use CloudEvent_CloudEventAttributeValue.ProtoReflect.Descriptor instead.

func (*CloudEvent_CloudEventAttributeValue) GetAttr added in v0.5.0

func (m *CloudEvent_CloudEventAttributeValue) GetAttr() isCloudEvent_CloudEventAttributeValue_Attr

func (*CloudEvent_CloudEventAttributeValue) GetCeBoolean added in v0.5.0

func (x *CloudEvent_CloudEventAttributeValue) GetCeBoolean() bool

func (*CloudEvent_CloudEventAttributeValue) GetCeBytes added in v0.5.0

func (x *CloudEvent_CloudEventAttributeValue) GetCeBytes() []byte

func (*CloudEvent_CloudEventAttributeValue) GetCeInteger added in v0.5.0

func (x *CloudEvent_CloudEventAttributeValue) GetCeInteger() int32

func (*CloudEvent_CloudEventAttributeValue) GetCeString added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) GetCeTimestamp added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) GetCeUri added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) GetCeUriRef added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) ProtoMessage added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) ProtoMessage()

func (*CloudEvent_CloudEventAttributeValue) ProtoReflect added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) Reset added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) String added in v0.5.0

func (*CloudEvent_CloudEventAttributeValue) Validate added in v0.5.0

Validate checks the field values on CloudEvent_CloudEventAttributeValue 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 (*CloudEvent_CloudEventAttributeValue) ValidateAll added in v0.5.0

func (m *CloudEvent_CloudEventAttributeValue) ValidateAll() error

ValidateAll checks the field values on CloudEvent_CloudEventAttributeValue 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 CloudEvent_CloudEventAttributeValueMultiError, or nil if none found.

type CloudEvent_CloudEventAttributeValueMultiError added in v0.5.0

type CloudEvent_CloudEventAttributeValueMultiError []error

CloudEvent_CloudEventAttributeValueMultiError is an error wrapping multiple validation errors returned by CloudEvent_CloudEventAttributeValue.ValidateAll() if the designated constraints aren't met.

func (CloudEvent_CloudEventAttributeValueMultiError) AllErrors added in v0.5.0

AllErrors returns a list of validation violation errors.

func (CloudEvent_CloudEventAttributeValueMultiError) Error added in v0.5.0

Error returns a concatenation of all the error messages it wraps.

type CloudEvent_CloudEventAttributeValueValidationError added in v0.5.0

type CloudEvent_CloudEventAttributeValueValidationError struct {
	// contains filtered or unexported fields
}

CloudEvent_CloudEventAttributeValueValidationError is the validation error returned by CloudEvent_CloudEventAttributeValue.Validate if the designated constraints aren't met.

func (CloudEvent_CloudEventAttributeValueValidationError) Cause added in v0.5.0

Cause function returns cause value.

func (CloudEvent_CloudEventAttributeValueValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (CloudEvent_CloudEventAttributeValueValidationError) ErrorName added in v0.5.0

ErrorName returns error name.

func (CloudEvent_CloudEventAttributeValueValidationError) Field added in v0.5.0

Field function returns field value.

func (CloudEvent_CloudEventAttributeValueValidationError) Key added in v0.5.0

Key function returns key value.

func (CloudEvent_CloudEventAttributeValueValidationError) Reason added in v0.5.0

Reason function returns reason value.

type CloudEvent_CloudEventAttributeValue_CeBoolean added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeBoolean struct {
	CeBoolean bool `protobuf:"varint,1,opt,name=ce_boolean,json=ceBoolean,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeBytes added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeBytes struct {
	CeBytes []byte `protobuf:"bytes,4,opt,name=ce_bytes,json=ceBytes,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeInteger added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeInteger struct {
	CeInteger int32 `protobuf:"varint,2,opt,name=ce_integer,json=ceInteger,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeString added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeString struct {
	CeString string `protobuf:"bytes,3,opt,name=ce_string,json=ceString,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeTimestamp added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeTimestamp struct {
	CeTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ce_timestamp,json=ceTimestamp,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeUri added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeUri struct {
	CeUri string `protobuf:"bytes,5,opt,name=ce_uri,json=ceUri,proto3,oneof"`
}

type CloudEvent_CloudEventAttributeValue_CeUriRef added in v0.5.0

type CloudEvent_CloudEventAttributeValue_CeUriRef struct {
	CeUriRef string `protobuf:"bytes,6,opt,name=ce_uri_ref,json=ceUriRef,proto3,oneof"`
}

type CloudEvent_ProtoData added in v0.5.0

type CloudEvent_ProtoData struct {
	ProtoData *anypb.Any `` /* 152-byte string literal not displayed */
}

type CloudEvent_TextData added in v0.5.0

type CloudEvent_TextData struct {
	TextData string `` /* 145-byte string literal not displayed */
}

type ConsumeRequest

type ConsumeRequest struct {
	Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"`
	// contains filtered or unexported fields
}

func (*ConsumeRequest) Descriptor deprecated

func (*ConsumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConsumeRequest.ProtoReflect.Descriptor instead.

func (*ConsumeRequest) GetMessage

func (x *ConsumeRequest) GetMessage() *CloudEvent

func (*ConsumeRequest) ProtoMessage

func (*ConsumeRequest) ProtoMessage()

func (*ConsumeRequest) ProtoReflect

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

func (*ConsumeRequest) Reset

func (x *ConsumeRequest) Reset()

func (*ConsumeRequest) String

func (x *ConsumeRequest) String() string

func (*ConsumeRequest) Validate

func (m *ConsumeRequest) Validate() error

Validate checks the field values on ConsumeRequest 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 (*ConsumeRequest) ValidateAll

func (m *ConsumeRequest) ValidateAll() error

ValidateAll checks the field values on ConsumeRequest 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 ConsumeRequestMultiError, or nil if none found.

type ConsumeRequestMultiError

type ConsumeRequestMultiError []error

ConsumeRequestMultiError is an error wrapping multiple validation errors returned by ConsumeRequest.ValidateAll() if the designated constraints aren't met.

func (ConsumeRequestMultiError) AllErrors

func (m ConsumeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConsumeRequestMultiError) Error

func (m ConsumeRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConsumeRequestValidationError

type ConsumeRequestValidationError struct {
	// contains filtered or unexported fields
}

ConsumeRequestValidationError is the validation error returned by ConsumeRequest.Validate if the designated constraints aren't met.

func (ConsumeRequestValidationError) Cause

Cause function returns cause value.

func (ConsumeRequestValidationError) Error

Error satisfies the builtin error interface

func (ConsumeRequestValidationError) ErrorName

func (e ConsumeRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ConsumeRequestValidationError) Field

Field function returns field value.

func (ConsumeRequestValidationError) Key

Key function returns key value.

func (ConsumeRequestValidationError) Reason

Reason function returns reason value.

type ConsumeResponse

type ConsumeResponse struct {
	Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"`
	// contains filtered or unexported fields
}

func (*ConsumeResponse) Descriptor deprecated

func (*ConsumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConsumeResponse.ProtoReflect.Descriptor instead.

func (*ConsumeResponse) GetMessage

func (x *ConsumeResponse) GetMessage() *CloudEvent

func (*ConsumeResponse) ProtoMessage

func (*ConsumeResponse) ProtoMessage()

func (*ConsumeResponse) ProtoReflect

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

func (*ConsumeResponse) Reset

func (x *ConsumeResponse) Reset()

func (*ConsumeResponse) String

func (x *ConsumeResponse) String() string

func (*ConsumeResponse) Validate

func (m *ConsumeResponse) Validate() error

Validate checks the field values on ConsumeResponse 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 (*ConsumeResponse) ValidateAll

func (m *ConsumeResponse) ValidateAll() error

ValidateAll checks the field values on ConsumeResponse 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 ConsumeResponseMultiError, or nil if none found.

type ConsumeResponseMultiError

type ConsumeResponseMultiError []error

ConsumeResponseMultiError is an error wrapping multiple validation errors returned by ConsumeResponse.ValidateAll() if the designated constraints aren't met.

func (ConsumeResponseMultiError) AllErrors

func (m ConsumeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConsumeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConsumeResponseValidationError

type ConsumeResponseValidationError struct {
	// contains filtered or unexported fields
}

ConsumeResponseValidationError is the validation error returned by ConsumeResponse.Validate if the designated constraints aren't met.

func (ConsumeResponseValidationError) Cause

Cause function returns cause value.

func (ConsumeResponseValidationError) Error

Error satisfies the builtin error interface

func (ConsumeResponseValidationError) ErrorName

func (e ConsumeResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ConsumeResponseValidationError) Field

Field function returns field value.

func (ConsumeResponseValidationError) Key

Key function returns key value.

func (ConsumeResponseValidationError) Reason

Reason function returns reason value.

type ProduceRequest

type ProduceRequest struct {

	// TODO: Change to `CloudEvent` message type
	Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"`
	// contains filtered or unexported fields
}

Send this `Message` to the other `Actors` in the system that are subscribed to this `Message`

func (*ProduceRequest) Descriptor deprecated

func (*ProduceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProduceRequest.ProtoReflect.Descriptor instead.

func (*ProduceRequest) GetMessage

func (x *ProduceRequest) GetMessage() *CloudEvent

func (*ProduceRequest) ProtoMessage

func (*ProduceRequest) ProtoMessage()

func (*ProduceRequest) ProtoReflect

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

func (*ProduceRequest) Reset

func (x *ProduceRequest) Reset()

func (*ProduceRequest) String

func (x *ProduceRequest) String() string

func (*ProduceRequest) Validate

func (m *ProduceRequest) Validate() error

Validate checks the field values on ProduceRequest 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 (*ProduceRequest) ValidateAll

func (m *ProduceRequest) ValidateAll() error

ValidateAll checks the field values on ProduceRequest 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 ProduceRequestMultiError, or nil if none found.

type ProduceRequestMultiError

type ProduceRequestMultiError []error

ProduceRequestMultiError is an error wrapping multiple validation errors returned by ProduceRequest.ValidateAll() if the designated constraints aren't met.

func (ProduceRequestMultiError) AllErrors

func (m ProduceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProduceRequestMultiError) Error

func (m ProduceRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ProduceRequestValidationError

type ProduceRequestValidationError struct {
	// contains filtered or unexported fields
}

ProduceRequestValidationError is the validation error returned by ProduceRequest.Validate if the designated constraints aren't met.

func (ProduceRequestValidationError) Cause

Cause function returns cause value.

func (ProduceRequestValidationError) Error

Error satisfies the builtin error interface

func (ProduceRequestValidationError) ErrorName

func (e ProduceRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ProduceRequestValidationError) Field

Field function returns field value.

func (ProduceRequestValidationError) Key

Key function returns key value.

func (ProduceRequestValidationError) Reason

Reason function returns reason value.

type ProduceResponse

type ProduceResponse struct {

	// The message id is returned as a way to acknowledge the message as been committed
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bun:"id" csv:"id" pg:"id" yaml:"id"`
	// contains filtered or unexported fields
}

func (*ProduceResponse) Descriptor deprecated

func (*ProduceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProduceResponse.ProtoReflect.Descriptor instead.

func (*ProduceResponse) GetId

func (x *ProduceResponse) GetId() string

func (*ProduceResponse) ProtoMessage

func (*ProduceResponse) ProtoMessage()

func (*ProduceResponse) ProtoReflect

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

func (*ProduceResponse) Reset

func (x *ProduceResponse) Reset()

func (*ProduceResponse) String

func (x *ProduceResponse) String() string

func (*ProduceResponse) Validate

func (m *ProduceResponse) Validate() error

Validate checks the field values on ProduceResponse 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 (*ProduceResponse) ValidateAll

func (m *ProduceResponse) ValidateAll() error

ValidateAll checks the field values on ProduceResponse 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 ProduceResponseMultiError, or nil if none found.

type ProduceResponseMultiError

type ProduceResponseMultiError []error

ProduceResponseMultiError is an error wrapping multiple validation errors returned by ProduceResponse.ValidateAll() if the designated constraints aren't met.

func (ProduceResponseMultiError) AllErrors

func (m ProduceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProduceResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ProduceResponseValidationError

type ProduceResponseValidationError struct {
	// contains filtered or unexported fields
}

ProduceResponseValidationError is the validation error returned by ProduceResponse.Validate if the designated constraints aren't met.

func (ProduceResponseValidationError) Cause

Cause function returns cause value.

func (ProduceResponseValidationError) Error

Error satisfies the builtin error interface

func (ProduceResponseValidationError) ErrorName

func (e ProduceResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ProduceResponseValidationError) Field

Field function returns field value.

func (ProduceResponseValidationError) Key

Key function returns key value.

func (ProduceResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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