Documentation ¶
Index ¶
- type TestMsg
- func (m *TestMsg) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TestMsg) CloneVT() *TestMsg
- func (this *TestMsg) EqualMessageVT(thatMsg any) bool
- func (this *TestMsg) EqualVT(that *TestMsg) bool
- func (x *TestMsg) GetValue() int32
- func (x *TestMsg) MarshalJSON() ([]byte, error)
- func (x *TestMsg) MarshalProtoJSON(s *json.MarshalState)
- func (x *TestMsg) MarshalProtoText() string
- func (m *TestMsg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestMsg) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestMsg) MarshalVT() (dAtA []byte, err error)
- func (*TestMsg) ProtoMessage()
- func (x *TestMsg) Reset()
- func (m *TestMsg) SizeVT() (n int)
- func (x *TestMsg) String() string
- func (x *TestMsg) UnmarshalJSON(b []byte) error
- func (x *TestMsg) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TestMsg) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestMsg ¶
type TestMsg struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
TestMsg is a test message used for unit tests.
func (*TestMsg) CloneMessageVT ¶
func (m *TestMsg) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TestMsg) EqualMessageVT ¶
func (*TestMsg) MarshalJSON ¶
MarshalJSON marshals the TestMsg to JSON.
func (*TestMsg) MarshalProtoJSON ¶
func (x *TestMsg) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TestMsg message to JSON.
func (*TestMsg) MarshalProtoText ¶
func (*TestMsg) MarshalToSizedBufferVT ¶
func (*TestMsg) ProtoMessage ¶
func (*TestMsg) ProtoMessage()
func (*TestMsg) UnmarshalJSON ¶
UnmarshalJSON unmarshals the TestMsg from JSON.
func (*TestMsg) UnmarshalProtoJSON ¶
func (x *TestMsg) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TestMsg message from JSON.
func (*TestMsg) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.