package lazy
import "google.golang.org/protobuf/internal/testprotos/lazy"
Index ¶
- Variables
- type BatNest
- func (*BatNest) Descriptor() ([]byte, []int)
- func (*BatNest) ProtoMessage()
- func (x *BatNest) ProtoReflect() protoreflect.Message
- func (x *BatNest) Reset()
- func (x *BatNest) String() string
- type Ext
- func (*Ext) Descriptor() ([]byte, []int)
- func (x *Ext) GetSomeFlag() bool
- func (*Ext) ProtoMessage()
- func (x *Ext) ProtoReflect() protoreflect.Message
- func (x *Ext) Reset()
- func (x *Ext) String() string
- type FSub
- func (*FSub) Descriptor() ([]byte, []int)
- func (x *FSub) GetB() uint32
- func (x *FSub) GetC() uint32
- func (x *FSub) GetGrandchild() *FSub
- func (*FSub) ProtoMessage()
- func (x *FSub) ProtoReflect() protoreflect.Message
- func (x *FSub) Reset()
- func (x *FSub) String() string
- type FTop
- func (*FTop) Descriptor() ([]byte, []int)
- func (x *FTop) GetA() uint32
- func (x *FTop) GetChild() *FSub
- func (*FTop) ProtoMessage()
- func (x *FTop) ProtoReflect() protoreflect.Message
- func (x *FTop) Reset()
- func (x *FTop) String() string
- type FlyingFox
- func (*FlyingFox) Descriptor() ([]byte, []int)
- func (x *FlyingFox) GetSpecies() FlyingFoxSpecies
- func (*FlyingFox) ProtoMessage()
- func (x *FlyingFox) ProtoReflect() protoreflect.Message
- func (x *FlyingFox) Reset()
- func (x *FlyingFox) String() string
- type FlyingFoxSpecies
- func (FlyingFoxSpecies) Descriptor() protoreflect.EnumDescriptor
- func (x FlyingFoxSpecies) Enum() *FlyingFoxSpecies
- func (FlyingFoxSpecies) EnumDescriptor() ([]byte, []int)
- func (x FlyingFoxSpecies) Number() protoreflect.EnumNumber
- func (x FlyingFoxSpecies) String() string
- func (FlyingFoxSpecies) Type() protoreflect.EnumType
- func (x *FlyingFoxSpecies) UnmarshalJSON(b []byte) error
- type Holder
- func (*Holder) Descriptor() ([]byte, []int)
- func (x *Holder) GetData() *messagesetpb.MessageSet
- func (*Holder) ProtoMessage()
- func (x *Holder) ProtoReflect() protoreflect.Message
- func (x *Holder) Reset()
- func (x *Holder) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (x *Node) GetBool() bool
- func (x *Node) GetBytes() []byte
- func (x *Node) GetDouble() float64
- func (x *Node) GetFixed32() uint32
- func (x *Node) GetFixed64() uint64
- func (x *Node) GetFloat() float32
- func (x *Node) GetInt32() int32
- func (x *Node) GetInt64() int64
- func (x *Node) GetNested() *Node
- func (x *Node) GetSfixed32() int32
- func (x *Node) GetSfixed64() int64
- func (x *Node) GetSint32() int32
- func (x *Node) GetSint64() int64
- func (x *Node) GetString_() string
- func (x *Node) GetUint32() uint32
- func (x *Node) GetUint64() uint64
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Pipistrelle
- func (*Pipistrelle) Descriptor() ([]byte, []int)
- func (x *Pipistrelle) GetSpecies() PipistrelleSpecies
- func (*Pipistrelle) ProtoMessage()
- func (x *Pipistrelle) ProtoReflect() protoreflect.Message
- func (x *Pipistrelle) Reset()
- func (x *Pipistrelle) String() string
- type PipistrelleSpecies
- func (PipistrelleSpecies) Descriptor() protoreflect.EnumDescriptor
- func (x PipistrelleSpecies) Enum() *PipistrelleSpecies
- func (PipistrelleSpecies) EnumDescriptor() ([]byte, []int)
- func (x PipistrelleSpecies) Number() protoreflect.EnumNumber
- func (x PipistrelleSpecies) String() string
- func (PipistrelleSpecies) Type() protoreflect.EnumType
- func (x *PipistrelleSpecies) UnmarshalJSON(b []byte) error
- type Pipistrelles
- func (*Pipistrelles) Descriptor() ([]byte, []int)
- func (x *Pipistrelles) GetSpecies() PipistrelleSpecies
- func (*Pipistrelles) ProtoMessage()
- func (x *Pipistrelles) ProtoReflect() protoreflect.Message
- func (x *Pipistrelles) Reset()
- func (x *Pipistrelles) String() string
- type Rabbit
- func (*Rabbit) Descriptor() ([]byte, []int)
- func (x *Rabbit) GetName() string
- func (*Rabbit) ProtoMessage()
- func (x *Rabbit) ProtoReflect() protoreflect.Message
- func (x *Rabbit) Reset()
- func (x *Rabbit) String() string
- type Sub
- func (*Sub) Descriptor() ([]byte, []int)
- func (x *Sub) GetC() uint32
- func (x *Sub) GetGrandchild() *Sub
- func (*Sub) ProtoMessage()
- func (x *Sub) ProtoReflect() protoreflect.Message
- func (x *Sub) Reset()
- func (x *Sub) String() string
- type Top
- func (*Top) Descriptor() ([]byte, []int)
- func (x *Top) GetA() uint32
- func (x *Top) GetChild() *Sub
- func (*Top) ProtoMessage()
- func (x *Top) ProtoReflect() protoreflect.Message
- func (x *Top) Reset()
- func (x *Top) String() string
- type Tree
Variables ¶
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.
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.
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.
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.
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.
var File_internal_testprotos_lazy_lazy_extension_normalized_wire_test_proto protoreflect.FileDescriptor
var File_internal_testprotos_lazy_lazy_extension_test_proto protoreflect.FileDescriptor
var File_internal_testprotos_lazy_lazy_normalized_wire_test_proto protoreflect.FileDescriptor
var File_internal_testprotos_lazy_lazy_tree_proto protoreflect.FileDescriptor
Types ¶
type BatNest ¶
type BatNest struct {
// contains filtered or unexported fields
}
And the ugly version that is not encouraged
func (*BatNest) Descriptor ¶
Deprecated: Use BatNest.ProtoReflect.Descriptor instead.
func (*BatNest) ProtoMessage ¶
func (*BatNest) ProtoMessage()
func (*BatNest) ProtoReflect ¶
func (x *BatNest) ProtoReflect() protoreflect.Message
func (*BatNest) Reset ¶
func (x *BatNest) Reset()
func (*BatNest) String ¶
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: Use Ext.ProtoReflect.Descriptor instead.
func (*Ext) GetSomeFlag ¶
func (*Ext) ProtoMessage ¶
func (*Ext) ProtoMessage()
func (*Ext) ProtoReflect ¶
func (x *Ext) ProtoReflect() protoreflect.Message
func (*Ext) Reset ¶
func (x *Ext) Reset()
func (*Ext) String ¶
type FSub ¶
type FSub struct { B *uint32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"` C *uint32 `protobuf:"varint,3,opt,name=c" json:"c,omitempty"` Grandchild *FSub `protobuf:"bytes,4,opt,name=grandchild" json:"grandchild,omitempty"` // contains filtered or unexported fields }
func (*FSub) Descriptor ¶
Deprecated: Use FSub.ProtoReflect.Descriptor instead.
func (*FSub) GetB ¶
func (*FSub) GetC ¶
func (*FSub) GetGrandchild ¶
func (*FSub) ProtoMessage ¶
func (*FSub) ProtoMessage()
func (*FSub) ProtoReflect ¶
func (x *FSub) ProtoReflect() protoreflect.Message
func (*FSub) Reset ¶
func (x *FSub) Reset()
func (*FSub) String ¶
type FTop ¶
type FTop struct { A *uint32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Child *FSub `protobuf:"bytes,2,opt,name=child" json:"child,omitempty"` // contains filtered or unexported fields }
func (*FTop) Descriptor ¶
Deprecated: Use FTop.ProtoReflect.Descriptor instead.
func (*FTop) GetA ¶
func (*FTop) GetChild ¶
func (*FTop) ProtoMessage ¶
func (*FTop) ProtoMessage()
func (*FTop) ProtoReflect ¶
func (x *FTop) ProtoReflect() protoreflect.Message
func (*FTop) Reset ¶
func (x *FTop) Reset()
func (*FTop) String ¶
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: Use FlyingFox.ProtoReflect.Descriptor instead.
func (*FlyingFox) GetSpecies ¶
func (x *FlyingFox) GetSpecies() FlyingFoxSpecies
func (*FlyingFox) ProtoMessage ¶
func (*FlyingFox) ProtoMessage()
func (*FlyingFox) ProtoReflect ¶
func (x *FlyingFox) ProtoReflect() protoreflect.Message
func (*FlyingFox) Reset ¶
func (x *FlyingFox) Reset()
func (*FlyingFox) String ¶
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 ¶
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 ¶
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: Use Holder.ProtoReflect.Descriptor instead.
func (*Holder) GetData ¶
func (x *Holder) GetData() *messagesetpb.MessageSet
func (*Holder) ProtoMessage ¶
func (*Holder) ProtoMessage()
func (*Holder) ProtoReflect ¶
func (x *Holder) ProtoReflect() protoreflect.Message
func (*Holder) Reset ¶
func (x *Holder) Reset()
func (*Holder) String ¶
type Node ¶
type Node struct { Nested *Node `protobuf:"bytes,99,opt,name=nested" json:"nested,omitempty"` Int32 *int32 `protobuf:"varint,1,opt,name=int32" json:"int32,omitempty"` Int64 *int64 `protobuf:"varint,2,opt,name=int64" json:"int64,omitempty"` Uint32 *uint32 `protobuf:"varint,3,opt,name=uint32" json:"uint32,omitempty"` Uint64 *uint64 `protobuf:"varint,4,opt,name=uint64" json:"uint64,omitempty"` Sint32 *int32 `protobuf:"zigzag32,5,opt,name=sint32" json:"sint32,omitempty"` Sint64 *int64 `protobuf:"zigzag64,6,opt,name=sint64" json:"sint64,omitempty"` Fixed32 *uint32 `protobuf:"fixed32,7,opt,name=fixed32" json:"fixed32,omitempty"` Fixed64 *uint64 `protobuf:"fixed64,8,opt,name=fixed64" json:"fixed64,omitempty"` Sfixed32 *int32 `protobuf:"fixed32,9,opt,name=sfixed32" json:"sfixed32,omitempty"` Sfixed64 *int64 `protobuf:"fixed64,10,opt,name=sfixed64" json:"sfixed64,omitempty"` Float *float32 `protobuf:"fixed32,11,opt,name=float" json:"float,omitempty"` Double *float64 `protobuf:"fixed64,12,opt,name=double" json:"double,omitempty"` Bool *bool `protobuf:"varint,13,opt,name=bool" json:"bool,omitempty"` String_ *string `protobuf:"bytes,14,opt,name=string" json:"string,omitempty"` Bytes []byte `protobuf:"bytes,15,opt,name=bytes" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor ¶
Deprecated: Use Node.ProtoReflect.Descriptor instead.
func (*Node) GetBool ¶
func (*Node) GetBytes ¶
func (*Node) GetDouble ¶
func (*Node) GetFixed32 ¶
func (*Node) GetFixed64 ¶
func (*Node) GetFloat ¶
func (*Node) GetInt32 ¶
func (*Node) GetInt64 ¶
func (*Node) GetNested ¶
func (*Node) GetSfixed32 ¶
func (*Node) GetSfixed64 ¶
func (*Node) GetSint32 ¶
func (*Node) GetSint64 ¶
func (*Node) GetString_ ¶
func (*Node) GetUint32 ¶
func (*Node) GetUint64 ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) Reset ¶
func (x *Node) Reset()
func (*Node) String ¶
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 ¶
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 ¶
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 ¶
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 ¶
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: Use Rabbit.ProtoReflect.Descriptor instead.
func (*Rabbit) GetName ¶
func (*Rabbit) ProtoMessage ¶
func (*Rabbit) ProtoMessage()
func (*Rabbit) ProtoReflect ¶
func (x *Rabbit) ProtoReflect() protoreflect.Message
func (*Rabbit) Reset ¶
func (x *Rabbit) Reset()
func (*Rabbit) String ¶
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: Use Sub.ProtoReflect.Descriptor instead.
func (*Sub) GetC ¶
func (*Sub) GetGrandchild ¶
func (*Sub) ProtoMessage ¶
func (*Sub) ProtoMessage()
func (*Sub) ProtoReflect ¶
func (x *Sub) ProtoReflect() protoreflect.Message
func (*Sub) Reset ¶
func (x *Sub) Reset()
func (*Sub) String ¶
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: Use Top.ProtoReflect.Descriptor instead.
func (*Top) GetA ¶
func (*Top) GetChild ¶
func (*Top) ProtoMessage ¶
func (*Top) ProtoMessage()
func (*Top) ProtoReflect ¶
func (x *Top) ProtoReflect() protoreflect.Message
func (*Top) Reset ¶
func (x *Top) Reset()
func (*Top) String ¶
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: Use Tree.ProtoReflect.Descriptor instead.
func (*Tree) GetEucalyptus ¶
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) ProtoReflect ¶
func (x *Tree) ProtoReflect() protoreflect.Message
func (*Tree) Reset ¶
func (x *Tree) Reset()
func (*Tree) String ¶
Source Files ¶
lazy_extension_normalized_wire_test.pb.go lazy_extension_test.pb.go lazy_normalized_wire_test.pb.go lazy_tree.pb.go
Directories ¶
Path | Synopsis |
---|---|
internal/testprotos/lazy/lazy_hybrid | |
internal/testprotos/lazy/lazy_opaque |
- Version
- v1.36.5 (latest)
- Published
- Feb 6, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 10 hours ago –
Tools for package owners.