Documentation ¶
Index ¶
- Variables
- type DecodeDemo
- func (*DecodeDemo) Descriptor() ([]byte, []int)deprecated
- func (x *DecodeDemo) GetAny() *anypb.Any
- func (x *DecodeDemo) GetBytesValue() []byte
- func (x *DecodeDemo) GetInt64Value() int64
- func (x *DecodeDemo) GetStringValue() string
- func (x *DecodeDemo) GetTimestamp() *timestamppb.Timestamp
- func (*DecodeDemo) ProtoMessage()
- func (x *DecodeDemo) ProtoReflect() protoreflect.Message
- func (x *DecodeDemo) Reset()
- func (x *DecodeDemo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protodecode_protodemo_demo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DecodeDemo ¶
type DecodeDemo struct { Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,3,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Any *anypb.Any `protobuf:"bytes,5,opt,name=any,proto3" json:"any,omitempty"` // contains filtered or unexported fields }
DecodeDemo contains many types to test decoding. See: https://developers.google.com/protocol-buffers/docs/proto3#scalar
func (*DecodeDemo) Descriptor
deprecated
func (*DecodeDemo) Descriptor() ([]byte, []int)
Deprecated: Use DecodeDemo.ProtoReflect.Descriptor instead.
func (*DecodeDemo) GetAny ¶
func (x *DecodeDemo) GetAny() *anypb.Any
func (*DecodeDemo) GetBytesValue ¶
func (x *DecodeDemo) GetBytesValue() []byte
func (*DecodeDemo) GetInt64Value ¶
func (x *DecodeDemo) GetInt64Value() int64
func (*DecodeDemo) GetStringValue ¶
func (x *DecodeDemo) GetStringValue() string
func (*DecodeDemo) GetTimestamp ¶
func (x *DecodeDemo) GetTimestamp() *timestamppb.Timestamp
func (*DecodeDemo) ProtoMessage ¶
func (*DecodeDemo) ProtoMessage()
func (*DecodeDemo) ProtoReflect ¶
func (x *DecodeDemo) ProtoReflect() protoreflect.Message
func (*DecodeDemo) Reset ¶
func (x *DecodeDemo) Reset()
func (*DecodeDemo) String ¶
func (x *DecodeDemo) String() string
Click to show internal directories.
Click to hide internal directories.