Documentation
¶
Index ¶
- Variables
- type HelloReply
- type HelloReplyValidationError
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloRequest) GetBoolVal() *wrapperspb.BoolValue
- func (x *HelloRequest) GetBytesVal() *wrapperspb.BytesValue
- func (x *HelloRequest) GetDoubleVal() *wrapperspb.DoubleValue
- func (x *HelloRequest) GetFloatVal() *wrapperspb.FloatValue
- func (x *HelloRequest) GetInt32Val() *wrapperspb.Int32Value
- func (x *HelloRequest) GetInt64Val() *wrapperspb.Int64Value
- func (x *HelloRequest) GetName() string
- func (x *HelloRequest) GetStrVal() *wrapperspb.StringValue
- func (x *HelloRequest) GetUint32Val() *wrapperspb.UInt32Value
- func (x *HelloRequest) GetUint64Val() *wrapperspb.UInt64Value
- func (*HelloRequest) ProtoMessage()
- func (x *HelloRequest) ProtoReflect() protoreflect.Message
- func (x *HelloRequest) Reset()
- func (x *HelloRequest) String() string
- func (m *HelloRequest) Validate() error
- type HelloRequestValidationError
- func (e HelloRequestValidationError) Cause() error
- func (e HelloRequestValidationError) Error() string
- func (e HelloRequestValidationError) ErrorName() string
- func (e HelloRequestValidationError) Field() string
- func (e HelloRequestValidationError) Key() bool
- func (e HelloRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HelloReply ¶
type HelloReply struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HelloReply) Descriptor
deprecated
func (*HelloReply) Descriptor() ([]byte, []int)
Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.
func (*HelloReply) GetMessage ¶
func (x *HelloReply) GetMessage() string
func (*HelloReply) ProtoMessage ¶
func (*HelloReply) ProtoMessage()
func (*HelloReply) ProtoReflect ¶
func (x *HelloReply) ProtoReflect() protoreflect.Message
func (*HelloReply) Reset ¶
func (x *HelloReply) Reset()
func (*HelloReply) String ¶
func (x *HelloReply) String() string
func (*HelloReply) Validate ¶
func (m *HelloReply) Validate() error
Validate checks the field values on HelloReply with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HelloReplyValidationError ¶
type HelloReplyValidationError struct {
// contains filtered or unexported fields
}
HelloReplyValidationError is the validation error returned by HelloReply.Validate if the designated constraints aren't met.
func (HelloReplyValidationError) Cause ¶
func (e HelloReplyValidationError) Cause() error
Cause function returns cause value.
func (HelloReplyValidationError) Error ¶
func (e HelloReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HelloReplyValidationError) ErrorName ¶
func (e HelloReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HelloReplyValidationError) Field ¶
func (e HelloReplyValidationError) Field() string
Field function returns field value.
func (HelloReplyValidationError) Key ¶
func (e HelloReplyValidationError) Key() bool
Key function returns key value.
func (HelloReplyValidationError) Reason ¶
func (e HelloReplyValidationError) Reason() string
Reason function returns reason value.
type HelloRequest ¶
type HelloRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` StrVal *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=str_val,json=strVal,proto3" json:"str_val,omitempty"` FloatVal *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"` DoubleVal *wrapperspb.DoubleValue `protobuf:"bytes,4,opt,name=double_val,json=doubleVal,proto3" json:"double_val,omitempty"` BoolVal *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=bool_val,json=boolVal,proto3" json:"bool_val,omitempty"` BytesVal *wrapperspb.BytesValue `protobuf:"bytes,6,opt,name=bytes_val,json=bytesVal,proto3" json:"bytes_val,omitempty"` Int32Val *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=int32_val,json=int32Val,proto3" json:"int32_val,omitempty"` Uint32Val *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=uint32_val,json=uint32Val,proto3" json:"uint32_val,omitempty"` Int64Val *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=int64_val,json=int64Val,proto3" json:"int64_val,omitempty"` Uint64Val *wrapperspb.UInt64Value `protobuf:"bytes,10,opt,name=uint64_val,json=uint64Val,proto3" json:"uint64_val,omitempty"` // contains filtered or unexported fields }
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetBoolVal ¶
func (x *HelloRequest) GetBoolVal() *wrapperspb.BoolValue
func (*HelloRequest) GetBytesVal ¶
func (x *HelloRequest) GetBytesVal() *wrapperspb.BytesValue
func (*HelloRequest) GetDoubleVal ¶
func (x *HelloRequest) GetDoubleVal() *wrapperspb.DoubleValue
func (*HelloRequest) GetFloatVal ¶
func (x *HelloRequest) GetFloatVal() *wrapperspb.FloatValue
func (*HelloRequest) GetInt32Val ¶
func (x *HelloRequest) GetInt32Val() *wrapperspb.Int32Value
func (*HelloRequest) GetInt64Val ¶
func (x *HelloRequest) GetInt64Val() *wrapperspb.Int64Value
func (*HelloRequest) GetName ¶
func (x *HelloRequest) GetName() string
func (*HelloRequest) GetStrVal ¶
func (x *HelloRequest) GetStrVal() *wrapperspb.StringValue
func (*HelloRequest) GetUint32Val ¶
func (x *HelloRequest) GetUint32Val() *wrapperspb.UInt32Value
func (*HelloRequest) GetUint64Val ¶
func (x *HelloRequest) GetUint64Val() *wrapperspb.UInt64Value
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
func (*HelloRequest) Validate ¶
func (m *HelloRequest) Validate() error
Validate checks the field values on HelloRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HelloRequestValidationError ¶
type HelloRequestValidationError struct {
// contains filtered or unexported fields
}
HelloRequestValidationError is the validation error returned by HelloRequest.Validate if the designated constraints aren't met.
func (HelloRequestValidationError) Cause ¶
func (e HelloRequestValidationError) Cause() error
Cause function returns cause value.
func (HelloRequestValidationError) Error ¶
func (e HelloRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HelloRequestValidationError) ErrorName ¶
func (e HelloRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HelloRequestValidationError) Field ¶
func (e HelloRequestValidationError) Field() string
Field function returns field value.
func (HelloRequestValidationError) Key ¶
func (e HelloRequestValidationError) Key() bool
Key function returns key value.
func (HelloRequestValidationError) Reason ¶
func (e HelloRequestValidationError) Reason() string
Reason function returns reason value.