example

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_github_com_aperturerobotics_ts_common_example_example_proto protoreflect.FileDescriptor

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:"example_field,omitempty"`
	// OtherMsg is an example of an imported message field.
	OtherMsg *other.OtherMsg `protobuf:"bytes,2,opt,name=other_msg,json=otherMsg,proto3" json:"other_msg,omitempty"`
	// contains filtered or unexported fields
}

ExampleMsg is an example message.

func (*ExampleMsg) CloneMessageVT added in v0.6.2

func (m *ExampleMsg) CloneMessageVT() proto.Message

func (*ExampleMsg) CloneVT added in v0.3.4

func (m *ExampleMsg) CloneVT() *ExampleMsg

func (*ExampleMsg) Descriptor deprecated

func (*ExampleMsg) Descriptor() ([]byte, []int)

Deprecated: Use ExampleMsg.ProtoReflect.Descriptor instead.

func (*ExampleMsg) EqualMessageVT added in v0.6.2

func (this *ExampleMsg) EqualMessageVT(thatMsg proto.Message) 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) 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) ProtoReflect

func (x *ExampleMsg) ProtoReflect() protoreflect.Message

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) 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