Documentation ¶
Index ¶
- Variables
- type BatNest
- type Ext
- type FlyingFox
- type FlyingFoxSpecies
- func (FlyingFoxSpecies) Descriptor() protoreflect.EnumDescriptor
- func (x FlyingFoxSpecies) Enum() *FlyingFoxSpecies
- func (FlyingFoxSpecies) EnumDescriptor() ([]byte, []int)deprecated
- func (x FlyingFoxSpecies) Number() protoreflect.EnumNumber
- func (x FlyingFoxSpecies) String() string
- func (FlyingFoxSpecies) Type() protoreflect.EnumType
- func (x *FlyingFoxSpecies) UnmarshalJSON(b []byte) errordeprecated
- type Holder
- type Pipistrelle
- type PipistrelleSpecies
- func (PipistrelleSpecies) Descriptor() protoreflect.EnumDescriptor
- func (x PipistrelleSpecies) Enum() *PipistrelleSpecies
- func (PipistrelleSpecies) EnumDescriptor() ([]byte, []int)deprecated
- func (x PipistrelleSpecies) Number() protoreflect.EnumNumber
- func (x PipistrelleSpecies) String() string
- func (PipistrelleSpecies) Type() protoreflect.EnumType
- func (x *PipistrelleSpecies) UnmarshalJSON(b []byte) errordeprecated
- type Pipistrelles
- type Rabbit
- type Sub
- type Top
- type Tree
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlyingFoxSpecies_name = map[int32]string{ 0: "FLYING_FOX_UNDEFINED", 1: "GREY_HEADED", 2: "BLACK", 3: "SPECTACLED", 4: "LARGE_EARED", 5: "DUSKY", 6: "TORRESIAN", 7: "BARE_BACKED", } FlyingFoxSpecies_value = map[string]int32{ "FLYING_FOX_UNDEFINED": 0, "GREY_HEADED": 1, "BLACK": 2, "SPECTACLED": 3, "LARGE_EARED": 4, "DUSKY": 5, "TORRESIAN": 6, "BARE_BACKED": 7, } )
Enum value maps for FlyingFoxSpecies.
View Source
var ( PipistrelleSpecies_name = map[int32]string{ 0: "PIPISTRELLE_UNDEFINED", 1: "FOREST", 2: "INDIAN", 3: "EGYPTIAN", 4: "RUSTY", 5: "LEAST", } PipistrelleSpecies_value = map[string]int32{ "PIPISTRELLE_UNDEFINED": 0, "FOREST": 1, "INDIAN": 2, "EGYPTIAN": 3, "RUSTY": 4, "LEAST": 5, } )
Enum value maps for PipistrelleSpecies.
View Source
var ( // optional lazy_extension_test.FlyingFox bat = 345570595; E_Bat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[0] // optional lazy_extension_test.FlyingFox bat_pup = 345570596; E_BatPup = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[1] // repeated lazy_extension_test.FlyingFox bat_posse = 345570597; E_BatPosse = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[2] // optional bytes binary_bat = 345570598; E_BinaryBat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[3] // optional uint32 integer_bat = 345570599; E_IntegerBat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[4] // optional lazy_extension_test.Pipistrelle pipistrelle = 345570600; E_Pipistrelle = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[5] // repeated lazy_extension_test.Pipistrelles pipistrelles = 345570601; E_Pipistrelles = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[6] // optional lazy_extension_test.FlyingFox bat = 345570602; E_BatNest_Bat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[8] )
Extension fields to Tree.
View Source
var (
// optional lazy_extension_normalized_wire_test.Ext b = 2;
E_Ext_B = &file_internal_testprotos_lazy_lazy_extension_normalized_wire_test_proto_extTypes[0]
)
Extension fields to Sub.
View Source
var (
// optional lazy_extension_test.Rabbit message_set_extension = 345570595;
E_Rabbit_MessageSetExtension = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[7]
)
Extension fields to messagesetpb.MessageSet.
View Source
var File_internal_testprotos_lazy_lazy_extension_normalized_wire_test_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_lazy_lazy_extension_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BatNest ¶
type BatNest struct {
// contains filtered or unexported fields
}
And the ugly version that is not encouraged
func (*BatNest) Descriptor
deprecated
func (*BatNest) ProtoMessage ¶
func (*BatNest) ProtoMessage()
func (*BatNest) ProtoReflect ¶
func (x *BatNest) ProtoReflect() protoreflect.Message
type Ext ¶
type Ext struct { SomeFlag *bool `protobuf:"varint,1,opt,name=some_flag,json=someFlag" json:"some_flag,omitempty"` // contains filtered or unexported fields }
func (*Ext) Descriptor
deprecated
func (*Ext) GetSomeFlag ¶
func (*Ext) ProtoMessage ¶
func (*Ext) ProtoMessage()
func (*Ext) ProtoReflect ¶
func (x *Ext) ProtoReflect() protoreflect.Message
type FlyingFox ¶
type FlyingFox struct { Species *FlyingFoxSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.FlyingFoxSpecies" json:"species,omitempty"` // contains filtered or unexported fields }
func (*FlyingFox) Descriptor
deprecated
func (*FlyingFox) GetSpecies ¶
func (x *FlyingFox) GetSpecies() FlyingFoxSpecies
func (*FlyingFox) ProtoMessage ¶
func (*FlyingFox) ProtoMessage()
func (*FlyingFox) ProtoReflect ¶
func (x *FlyingFox) ProtoReflect() protoreflect.Message
type FlyingFoxSpecies ¶
type FlyingFoxSpecies int32
const ( FlyingFoxSpecies_FLYING_FOX_UNDEFINED FlyingFoxSpecies = 0 FlyingFoxSpecies_GREY_HEADED FlyingFoxSpecies = 1 FlyingFoxSpecies_BLACK FlyingFoxSpecies = 2 FlyingFoxSpecies_SPECTACLED FlyingFoxSpecies = 3 FlyingFoxSpecies_LARGE_EARED FlyingFoxSpecies = 4 FlyingFoxSpecies_DUSKY FlyingFoxSpecies = 5 FlyingFoxSpecies_TORRESIAN FlyingFoxSpecies = 6 FlyingFoxSpecies_BARE_BACKED FlyingFoxSpecies = 7 )
func (FlyingFoxSpecies) Descriptor ¶
func (FlyingFoxSpecies) Descriptor() protoreflect.EnumDescriptor
func (FlyingFoxSpecies) Enum ¶
func (x FlyingFoxSpecies) Enum() *FlyingFoxSpecies
func (FlyingFoxSpecies) EnumDescriptor
deprecated
func (FlyingFoxSpecies) EnumDescriptor() ([]byte, []int)
Deprecated: Use FlyingFoxSpecies.Descriptor instead.
func (FlyingFoxSpecies) Number ¶
func (x FlyingFoxSpecies) Number() protoreflect.EnumNumber
func (FlyingFoxSpecies) String ¶
func (x FlyingFoxSpecies) String() string
func (FlyingFoxSpecies) Type ¶
func (FlyingFoxSpecies) Type() protoreflect.EnumType
func (*FlyingFoxSpecies) UnmarshalJSON
deprecated
func (x *FlyingFoxSpecies) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Holder ¶
type Holder struct { Data *messagesetpb.MessageSet `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
This message contains a message set.
func (*Holder) Descriptor
deprecated
func (*Holder) GetData ¶
func (x *Holder) GetData() *messagesetpb.MessageSet
func (*Holder) ProtoMessage ¶
func (*Holder) ProtoMessage()
func (*Holder) ProtoReflect ¶
func (x *Holder) ProtoReflect() protoreflect.Message
type Pipistrelle ¶
type Pipistrelle struct { Species *PipistrelleSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.PipistrelleSpecies" json:"species,omitempty"` // contains filtered or unexported fields }
func (*Pipistrelle) Descriptor
deprecated
func (*Pipistrelle) Descriptor() ([]byte, []int)
Deprecated: Use Pipistrelle.ProtoReflect.Descriptor instead.
func (*Pipistrelle) GetSpecies ¶
func (x *Pipistrelle) GetSpecies() PipistrelleSpecies
func (*Pipistrelle) ProtoMessage ¶
func (*Pipistrelle) ProtoMessage()
func (*Pipistrelle) ProtoReflect ¶
func (x *Pipistrelle) ProtoReflect() protoreflect.Message
func (*Pipistrelle) Reset ¶
func (x *Pipistrelle) Reset()
func (*Pipistrelle) String ¶
func (x *Pipistrelle) String() string
type PipistrelleSpecies ¶
type PipistrelleSpecies int32
const ( PipistrelleSpecies_PIPISTRELLE_UNDEFINED PipistrelleSpecies = 0 PipistrelleSpecies_FOREST PipistrelleSpecies = 1 PipistrelleSpecies_INDIAN PipistrelleSpecies = 2 PipistrelleSpecies_EGYPTIAN PipistrelleSpecies = 3 PipistrelleSpecies_RUSTY PipistrelleSpecies = 4 PipistrelleSpecies_LEAST PipistrelleSpecies = 5 )
func (PipistrelleSpecies) Descriptor ¶
func (PipistrelleSpecies) Descriptor() protoreflect.EnumDescriptor
func (PipistrelleSpecies) Enum ¶
func (x PipistrelleSpecies) Enum() *PipistrelleSpecies
func (PipistrelleSpecies) EnumDescriptor
deprecated
func (PipistrelleSpecies) EnumDescriptor() ([]byte, []int)
Deprecated: Use PipistrelleSpecies.Descriptor instead.
func (PipistrelleSpecies) Number ¶
func (x PipistrelleSpecies) Number() protoreflect.EnumNumber
func (PipistrelleSpecies) String ¶
func (x PipistrelleSpecies) String() string
func (PipistrelleSpecies) Type ¶
func (PipistrelleSpecies) Type() protoreflect.EnumType
func (*PipistrelleSpecies) UnmarshalJSON
deprecated
func (x *PipistrelleSpecies) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Pipistrelles ¶
type Pipistrelles struct { Species *PipistrelleSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.PipistrelleSpecies" json:"species,omitempty"` // contains filtered or unexported fields }
func (*Pipistrelles) Descriptor
deprecated
func (*Pipistrelles) Descriptor() ([]byte, []int)
Deprecated: Use Pipistrelles.ProtoReflect.Descriptor instead.
func (*Pipistrelles) GetSpecies ¶
func (x *Pipistrelles) GetSpecies() PipistrelleSpecies
func (*Pipistrelles) ProtoMessage ¶
func (*Pipistrelles) ProtoMessage()
func (*Pipistrelles) ProtoReflect ¶
func (x *Pipistrelles) ProtoReflect() protoreflect.Message
func (*Pipistrelles) Reset ¶
func (x *Pipistrelles) Reset()
func (*Pipistrelles) String ¶
func (x *Pipistrelles) String() string
type Rabbit ¶
type Rabbit struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
This message may be inserted into a message set.
func (*Rabbit) Descriptor
deprecated
func (*Rabbit) ProtoMessage ¶
func (*Rabbit) ProtoMessage()
func (*Rabbit) ProtoReflect ¶
func (x *Rabbit) ProtoReflect() protoreflect.Message
type Sub ¶
type Sub struct { C *uint32 `protobuf:"varint,3,opt,name=c" json:"c,omitempty"` Grandchild *Sub `protobuf:"bytes,4,opt,name=grandchild" json:"grandchild,omitempty"` // contains filtered or unexported fields }
func (*Sub) Descriptor
deprecated
func (*Sub) GetGrandchild ¶
func (*Sub) ProtoMessage ¶
func (*Sub) ProtoMessage()
func (*Sub) ProtoReflect ¶
func (x *Sub) ProtoReflect() protoreflect.Message
type Top ¶
type Top struct { A *uint32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Child *Sub `protobuf:"bytes,2,opt,name=child" json:"child,omitempty"` // contains filtered or unexported fields }
func (*Top) Descriptor
deprecated
func (*Top) ProtoMessage ¶
func (*Top) ProtoMessage()
func (*Top) ProtoReflect ¶
func (x *Top) ProtoReflect() protoreflect.Message
type Tree ¶
type Tree struct { Eucalyptus *bool `protobuf:"varint,1,opt,name=eucalyptus" json:"eucalyptus,omitempty"` // contains filtered or unexported fields }
func (*Tree) Descriptor
deprecated
func (*Tree) GetEucalyptus ¶
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) ProtoReflect ¶
func (x *Tree) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.