Enum value maps for Enum1.
var ( Enum1_name = map[int32]string{ 1: "ONE", } Enum1_value = map[string]int32{ "ONE": 1, } )
Enum value maps for Enum2.
var ( Enum2_name = map[int32]string{ 1: "UNO", } Enum2_value = map[string]int32{ "UNO": 1, } )
Enum value maps for Enum3.
var ( Enum3_name = map[int32]string{ 1: "YI", } Enum3_value = map[string]int32{ "YI": 1, } )
Extension fields to Message1.
var ( // optional string string_field = 11; E_StringField = &file_internal_testprotos_registry_test_proto_extTypes[0] // optional testprotos.Enum1 enum_field = 12; E_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[1] // optional testprotos.Message2 message_field = 13; E_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[2] // optional testprotos.Message2 message_field = 21; E_Message4_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[3] // optional testprotos.Enum1 enum_field = 22; E_Message4_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[4] // optional string string_field = 23; E_Message4_StringField = &file_internal_testprotos_registry_test_proto_extTypes[5] )
var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor
type Enum1 int32
const ( Enum1_ONE Enum1 = 1 )
func (Enum1) Descriptor() protoreflect.EnumDescriptor
func (x Enum1) Enum() *Enum1
func (Enum1) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enum1.Descriptor instead.
func (x Enum1) Number() protoreflect.EnumNumber
func (x Enum1) String() string
func (Enum1) Type() protoreflect.EnumType
func (x *Enum1) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Enum2 int32
const ( Enum2_UNO Enum2 = 1 )
func (Enum2) Descriptor() protoreflect.EnumDescriptor
func (x Enum2) Enum() *Enum2
func (Enum2) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enum2.Descriptor instead.
func (x Enum2) Number() protoreflect.EnumNumber
func (x Enum2) String() string
func (Enum2) Type() protoreflect.EnumType
func (x *Enum2) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Enum3 int32
const ( Enum3_YI Enum3 = 1 )
func (Enum3) Descriptor() protoreflect.EnumDescriptor
func (x Enum3) Enum() *Enum3
func (Enum3) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enum3.Descriptor instead.
func (x Enum3) Number() protoreflect.EnumNumber
func (x Enum3) String() string
func (Enum3) Type() protoreflect.EnumType
func (x *Enum3) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Message1 struct {
// contains filtered or unexported fields
}
func (*Message1) Descriptor() ([]byte, []int)
Deprecated: Use Message1.ProtoReflect.Descriptor instead.
func (*Message1) ProtoMessage()
func (x *Message1) ProtoReflect() protoreflect.Message
func (x *Message1) Reset()
func (x *Message1) String() string
type Message2 struct {
// contains filtered or unexported fields
}
func (*Message2) Descriptor() ([]byte, []int)
Deprecated: Use Message2.ProtoReflect.Descriptor instead.
func (*Message2) ProtoMessage()
func (x *Message2) ProtoReflect() protoreflect.Message
func (x *Message2) Reset()
func (x *Message2) String() string
type Message3 struct {
// contains filtered or unexported fields
}
func (*Message3) Descriptor() ([]byte, []int)
Deprecated: Use Message3.ProtoReflect.Descriptor instead.
func (*Message3) ProtoMessage()
func (x *Message3) ProtoReflect() protoreflect.Message
func (x *Message3) Reset()
func (x *Message3) String() string
type Message4 struct { BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"` // contains filtered or unexported fields }
func (*Message4) Descriptor() ([]byte, []int)
Deprecated: Use Message4.ProtoReflect.Descriptor instead.
func (x *Message4) GetBoolField() bool
func (*Message4) ProtoMessage()
func (x *Message4) ProtoReflect() protoreflect.Message
func (x *Message4) Reset()
func (x *Message4) String() string