Documentation ¶
Index ¶
- type ExampleMsg
- func (m *ExampleMsg) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ExampleMsg) CloneVT() *ExampleMsg
- func (this *ExampleMsg) EqualMessageVT(thatMsg any) bool
- func (this *ExampleMsg) EqualVT(that *ExampleMsg) bool
- func (x *ExampleMsg) GetExampleField() string
- func (x *ExampleMsg) GetOtherMsg() *other.OtherMsg
- func (x *ExampleMsg) MarshalJSON() ([]byte, error)
- func (x *ExampleMsg) MarshalProtoJSON(s *json.MarshalState)
- func (x *ExampleMsg) MarshalProtoText() string
- func (m *ExampleMsg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExampleMsg) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExampleMsg) MarshalVT() (dAtA []byte, err error)
- func (*ExampleMsg) ProtoMessage()
- func (x *ExampleMsg) Reset()
- func (m *ExampleMsg) SizeVT() (n int)
- func (x *ExampleMsg) String() string
- func (x *ExampleMsg) UnmarshalJSON(b []byte) error
- func (x *ExampleMsg) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ExampleMsg) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleMsg ¶
type ExampleMsg struct { // ExampleField is an example field. ExampleField string `protobuf:"bytes,1,opt,name=example_field,json=exampleField,proto3" json:"exampleField,omitempty"` // OtherMsg is an example of an imported message field. OtherMsg *other.OtherMsg `protobuf:"bytes,2,opt,name=other_msg,json=otherMsg,proto3" json:"otherMsg,omitempty"` // contains filtered or unexported fields }
ExampleMsg is an example message.
func (*ExampleMsg) CloneMessageVT ¶ added in v0.6.2
func (m *ExampleMsg) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ExampleMsg) CloneVT ¶ added in v0.3.4
func (m *ExampleMsg) CloneVT() *ExampleMsg
func (*ExampleMsg) EqualMessageVT ¶ added in v0.6.2
func (this *ExampleMsg) EqualMessageVT(thatMsg any) bool
func (*ExampleMsg) EqualVT ¶
func (this *ExampleMsg) EqualVT(that *ExampleMsg) bool
func (*ExampleMsg) GetExampleField ¶
func (x *ExampleMsg) GetExampleField() string
func (*ExampleMsg) GetOtherMsg ¶ added in v0.6.6
func (x *ExampleMsg) GetOtherMsg() *other.OtherMsg
func (*ExampleMsg) MarshalJSON ¶ added in v0.10.1
func (x *ExampleMsg) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ExampleMsg to JSON.
func (*ExampleMsg) MarshalProtoJSON ¶ added in v0.10.1
func (x *ExampleMsg) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ExampleMsg message to JSON.
func (*ExampleMsg) MarshalProtoText ¶ added in v0.11.1
func (x *ExampleMsg) MarshalProtoText() string
func (*ExampleMsg) MarshalToSizedBufferVT ¶
func (m *ExampleMsg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExampleMsg) MarshalToVT ¶
func (m *ExampleMsg) MarshalToVT(dAtA []byte) (int, error)
func (*ExampleMsg) MarshalVT ¶
func (m *ExampleMsg) MarshalVT() (dAtA []byte, err error)
func (*ExampleMsg) ProtoMessage ¶
func (*ExampleMsg) ProtoMessage()
func (*ExampleMsg) Reset ¶
func (x *ExampleMsg) Reset()
func (*ExampleMsg) SizeVT ¶
func (m *ExampleMsg) SizeVT() (n int)
func (*ExampleMsg) String ¶
func (x *ExampleMsg) String() string
func (*ExampleMsg) UnmarshalJSON ¶ added in v0.10.2
func (x *ExampleMsg) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ExampleMsg from JSON.
func (*ExampleMsg) UnmarshalProtoJSON ¶ added in v0.10.2
func (x *ExampleMsg) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ExampleMsg message from JSON.
func (*ExampleMsg) UnmarshalVT ¶
func (m *ExampleMsg) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.