Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ABitOfEverything
- func (*ABitOfEverything) Descriptor() ([]byte, []int)deprecated
- func (x *ABitOfEverything) GetBool() bool
- func (x *ABitOfEverything) GetBytes() []byte
- func (x *ABitOfEverything) GetEnum() AnEnum
- func (x *ABitOfEverything) GetF32() uint32
- func (x *ABitOfEverything) GetF64() uint64
- func (x *ABitOfEverything) GetI32() int32
- func (x *ABitOfEverything) GetI64() int64
- func (x *ABitOfEverything) GetMessage() *NestedMessage
- func (x *ABitOfEverything) GetRepeated() []int32
- func (x *ABitOfEverything) GetSf32() int32
- func (x *ABitOfEverything) GetSf64() int64
- func (x *ABitOfEverything) GetSi32() int32
- func (x *ABitOfEverything) GetSi64() int64
- func (x *ABitOfEverything) GetStr() string
- func (x *ABitOfEverything) GetU32() uint32
- func (x *ABitOfEverything) GetU64() uint64
- func (*ABitOfEverything) ProtoMessage()
- func (x *ABitOfEverything) ProtoReflect() protoreflect.Message
- func (x *ABitOfEverything) Reset()
- func (x *ABitOfEverything) String() string
- type AnEnum
- type NestedMessage
- func (*NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NestedMessage) GetBar() int32
- func (x *NestedMessage) GetFoo() string
- func (*NestedMessage) ProtoMessage()
- func (x *NestedMessage) ProtoReflect() protoreflect.Message
- func (x *NestedMessage) Reset()
- func (x *NestedMessage) String() string
- type WithAList
- func (*WithAList) Descriptor() ([]byte, []int)deprecated
- func (x *WithAList) GetDontOmitemptyList() []string
- func (x *WithAList) GetList() []string
- func (*WithAList) ProtoMessage()
- func (x *WithAList) ProtoReflect() protoreflect.Message
- func (x *WithAList) Reset()
- func (x *WithAList) String() string
- type WithAMap
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AnEnum_name = map[int32]string{ 0: "UNDEFINED", 1: "ONE", 2: "TWO", } AnEnum_value = map[string]int32{ "UNDEFINED": 0, "ONE": 1, "TWO": 2, } )
Enum value maps for AnEnum.
View Source
var File_testpb_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ABitOfEverything ¶
type ABitOfEverything struct { Message *NestedMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Enum AnEnum `protobuf:"varint,2,opt,name=enum,proto3,enum=testpb.AnEnum" json:"enum,omitempty"` Repeated []int32 `protobuf:"varint,6,rep,packed,name=repeated,proto3" json:"repeated,omitempty"` Str string `protobuf:"bytes,7,opt,name=str,proto3" json:"str,omitempty"` Bool bool `protobuf:"varint,8,opt,name=bool,proto3" json:"bool,omitempty"` Bytes []byte `protobuf:"bytes,9,opt,name=bytes,proto3" json:"bytes,omitempty"` I32 int32 `protobuf:"varint,10,opt,name=i32,proto3" json:"i32,omitempty"` F32 uint32 `protobuf:"fixed32,11,opt,name=f32,proto3" json:"f32,omitempty"` U32 uint32 `protobuf:"varint,12,opt,name=u32,proto3" json:"u32,omitempty"` Si32 int32 `protobuf:"zigzag32,13,opt,name=si32,proto3" json:"si32,omitempty"` Sf32 int32 `protobuf:"fixed32,14,opt,name=sf32,proto3" json:"sf32,omitempty"` I64 int64 `protobuf:"varint,15,opt,name=i64,proto3" json:"i64,omitempty"` F64 uint64 `protobuf:"fixed64,16,opt,name=f64,proto3" json:"f64,omitempty"` U64 uint64 `protobuf:"varint,17,opt,name=u64,proto3" json:"u64,omitempty"` Si64 int64 `protobuf:"zigzag64,18,opt,name=si64,proto3" json:"si64,omitempty"` Sf64 int64 `protobuf:"fixed64,19,opt,name=sf64,proto3" json:"sf64,omitempty"` // contains filtered or unexported fields }
func (*ABitOfEverything) Descriptor
deprecated
func (*ABitOfEverything) Descriptor() ([]byte, []int)
Deprecated: Use ABitOfEverything.ProtoReflect.Descriptor instead.
func (*ABitOfEverything) GetBool ¶
func (x *ABitOfEverything) GetBool() bool
func (*ABitOfEverything) GetBytes ¶
func (x *ABitOfEverything) GetBytes() []byte
func (*ABitOfEverything) GetEnum ¶
func (x *ABitOfEverything) GetEnum() AnEnum
func (*ABitOfEverything) GetF32 ¶
func (x *ABitOfEverything) GetF32() uint32
func (*ABitOfEverything) GetF64 ¶
func (x *ABitOfEverything) GetF64() uint64
func (*ABitOfEverything) GetI32 ¶
func (x *ABitOfEverything) GetI32() int32
func (*ABitOfEverything) GetI64 ¶
func (x *ABitOfEverything) GetI64() int64
func (*ABitOfEverything) GetMessage ¶
func (x *ABitOfEverything) GetMessage() *NestedMessage
func (*ABitOfEverything) GetRepeated ¶
func (x *ABitOfEverything) GetRepeated() []int32
func (*ABitOfEverything) GetSf32 ¶
func (x *ABitOfEverything) GetSf32() int32
func (*ABitOfEverything) GetSf64 ¶
func (x *ABitOfEverything) GetSf64() int64
func (*ABitOfEverything) GetSi32 ¶
func (x *ABitOfEverything) GetSi32() int32
func (*ABitOfEverything) GetSi64 ¶
func (x *ABitOfEverything) GetSi64() int64
func (*ABitOfEverything) GetStr ¶
func (x *ABitOfEverything) GetStr() string
func (*ABitOfEverything) GetU32 ¶
func (x *ABitOfEverything) GetU32() uint32
func (*ABitOfEverything) GetU64 ¶
func (x *ABitOfEverything) GetU64() uint64
func (*ABitOfEverything) ProtoMessage ¶
func (*ABitOfEverything) ProtoMessage()
func (*ABitOfEverything) ProtoReflect ¶
func (x *ABitOfEverything) ProtoReflect() protoreflect.Message
func (*ABitOfEverything) Reset ¶
func (x *ABitOfEverything) Reset()
func (*ABitOfEverything) String ¶
func (x *ABitOfEverything) String() string
type AnEnum ¶
type AnEnum int32
func (AnEnum) Descriptor ¶
func (AnEnum) Descriptor() protoreflect.EnumDescriptor
func (AnEnum) Number ¶
func (x AnEnum) Number() protoreflect.EnumNumber
func (AnEnum) Type ¶
func (AnEnum) Type() protoreflect.EnumType
type NestedMessage ¶
type NestedMessage struct { Foo string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"` Bar int32 `protobuf:"varint,2,opt,name=bar,proto3" json:"bar,omitempty"` // contains filtered or unexported fields }
func (*NestedMessage) Descriptor
deprecated
func (*NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use NestedMessage.ProtoReflect.Descriptor instead.
func (*NestedMessage) GetBar ¶
func (x *NestedMessage) GetBar() int32
func (*NestedMessage) GetFoo ¶
func (x *NestedMessage) GetFoo() string
func (*NestedMessage) ProtoMessage ¶
func (*NestedMessage) ProtoMessage()
func (*NestedMessage) ProtoReflect ¶
func (x *NestedMessage) ProtoReflect() protoreflect.Message
func (*NestedMessage) Reset ¶
func (x *NestedMessage) Reset()
func (*NestedMessage) String ¶
func (x *NestedMessage) String() string
type WithAList ¶
type WithAList struct { DontOmitemptyList []string `protobuf:"bytes,1,rep,name=dont_omitempty_list,json=dontOmitemptyList,proto3" json:"dont_omitempty_list,omitempty"` List []string `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*WithAList) ProtoReflect ¶
func (x *WithAList) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.