Documentation ¶
Index ¶
- Variables
- type HelloWorldRequest
- func (*HelloWorldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloWorldRequest) GetData() map[string]string
- func (x *HelloWorldRequest) GetName() string
- func (x *HelloWorldRequest) GetType() string
- func (*HelloWorldRequest) ProtoMessage()
- func (x *HelloWorldRequest) ProtoReflect() protoreflect.Message
- func (x *HelloWorldRequest) Reset()
- func (x *HelloWorldRequest) String() string
- func (m *HelloWorldRequest) Validate() error
- func (m *HelloWorldRequest) ValidateAll() error
- type HelloWorldRequestMultiError
- type HelloWorldRequestValidationError
- func (e HelloWorldRequestValidationError) Cause() error
- func (e HelloWorldRequestValidationError) Error() string
- func (e HelloWorldRequestValidationError) ErrorName() string
- func (e HelloWorldRequestValidationError) Field() string
- func (e HelloWorldRequestValidationError) Key() bool
- func (e HelloWorldRequestValidationError) Reason() string
- type HelloWorldResponse
- func (*HelloWorldResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelloWorldResponse) GetCreatedAt() int64
- func (x *HelloWorldResponse) GetData() map[string]string
- func (x *HelloWorldResponse) GetId() string
- func (x *HelloWorldResponse) GetName() string
- func (x *HelloWorldResponse) GetType() string
- func (x *HelloWorldResponse) GetUpdatedAt() int64
- func (*HelloWorldResponse) ProtoMessage()
- func (x *HelloWorldResponse) ProtoReflect() protoreflect.Message
- func (x *HelloWorldResponse) Reset()
- func (x *HelloWorldResponse) String() string
- func (m *HelloWorldResponse) Validate() error
- func (m *HelloWorldResponse) ValidateAll() error
- type HelloWorldResponseMultiError
- type HelloWorldResponseValidationError
- func (e HelloWorldResponseValidationError) Cause() error
- func (e HelloWorldResponseValidationError) Error() string
- func (e HelloWorldResponseValidationError) ErrorName() string
- func (e HelloWorldResponseValidationError) Field() string
- func (e HelloWorldResponseValidationError) Key() bool
- func (e HelloWorldResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_github_com_lastbackend_toolkit_examples_service_apis_ptypes_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HelloWorldRequest ¶
type HelloWorldRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HelloWorldRequest) Descriptor
deprecated
func (*HelloWorldRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloWorldRequest.ProtoReflect.Descriptor instead.
func (*HelloWorldRequest) GetData ¶
func (x *HelloWorldRequest) GetData() map[string]string
func (*HelloWorldRequest) GetName ¶
func (x *HelloWorldRequest) GetName() string
func (*HelloWorldRequest) GetType ¶
func (x *HelloWorldRequest) GetType() string
func (*HelloWorldRequest) ProtoMessage ¶
func (*HelloWorldRequest) ProtoMessage()
func (*HelloWorldRequest) ProtoReflect ¶
func (x *HelloWorldRequest) ProtoReflect() protoreflect.Message
func (*HelloWorldRequest) Reset ¶
func (x *HelloWorldRequest) Reset()
func (*HelloWorldRequest) String ¶
func (x *HelloWorldRequest) String() string
func (*HelloWorldRequest) Validate ¶
func (m *HelloWorldRequest) Validate() error
Validate checks the field values on HelloWorldRequest 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 (*HelloWorldRequest) ValidateAll ¶
func (m *HelloWorldRequest) ValidateAll() error
ValidateAll checks the field values on HelloWorldRequest 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 HelloWorldRequestMultiError, or nil if none found.
type HelloWorldRequestMultiError ¶
type HelloWorldRequestMultiError []error
HelloWorldRequestMultiError is an error wrapping multiple validation errors returned by HelloWorldRequest.ValidateAll() if the designated constraints aren't met.
func (HelloWorldRequestMultiError) AllErrors ¶
func (m HelloWorldRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelloWorldRequestMultiError) Error ¶
func (m HelloWorldRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelloWorldRequestValidationError ¶
type HelloWorldRequestValidationError struct {
// contains filtered or unexported fields
}
HelloWorldRequestValidationError is the validation error returned by HelloWorldRequest.Validate if the designated constraints aren't met.
func (HelloWorldRequestValidationError) Cause ¶
func (e HelloWorldRequestValidationError) Cause() error
Cause function returns cause value.
func (HelloWorldRequestValidationError) Error ¶
func (e HelloWorldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HelloWorldRequestValidationError) ErrorName ¶
func (e HelloWorldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HelloWorldRequestValidationError) Field ¶
func (e HelloWorldRequestValidationError) Field() string
Field function returns field value.
func (HelloWorldRequestValidationError) Key ¶
func (e HelloWorldRequestValidationError) Key() bool
Key function returns key value.
func (HelloWorldRequestValidationError) Reason ¶
func (e HelloWorldRequestValidationError) Reason() string
Reason function returns reason value.
type HelloWorldResponse ¶
type HelloWorldResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*HelloWorldResponse) Descriptor
deprecated
func (*HelloWorldResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelloWorldResponse.ProtoReflect.Descriptor instead.
func (*HelloWorldResponse) GetCreatedAt ¶
func (x *HelloWorldResponse) GetCreatedAt() int64
func (*HelloWorldResponse) GetData ¶
func (x *HelloWorldResponse) GetData() map[string]string
func (*HelloWorldResponse) GetId ¶
func (x *HelloWorldResponse) GetId() string
func (*HelloWorldResponse) GetName ¶
func (x *HelloWorldResponse) GetName() string
func (*HelloWorldResponse) GetType ¶
func (x *HelloWorldResponse) GetType() string
func (*HelloWorldResponse) GetUpdatedAt ¶
func (x *HelloWorldResponse) GetUpdatedAt() int64
func (*HelloWorldResponse) ProtoMessage ¶
func (*HelloWorldResponse) ProtoMessage()
func (*HelloWorldResponse) ProtoReflect ¶
func (x *HelloWorldResponse) ProtoReflect() protoreflect.Message
func (*HelloWorldResponse) Reset ¶
func (x *HelloWorldResponse) Reset()
func (*HelloWorldResponse) String ¶
func (x *HelloWorldResponse) String() string
func (*HelloWorldResponse) Validate ¶
func (m *HelloWorldResponse) Validate() error
Validate checks the field values on HelloWorldResponse 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 (*HelloWorldResponse) ValidateAll ¶
func (m *HelloWorldResponse) ValidateAll() error
ValidateAll checks the field values on HelloWorldResponse 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 HelloWorldResponseMultiError, or nil if none found.
type HelloWorldResponseMultiError ¶
type HelloWorldResponseMultiError []error
HelloWorldResponseMultiError is an error wrapping multiple validation errors returned by HelloWorldResponse.ValidateAll() if the designated constraints aren't met.
func (HelloWorldResponseMultiError) AllErrors ¶
func (m HelloWorldResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelloWorldResponseMultiError) Error ¶
func (m HelloWorldResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelloWorldResponseValidationError ¶
type HelloWorldResponseValidationError struct {
// contains filtered or unexported fields
}
HelloWorldResponseValidationError is the validation error returned by HelloWorldResponse.Validate if the designated constraints aren't met.
func (HelloWorldResponseValidationError) Cause ¶
func (e HelloWorldResponseValidationError) Cause() error
Cause function returns cause value.
func (HelloWorldResponseValidationError) Error ¶
func (e HelloWorldResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HelloWorldResponseValidationError) ErrorName ¶
func (e HelloWorldResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HelloWorldResponseValidationError) Field ¶
func (e HelloWorldResponseValidationError) Field() string
Field function returns field value.
func (HelloWorldResponseValidationError) Key ¶
func (e HelloWorldResponseValidationError) Key() bool
Key function returns key value.
func (HelloWorldResponseValidationError) Reason ¶
func (e HelloWorldResponseValidationError) Reason() string
Reason function returns reason value.