Documentation ¶
Overview ¶
Package testproto contains some protobuf defintions that are used in internal tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testproto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Other types that we can use. There isn't any purpose for this other than to provide message types that can be used for tests.
func (*A) Descriptor
deprecated
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) ProtoReflect ¶
func (x *A) ProtoReflect() protoreflect.Message
type B ¶
type B struct { Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*B) Descriptor
deprecated
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) ProtoReflect ¶
func (x *B) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
Data is just some data, used for tests so meant to be meaningless.
func (*Data) Descriptor
deprecated
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.