pb

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ArrayMap

type ArrayMap struct {
	Array []int32          `protobuf:"zigzag32,1,rep,packed,name=array,proto3" json:"array,omitempty"`
	Map   map[int32]string `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ArrayMap) Descriptor deprecated

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

Deprecated: Use ArrayMap.ProtoReflect.Descriptor instead.

func (*ArrayMap) GetArray

func (x *ArrayMap) GetArray() []int32

func (*ArrayMap) GetMap

func (x *ArrayMap) GetMap() map[int32]string

func (*ArrayMap) ProtoMessage

func (*ArrayMap) ProtoMessage()

func (*ArrayMap) ProtoReflect

func (x *ArrayMap) ProtoReflect() protoreflect.Message

func (*ArrayMap) Reset

func (x *ArrayMap) Reset()

func (*ArrayMap) String

func (x *ArrayMap) String() string

type Base

type Base struct {
	A             string  `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B             int32   `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
	C             *string `protobuf:"bytes,3,opt,name=c,proto3,oneof" json:"c,omitempty"`
	UntaggedField string  `protobuf:"bytes,4,opt,name=UntaggedField,proto3" json:"UntaggedField,omitempty"`
	// contains filtered or unexported fields
}

func (*Base) Descriptor deprecated

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

Deprecated: Use Base.ProtoReflect.Descriptor instead.

func (*Base) GetA

func (x *Base) GetA() string

func (*Base) GetB

func (x *Base) GetB() int32

func (*Base) GetC

func (x *Base) GetC() string

func (*Base) GetUntaggedField

func (x *Base) GetUntaggedField() string

func (*Base) ProtoMessage

func (*Base) ProtoMessage()

func (*Base) ProtoReflect

func (x *Base) ProtoReflect() protoreflect.Message

func (*Base) Reset

func (x *Base) Reset()

func (*Base) String

func (x *Base) String() string

type BenchmarkTest

type BenchmarkTest struct {
	A string  `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B float32 `protobuf:"fixed32,2,opt,name=b,proto3" json:"b,omitempty"`
	C int32   `protobuf:"zigzag32,3,opt,name=c,proto3" json:"c,omitempty"`
	D *bool   `protobuf:"varint,4,opt,name=d,proto3,oneof" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*BenchmarkTest) Descriptor deprecated

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

Deprecated: Use BenchmarkTest.ProtoReflect.Descriptor instead.

func (*BenchmarkTest) GetA

func (x *BenchmarkTest) GetA() string

func (*BenchmarkTest) GetB

func (x *BenchmarkTest) GetB() float32

func (*BenchmarkTest) GetC

func (x *BenchmarkTest) GetC() int32

func (*BenchmarkTest) GetD

func (x *BenchmarkTest) GetD() bool

func (*BenchmarkTest) ProtoMessage

func (*BenchmarkTest) ProtoMessage()

func (*BenchmarkTest) ProtoReflect

func (x *BenchmarkTest) ProtoReflect() protoreflect.Message

func (*BenchmarkTest) Reset

func (x *BenchmarkTest) Reset()

func (*BenchmarkTest) String

func (x *BenchmarkTest) String() string

type Nested

type Nested struct {
	A    string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	Base *Base  `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Nested) Descriptor deprecated

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

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetA

func (x *Nested) GetA() string

func (*Nested) GetBase

func (x *Nested) GetBase() *Base

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

func (x *Nested) ProtoReflect() protoreflect.Message

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

type NestedRecursive

type NestedRecursive struct {
	A      string           `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B      int32            `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
	Nested *NestedRecursive `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedRecursive) Descriptor deprecated

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

Deprecated: Use NestedRecursive.ProtoReflect.Descriptor instead.

func (*NestedRecursive) GetA

func (x *NestedRecursive) GetA() string

func (*NestedRecursive) GetB

func (x *NestedRecursive) GetB() int32

func (*NestedRecursive) GetNested

func (x *NestedRecursive) GetNested() *NestedRecursive

func (*NestedRecursive) ProtoMessage

func (*NestedRecursive) ProtoMessage()

func (*NestedRecursive) ProtoReflect

func (x *NestedRecursive) ProtoReflect() protoreflect.Message

func (*NestedRecursive) Reset

func (x *NestedRecursive) Reset()

func (*NestedRecursive) String

func (x *NestedRecursive) String() string

type NestedRecursiveVariantA

type NestedRecursiveVariantA struct {
	C string                   `protobuf:"bytes,1,opt,name=c,proto3" json:"c,omitempty"`
	A *NestedRecursiveVariantA `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"`
	B *NestedRecursiveVariantB `protobuf:"bytes,3,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedRecursiveVariantA) Descriptor deprecated

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

Deprecated: Use NestedRecursiveVariantA.ProtoReflect.Descriptor instead.

func (*NestedRecursiveVariantA) GetA

func (*NestedRecursiveVariantA) GetB

func (*NestedRecursiveVariantA) GetC

func (x *NestedRecursiveVariantA) GetC() string

func (*NestedRecursiveVariantA) ProtoMessage

func (*NestedRecursiveVariantA) ProtoMessage()

func (*NestedRecursiveVariantA) ProtoReflect

func (x *NestedRecursiveVariantA) ProtoReflect() protoreflect.Message

func (*NestedRecursiveVariantA) Reset

func (x *NestedRecursiveVariantA) Reset()

func (*NestedRecursiveVariantA) String

func (x *NestedRecursiveVariantA) String() string

type NestedRecursiveVariantB

type NestedRecursiveVariantB struct {
	C string                   `protobuf:"bytes,1,opt,name=c,proto3" json:"c,omitempty"`
	B *NestedRecursiveVariantB `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	A *NestedRecursiveVariantA `protobuf:"bytes,3,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedRecursiveVariantB) Descriptor deprecated

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

Deprecated: Use NestedRecursiveVariantB.ProtoReflect.Descriptor instead.

func (*NestedRecursiveVariantB) GetA

func (*NestedRecursiveVariantB) GetB

func (*NestedRecursiveVariantB) GetC

func (x *NestedRecursiveVariantB) GetC() string

func (*NestedRecursiveVariantB) ProtoMessage

func (*NestedRecursiveVariantB) ProtoMessage()

func (*NestedRecursiveVariantB) ProtoReflect

func (x *NestedRecursiveVariantB) ProtoReflect() protoreflect.Message

func (*NestedRecursiveVariantB) Reset

func (x *NestedRecursiveVariantB) Reset()

func (*NestedRecursiveVariantB) String

func (x *NestedRecursiveVariantB) String() string

type OptionalFields

type OptionalFields struct {
	A *string `protobuf:"bytes,1,opt,name=a,proto3,oneof" json:"a,omitempty"`
	B *int32  `protobuf:"zigzag32,2,opt,name=b,proto3,oneof" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*OptionalFields) Descriptor deprecated

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

Deprecated: Use OptionalFields.ProtoReflect.Descriptor instead.

func (*OptionalFields) GetA

func (x *OptionalFields) GetA() string

func (*OptionalFields) GetB

func (x *OptionalFields) GetB() int32

func (*OptionalFields) ProtoMessage

func (*OptionalFields) ProtoMessage()

func (*OptionalFields) ProtoReflect

func (x *OptionalFields) ProtoReflect() protoreflect.Message

func (*OptionalFields) Reset

func (x *OptionalFields) Reset()

func (*OptionalFields) String

func (x *OptionalFields) String() string

type RecursiveMessage

type RecursiveMessage struct {
	A      string            `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B      int32             `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
	Nested *RecursiveMessage `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"`
	// contains filtered or unexported fields
}

func (*RecursiveMessage) Descriptor deprecated

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

Deprecated: Use RecursiveMessage.ProtoReflect.Descriptor instead.

func (*RecursiveMessage) GetA

func (x *RecursiveMessage) GetA() string

func (*RecursiveMessage) GetB

func (x *RecursiveMessage) GetB() int32

func (*RecursiveMessage) GetNested

func (x *RecursiveMessage) GetNested() *RecursiveMessage

func (*RecursiveMessage) ProtoMessage

func (*RecursiveMessage) ProtoMessage()

func (*RecursiveMessage) ProtoReflect

func (x *RecursiveMessage) ProtoReflect() protoreflect.Message

func (*RecursiveMessage) Reset

func (x *RecursiveMessage) Reset()

func (*RecursiveMessage) String

func (x *RecursiveMessage) String() string

Jump to

Keyboard shortcuts

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