example

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL