Default values for Test fields.
const ( Default_Test_Type = int32(77) )
Enum value maps for FOO.
var ( FOO_name = map[int32]string{ 17: "X", } FOO_value = map[string]int32{ "X": 17, } )
var File_test_proto protoreflect.FileDescriptor
type FOO int32
const ( FOO_X FOO = 17 )
func (FOO) Descriptor() protoreflect.EnumDescriptor
func (x FOO) Enum() *FOO
func (FOO) EnumDescriptor() ([]byte, []int)
Deprecated: Use FOO.Descriptor instead.
func (x FOO) Number() protoreflect.EnumNumber
func (x FOO) String() string
func (FOO) Type() protoreflect.EnumType
func (x *FOO) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Test struct { Label *string `protobuf:"bytes,1,req,name=label" json:"label,omitempty"` Type *int32 `protobuf:"varint,2,opt,name=type,def=77" json:"type,omitempty"` Reps []int64 `protobuf:"varint,3,rep,name=reps" json:"reps,omitempty"` Optionalgroup *Test_OptionalGroup `protobuf:"group,4,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor() ([]byte, []int)
Deprecated: Use Test.ProtoReflect.Descriptor instead.
func (x *Test) GetLabel() string
func (x *Test) GetOptionalgroup() *Test_OptionalGroup
func (x *Test) GetReps() []int64
func (x *Test) GetType() int32
func (*Test) ProtoMessage()
func (x *Test) ProtoReflect() protoreflect.Message
func (x *Test) Reset()
func (x *Test) String() string
type Test_OptionalGroup struct { RequiredField *string `protobuf:"bytes,5,req,name=RequiredField" json:"RequiredField,omitempty"` // contains filtered or unexported fields }
func (*Test_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use Test_OptionalGroup.ProtoReflect.Descriptor instead.
func (x *Test_OptionalGroup) GetRequiredField() string
func (*Test_OptionalGroup) ProtoMessage()
func (x *Test_OptionalGroup) ProtoReflect() protoreflect.Message
func (x *Test_OptionalGroup) Reset()
func (x *Test_OptionalGroup) String() string