Documentation
¶
Index ¶
- Variables
- type SpeakRequest
- func (*SpeakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SpeakRequest) GetInput() string
- func (*SpeakRequest) ProtoMessage()
- func (x *SpeakRequest) ProtoReflect() protoreflect.Message
- func (x *SpeakRequest) Reset()
- func (x *SpeakRequest) String() string
- func (m *SpeakRequest) Validate() error
- func (m *SpeakRequest) ValidateAll() error
- type SpeakRequestMultiError
- type SpeakRequestValidationError
- func (e SpeakRequestValidationError) Cause() error
- func (e SpeakRequestValidationError) Error() string
- func (e SpeakRequestValidationError) ErrorName() string
- func (e SpeakRequestValidationError) Field() string
- func (e SpeakRequestValidationError) Key() bool
- func (e SpeakRequestValidationError) Reason() string
- type SpeakResponse
- func (*SpeakResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SpeakResponse) GetOutput() string
- func (*SpeakResponse) ProtoMessage()
- func (x *SpeakResponse) ProtoReflect() protoreflect.Message
- func (x *SpeakResponse) Reset()
- func (x *SpeakResponse) String() string
- func (m *SpeakResponse) Validate() error
- func (m *SpeakResponse) ValidateAll() error
- type SpeakResponseMultiError
- type SpeakResponseValidationError
- func (e SpeakResponseValidationError) Cause() error
- func (e SpeakResponseValidationError) Error() string
- func (e SpeakResponseValidationError) ErrorName() string
- func (e SpeakResponseValidationError) Field() string
- func (e SpeakResponseValidationError) Key() bool
- func (e SpeakResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_examples_echo_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SpeakRequest ¶
type SpeakRequest struct { Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input" bun:"input" csv:"input" pg:"input" yaml:"input"` // contains filtered or unexported fields }
func (*SpeakRequest) Descriptor
deprecated
func (*SpeakRequest) Descriptor() ([]byte, []int)
Deprecated: Use SpeakRequest.ProtoReflect.Descriptor instead.
func (*SpeakRequest) GetInput ¶
func (x *SpeakRequest) GetInput() string
func (*SpeakRequest) ProtoMessage ¶
func (*SpeakRequest) ProtoMessage()
func (*SpeakRequest) ProtoReflect ¶
func (x *SpeakRequest) ProtoReflect() protoreflect.Message
func (*SpeakRequest) Reset ¶
func (x *SpeakRequest) Reset()
func (*SpeakRequest) String ¶
func (x *SpeakRequest) String() string
func (*SpeakRequest) Validate ¶
func (m *SpeakRequest) Validate() error
Validate checks the field values on SpeakRequest 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 (*SpeakRequest) ValidateAll ¶
func (m *SpeakRequest) ValidateAll() error
ValidateAll checks the field values on SpeakRequest 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 SpeakRequestMultiError, or nil if none found.
type SpeakRequestMultiError ¶
type SpeakRequestMultiError []error
SpeakRequestMultiError is an error wrapping multiple validation errors returned by SpeakRequest.ValidateAll() if the designated constraints aren't met.
func (SpeakRequestMultiError) AllErrors ¶
func (m SpeakRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SpeakRequestMultiError) Error ¶
func (m SpeakRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SpeakRequestValidationError ¶
type SpeakRequestValidationError struct {
// contains filtered or unexported fields
}
SpeakRequestValidationError is the validation error returned by SpeakRequest.Validate if the designated constraints aren't met.
func (SpeakRequestValidationError) Cause ¶
func (e SpeakRequestValidationError) Cause() error
Cause function returns cause value.
func (SpeakRequestValidationError) Error ¶
func (e SpeakRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SpeakRequestValidationError) ErrorName ¶
func (e SpeakRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SpeakRequestValidationError) Field ¶
func (e SpeakRequestValidationError) Field() string
Field function returns field value.
func (SpeakRequestValidationError) Key ¶
func (e SpeakRequestValidationError) Key() bool
Key function returns key value.
func (SpeakRequestValidationError) Reason ¶
func (e SpeakRequestValidationError) Reason() string
Reason function returns reason value.
type SpeakResponse ¶
type SpeakResponse struct { Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output" bun:"output" csv:"output" pg:"output" yaml:"output"` // contains filtered or unexported fields }
func (*SpeakResponse) Descriptor
deprecated
func (*SpeakResponse) Descriptor() ([]byte, []int)
Deprecated: Use SpeakResponse.ProtoReflect.Descriptor instead.
func (*SpeakResponse) GetOutput ¶
func (x *SpeakResponse) GetOutput() string
func (*SpeakResponse) ProtoMessage ¶
func (*SpeakResponse) ProtoMessage()
func (*SpeakResponse) ProtoReflect ¶
func (x *SpeakResponse) ProtoReflect() protoreflect.Message
func (*SpeakResponse) Reset ¶
func (x *SpeakResponse) Reset()
func (*SpeakResponse) String ¶
func (x *SpeakResponse) String() string
func (*SpeakResponse) Validate ¶
func (m *SpeakResponse) Validate() error
Validate checks the field values on SpeakResponse 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 (*SpeakResponse) ValidateAll ¶
func (m *SpeakResponse) ValidateAll() error
ValidateAll checks the field values on SpeakResponse 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 SpeakResponseMultiError, or nil if none found.
type SpeakResponseMultiError ¶
type SpeakResponseMultiError []error
SpeakResponseMultiError is an error wrapping multiple validation errors returned by SpeakResponse.ValidateAll() if the designated constraints aren't met.
func (SpeakResponseMultiError) AllErrors ¶
func (m SpeakResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SpeakResponseMultiError) Error ¶
func (m SpeakResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SpeakResponseValidationError ¶
type SpeakResponseValidationError struct {
// contains filtered or unexported fields
}
SpeakResponseValidationError is the validation error returned by SpeakResponse.Validate if the designated constraints aren't met.
func (SpeakResponseValidationError) Cause ¶
func (e SpeakResponseValidationError) Cause() error
Cause function returns cause value.
func (SpeakResponseValidationError) Error ¶
func (e SpeakResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SpeakResponseValidationError) ErrorName ¶
func (e SpeakResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SpeakResponseValidationError) Field ¶
func (e SpeakResponseValidationError) Field() string
Field function returns field value.
func (SpeakResponseValidationError) Key ¶
func (e SpeakResponseValidationError) Key() bool
Key function returns key value.
func (SpeakResponseValidationError) Reason ¶
func (e SpeakResponseValidationError) Reason() string
Reason function returns reason value.