Documentation ¶
Index ¶
- Variables
- type Enum1
- func (Enum1) Descriptor() protoreflect.EnumDescriptor
- func (x Enum1) Enum() *Enum1
- func (Enum1) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enum1) Number() protoreflect.EnumNumber
- func (x Enum1) String() string
- func (Enum1) Type() protoreflect.EnumType
- func (x *Enum1) UnmarshalJSON(b []byte) errordeprecated
- type Enum2
- func (Enum2) Descriptor() protoreflect.EnumDescriptor
- func (x Enum2) Enum() *Enum2
- func (Enum2) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enum2) Number() protoreflect.EnumNumber
- func (x Enum2) String() string
- func (Enum2) Type() protoreflect.EnumType
- func (x *Enum2) UnmarshalJSON(b []byte) errordeprecated
- type Enum3
- func (Enum3) Descriptor() protoreflect.EnumDescriptor
- func (x Enum3) Enum() *Enum3
- func (Enum3) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enum3) Number() protoreflect.EnumNumber
- func (x Enum3) String() string
- func (Enum3) Type() protoreflect.EnumType
- func (x *Enum3) UnmarshalJSON(b []byte) errordeprecated
- type Message1
- type Message2
- type Message3
- type Message4
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Enum1_name = map[int32]string{ 1: "ONE", } Enum1_value = map[string]int32{ "ONE": 1, } )
Enum value maps for Enum1.
View Source
var ( Enum2_name = map[int32]string{ 1: "UNO", } Enum2_value = map[string]int32{ "UNO": 1, } )
Enum value maps for Enum2.
View Source
var ( Enum3_name = map[int32]string{ 1: "YI", } Enum3_value = map[string]int32{ "YI": 1, } )
Enum value maps for Enum3.
View Source
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] )
Extension fields to Message1.
View Source
var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Enum1 ¶
type Enum1 int32
const (
Enum1_ONE Enum1 = 1
)
func (Enum1) Descriptor ¶
func (Enum1) Descriptor() protoreflect.EnumDescriptor
func (Enum1) EnumDescriptor
deprecated
func (Enum1) Number ¶
func (x Enum1) Number() protoreflect.EnumNumber
func (Enum1) Type ¶
func (Enum1) Type() protoreflect.EnumType
func (*Enum1) UnmarshalJSON
deprecated
type Enum2 ¶
type Enum2 int32
const (
Enum2_UNO Enum2 = 1
)
func (Enum2) Descriptor ¶
func (Enum2) Descriptor() protoreflect.EnumDescriptor
func (Enum2) EnumDescriptor
deprecated
func (Enum2) Number ¶
func (x Enum2) Number() protoreflect.EnumNumber
func (Enum2) Type ¶
func (Enum2) Type() protoreflect.EnumType
func (*Enum2) UnmarshalJSON
deprecated
type Enum3 ¶
type Enum3 int32
const (
Enum3_YI Enum3 = 1
)
func (Enum3) Descriptor ¶
func (Enum3) Descriptor() protoreflect.EnumDescriptor
func (Enum3) EnumDescriptor
deprecated
func (Enum3) Number ¶
func (x Enum3) Number() protoreflect.EnumNumber
func (Enum3) Type ¶
func (Enum3) Type() protoreflect.EnumType
func (*Enum3) UnmarshalJSON
deprecated
type Message1 ¶
type Message1 struct {
// contains filtered or unexported fields
}
func (*Message1) Descriptor
deprecated
func (*Message1) ProtoMessage ¶
func (*Message1) ProtoMessage()
func (*Message1) ProtoReflect ¶
func (x *Message1) ProtoReflect() protoreflect.Message
type Message2 ¶
type Message2 struct {
// contains filtered or unexported fields
}
func (*Message2) Descriptor
deprecated
func (*Message2) ProtoMessage ¶
func (*Message2) ProtoMessage()
func (*Message2) ProtoReflect ¶
func (x *Message2) ProtoReflect() protoreflect.Message
type Message3 ¶
type Message3 struct {
// contains filtered or unexported fields
}
func (*Message3) Descriptor
deprecated
func (*Message3) ProtoMessage ¶
func (*Message3) ProtoMessage()
func (*Message3) ProtoReflect ¶
func (x *Message3) ProtoReflect() protoreflect.Message
type Message4 ¶
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
deprecated
func (*Message4) GetBoolField ¶
func (*Message4) ProtoMessage ¶
func (*Message4) ProtoMessage()
func (*Message4) ProtoReflect ¶
func (x *Message4) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.