lazy

package
v1.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

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

func (x *BatNest) String() 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

func (*Ext) Descriptor() ([]byte, []int)

Deprecated: Use Ext.ProtoReflect.Descriptor instead.

func (*Ext) GetSomeFlag

func (x *Ext) GetSomeFlag() bool

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

func (x *Ext) String() 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

func (*FlyingFox) Descriptor() ([]byte, []int)

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

func (x *FlyingFox) String() 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) Enum

func (FlyingFoxSpecies) EnumDescriptor deprecated

func (FlyingFoxSpecies) EnumDescriptor() ([]byte, []int)

Deprecated: Use FlyingFoxSpecies.Descriptor instead.

func (FlyingFoxSpecies) Number

func (FlyingFoxSpecies) String

func (x FlyingFoxSpecies) String() string

func (FlyingFoxSpecies) Type

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) Descriptor() ([]byte, []int)

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

func (x *Holder) String() 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 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) Enum

func (PipistrelleSpecies) EnumDescriptor deprecated

func (PipistrelleSpecies) EnumDescriptor() ([]byte, []int)

Deprecated: Use PipistrelleSpecies.Descriptor instead.

func (PipistrelleSpecies) Number

func (PipistrelleSpecies) String

func (x PipistrelleSpecies) String() string

func (PipistrelleSpecies) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Rabbit.ProtoReflect.Descriptor instead.

func (*Rabbit) GetName

func (x *Rabbit) GetName() string

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

func (x *Rabbit) String() 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

func (*Sub) Descriptor() ([]byte, []int)

Deprecated: Use Sub.ProtoReflect.Descriptor instead.

func (*Sub) GetC

func (x *Sub) GetC() uint32

func (*Sub) GetGrandchild

func (x *Sub) GetGrandchild() *Sub

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

func (x *Sub) String() 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

func (*Top) Descriptor() ([]byte, []int)

Deprecated: Use Top.ProtoReflect.Descriptor instead.

func (*Top) GetA

func (x *Top) GetA() uint32

func (*Top) GetChild

func (x *Top) GetChild() *Sub

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

func (x *Top) String() 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

func (*Tree) Descriptor() ([]byte, []int)

Deprecated: Use Tree.ProtoReflect.Descriptor instead.

func (*Tree) GetEucalyptus

func (x *Tree) GetEucalyptus() bool

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

func (x *Tree) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL