proto3

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0, UNKNOWN, UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_compat_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmbeddedStruct

type EmbeddedStruct struct {
	SomethingFixedLen int64 `protobuf:"fixed64,1,opt,name=somethingFixedLen,proto3" json:"somethingFixedLen,omitempty"`
	// contains filtered or unexported fields
}

func (*EmbeddedStruct) Descriptor deprecated

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

Deprecated: Use EmbeddedStruct.ProtoReflect.Descriptor instead.

func (*EmbeddedStruct) GetSomethingFixedLen

func (x *EmbeddedStruct) GetSomethingFixedLen() int64

func (*EmbeddedStruct) ProtoMessage

func (*EmbeddedStruct) ProtoMessage()

func (*EmbeddedStruct) ProtoReflect

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

func (*EmbeddedStruct) Reset

func (x *EmbeddedStruct) Reset()

func (*EmbeddedStruct) String

func (x *EmbeddedStruct) String() string

type IntArr

type IntArr struct {
	Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArr) Descriptor deprecated

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

Deprecated: Use IntArr.ProtoReflect.Descriptor instead.

func (*IntArr) GetVal

func (x *IntArr) GetVal() []int64

func (*IntArr) ProtoMessage

func (*IntArr) ProtoMessage()

func (*IntArr) ProtoReflect

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

func (*IntArr) Reset

func (x *IntArr) Reset()

func (*IntArr) String

func (x *IntArr) String() string

type IntDef

type IntDef struct {
	Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*IntDef) Descriptor deprecated

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

Deprecated: Use IntDef.ProtoReflect.Descriptor instead.

func (*IntDef) GetVal

func (x *IntDef) GetVal() int64

func (*IntDef) ProtoMessage

func (*IntDef) ProtoMessage()

func (*IntDef) ProtoReflect

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

func (*IntDef) Reset

func (x *IntDef) Reset()

func (*IntDef) String

func (x *IntDef) String() string

type PrimitivesStruct

type PrimitivesStruct struct {
	Int32  int32 `protobuf:"varint,3,opt,name=Int32,proto3" json:"Int32,omitempty"`
	Int64  int64 `protobuf:"varint,4,opt,name=Int64,proto3" json:"Int64,omitempty"`
	Varint int64 `protobuf:"varint,5,opt,name=Varint,proto3" json:"Varint,omitempty"`
	// int     int
	// Byte    byte = 4; // this just another varint
	// Uint8   uint8 // another varint
	// Uint16  uint16 // another one, also the following
	// Uint32  uint32
	// Uint64  uint64
	// Uvarint uint64 `binary:"varint"`
	// Uint    uint
	String_ string                 `protobuf:"bytes,14,opt,name=String,proto3" json:"String,omitempty"`
	Bytes   []byte                 `protobuf:"bytes,15,opt,name=Bytes,proto3" json:"Bytes,omitempty"`
	Time    *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=Time,proto3" json:"Time,omitempty"`
	// contains filtered or unexported fields
}

func (*PrimitivesStruct) Descriptor deprecated

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

Deprecated: Use PrimitivesStruct.ProtoReflect.Descriptor instead.

func (*PrimitivesStruct) GetBytes

func (x *PrimitivesStruct) GetBytes() []byte

func (*PrimitivesStruct) GetInt32

func (x *PrimitivesStruct) GetInt32() int32

func (*PrimitivesStruct) GetInt64

func (x *PrimitivesStruct) GetInt64() int64

func (*PrimitivesStruct) GetString_

func (x *PrimitivesStruct) GetString_() string

func (*PrimitivesStruct) GetTime

func (x *PrimitivesStruct) GetTime() *timestamppb.Timestamp

func (*PrimitivesStruct) GetVarint

func (x *PrimitivesStruct) GetVarint() int64

func (*PrimitivesStruct) ProtoMessage

func (*PrimitivesStruct) ProtoMessage()

func (*PrimitivesStruct) ProtoReflect

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

func (*PrimitivesStruct) Reset

func (x *PrimitivesStruct) Reset()

func (*PrimitivesStruct) String

func (x *PrimitivesStruct) String() string

type PrimitivesStructSl

type PrimitivesStructSl struct {
	Structs []*PrimitivesStruct `protobuf:"bytes,1,rep,name=Structs,proto3" json:"Structs,omitempty"`
	// contains filtered or unexported fields
}

func (*PrimitivesStructSl) Descriptor deprecated

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

Deprecated: Use PrimitivesStructSl.ProtoReflect.Descriptor instead.

func (*PrimitivesStructSl) GetStructs

func (x *PrimitivesStructSl) GetStructs() []*PrimitivesStruct

func (*PrimitivesStructSl) ProtoMessage

func (*PrimitivesStructSl) ProtoMessage()

func (*PrimitivesStructSl) ProtoReflect

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

func (*PrimitivesStructSl) Reset

func (x *PrimitivesStructSl) Reset()

func (*PrimitivesStructSl) String

func (x *PrimitivesStructSl) String() string

type ProtoGotTime

type ProtoGotTime struct {
	T *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=T,proto3" json:"T,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoGotTime) Descriptor deprecated

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

Deprecated: Use ProtoGotTime.ProtoReflect.Descriptor instead.

func (*ProtoGotTime) GetT

func (x *ProtoGotTime) GetT() *timestamppb.Timestamp

func (*ProtoGotTime) ProtoMessage

func (*ProtoGotTime) ProtoMessage()

func (*ProtoGotTime) ProtoReflect

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

func (*ProtoGotTime) Reset

func (x *ProtoGotTime) Reset()

func (*ProtoGotTime) String

func (x *ProtoGotTime) String() string

type SomeStruct

type SomeStruct struct {

	// proto3 autom. turns this into a pointer ...
	Emb *EmbeddedStruct `protobuf:"bytes,1,opt,name=emb,proto3" json:"emb,omitempty"`
	// contains filtered or unexported fields
}

func (*SomeStruct) Descriptor deprecated

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

Deprecated: Use SomeStruct.ProtoReflect.Descriptor instead.

func (*SomeStruct) GetEmb

func (x *SomeStruct) GetEmb() *EmbeddedStruct

func (*SomeStruct) ProtoMessage

func (*SomeStruct) ProtoMessage()

func (*SomeStruct) ProtoReflect

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

func (*SomeStruct) Reset

func (x *SomeStruct) Reset()

func (*SomeStruct) String

func (x *SomeStruct) String() string

type Test32

type Test32 struct {
	Foo uint32 `protobuf:"fixed32,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Bar int32  `protobuf:"zigzag32,2,opt,name=bar,proto3" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

func (*Test32) Descriptor deprecated

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

Deprecated: Use Test32.ProtoReflect.Descriptor instead.

func (*Test32) GetBar

func (x *Test32) GetBar() int32

func (*Test32) GetFoo

func (x *Test32) GetFoo() uint32

func (*Test32) ProtoMessage

func (*Test32) ProtoMessage()

func (*Test32) ProtoReflect

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

func (*Test32) Reset

func (x *Test32) Reset()

func (*Test32) String

func (x *Test32) String() string

type TestFixedInt64

type TestFixedInt64 struct {
	Int64 uint64 `protobuf:"fixed64,1,opt,name=Int64,proto3" json:"Int64,omitempty"`
	// contains filtered or unexported fields
}

func (*TestFixedInt64) Descriptor deprecated

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

Deprecated: Use TestFixedInt64.ProtoReflect.Descriptor instead.

func (*TestFixedInt64) GetInt64

func (x *TestFixedInt64) GetInt64() uint64

func (*TestFixedInt64) ProtoMessage

func (*TestFixedInt64) ProtoMessage()

func (*TestFixedInt64) ProtoReflect

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

func (*TestFixedInt64) Reset

func (x *TestFixedInt64) Reset()

func (*TestFixedInt64) String

func (x *TestFixedInt64) String() string

type TestInt32

type TestInt32 struct {
	Int32 int32 `protobuf:"varint,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	// contains filtered or unexported fields
}

func (*TestInt32) Descriptor deprecated

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

Deprecated: Use TestInt32.ProtoReflect.Descriptor instead.

func (*TestInt32) GetInt32

func (x *TestInt32) GetInt32() int32

func (*TestInt32) ProtoMessage

func (*TestInt32) ProtoMessage()

func (*TestInt32) ProtoReflect

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

func (*TestInt32) Reset

func (x *TestInt32) Reset()

func (*TestInt32) String

func (x *TestInt32) String() string

type TestInt32Fixed

type TestInt32Fixed struct {
	Fixed32 uint32 `protobuf:"fixed32,1,opt,name=Fixed32,proto3" json:"Fixed32,omitempty"`
	// contains filtered or unexported fields
}

func (*TestInt32Fixed) Descriptor deprecated

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

Deprecated: Use TestInt32Fixed.ProtoReflect.Descriptor instead.

func (*TestInt32Fixed) GetFixed32

func (x *TestInt32Fixed) GetFixed32() uint32

func (*TestInt32Fixed) ProtoMessage

func (*TestInt32Fixed) ProtoMessage()

func (*TestInt32Fixed) ProtoReflect

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

func (*TestInt32Fixed) Reset

func (x *TestInt32Fixed) Reset()

func (*TestInt32Fixed) String

func (x *TestInt32Fixed) String() string

type TestInt32Varint

type TestInt32Varint struct {
	Int32 int32 `protobuf:"zigzag32,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	// contains filtered or unexported fields
}

func (*TestInt32Varint) Descriptor deprecated

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

Deprecated: Use TestInt32Varint.ProtoReflect.Descriptor instead.

func (*TestInt32Varint) GetInt32

func (x *TestInt32Varint) GetInt32() int32

func (*TestInt32Varint) ProtoMessage

func (*TestInt32Varint) ProtoMessage()

func (*TestInt32Varint) ProtoReflect

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

func (*TestInt32Varint) Reset

func (x *TestInt32Varint) Reset()

func (*TestInt32Varint) String

func (x *TestInt32Varint) String() string

type TestInts

type TestInts struct {
	Int32 int32 `protobuf:"varint,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	Int64 int64 `protobuf:"varint,2,opt,name=Int64,proto3" json:"Int64,omitempty"`
	// contains filtered or unexported fields
}

func (*TestInts) Descriptor deprecated

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

Deprecated: Use TestInts.ProtoReflect.Descriptor instead.

func (*TestInts) GetInt32

func (x *TestInts) GetInt32() int32

func (*TestInts) GetInt64

func (x *TestInts) GetInt64() int64

func (*TestInts) ProtoMessage

func (*TestInts) ProtoMessage()

func (*TestInts) ProtoReflect

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

func (*TestInts) Reset

func (x *TestInts) Reset()

func (*TestInts) String

func (x *TestInts) String() string

type TestSFixedSInt64

type TestSFixedSInt64 struct {
	SInt64 int64 `protobuf:"fixed64,1,opt,name=SInt64,proto3" json:"SInt64,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSFixedSInt64) Descriptor deprecated

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

Deprecated: Use TestSFixedSInt64.ProtoReflect.Descriptor instead.

func (*TestSFixedSInt64) GetSInt64

func (x *TestSFixedSInt64) GetSInt64() int64

func (*TestSFixedSInt64) ProtoMessage

func (*TestSFixedSInt64) ProtoMessage()

func (*TestSFixedSInt64) ProtoReflect

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

func (*TestSFixedSInt64) Reset

func (x *TestSFixedSInt64) Reset()

func (*TestSFixedSInt64) String

func (x *TestSFixedSInt64) String() string

Jump to

Keyboard shortcuts

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