Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type A
- func (*A) Descriptor() ([]byte, []int)deprecated
- func (x *A) GetBYTES() []byte
- func (x *A) GetDOUBLE() float64
- func (x *A) GetEnum() Enumeration
- func (x *A) GetFIXED32() uint32
- func (x *A) GetFIXED64() uint64
- func (x *A) GetFLOAT() float32
- func (x *A) GetINT32() int32
- func (x *A) GetINT64() int64
- func (x *A) GetImported() *ImportedMessage
- func (x *A) GetLIST() []*B
- func (x *A) GetLIST_ENUM() []Enumeration
- func (x *A) GetMAP() map[string]*B
- func (x *A) GetMESSAGE() *B
- func (x *A) GetONEOF() isA_ONEOF
- func (x *A) GetONEOF_B() *B
- func (x *A) GetONEOF_STRING() string
- func (x *A) GetSFIXED32() int32
- func (x *A) GetSFIXED64() int64
- func (x *A) GetSING64() int64
- func (x *A) GetSINT32() int32
- func (x *A) GetSTRING() string
- func (x *A) GetSomeBoolean() bool
- func (x *A) GetType_() string
- func (x *A) GetUINT32() uint32
- func (x *A) GetUINT64() uint64
- func (*A) ProtoMessage()
- func (x *A) ProtoReflect() protoreflect.Message
- func (x *A) Reset()
- func (x *A) String() string
- type A_ONEOF_B
- type A_ONEOF_STRING
- type B
- type CounterQueryRequest
- type CounterQueryResponse
- func (*CounterQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CounterQueryResponse) GetCounter() uint64
- func (*CounterQueryResponse) ProtoMessage()
- func (x *CounterQueryResponse) ProtoReflect() protoreflect.Message
- func (x *CounterQueryResponse) Reset()
- func (x *CounterQueryResponse) String() string
- type Enumeration
- func (Enumeration) Descriptor() protoreflect.EnumDescriptor
- func (x Enumeration) Enum() *Enumeration
- func (Enumeration) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enumeration) Number() protoreflect.EnumNumber
- func (x Enumeration) String() string
- func (Enumeration) Type() protoreflect.EnumType
- type ImportedMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Enumeration_name = map[int32]string{ 0: "One", 1: "Two", } Enumeration_value = map[string]int32{ "One": 0, "Two": 1, } )
Enum value maps for Enumeration.
View Source
var File__1_proto protoreflect.FileDescriptor
View Source
var File__2_proto protoreflect.FileDescriptor
View Source
var File__3_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { Enum Enumeration `protobuf:"varint,1,opt,name=enum,proto3,enum=Enumeration" json:"enum,omitempty"` SomeBoolean bool `protobuf:"varint,2,opt,name=some_boolean,json=someBoolean,proto3" json:"some_boolean,omitempty"` INT32 int32 `protobuf:"varint,3,opt,name=INT32,proto3" json:"INT32,omitempty"` SINT32 int32 `protobuf:"zigzag32,4,opt,name=SINT32,proto3" json:"SINT32,omitempty"` UINT32 uint32 `protobuf:"varint,5,opt,name=UINT32,proto3" json:"UINT32,omitempty"` INT64 int64 `protobuf:"varint,6,opt,name=INT64,proto3" json:"INT64,omitempty"` SING64 int64 `protobuf:"zigzag64,7,opt,name=SING64,proto3" json:"SING64,omitempty"` UINT64 uint64 `protobuf:"varint,8,opt,name=UINT64,proto3" json:"UINT64,omitempty"` SFIXED32 int32 `protobuf:"fixed32,9,opt,name=SFIXED32,proto3" json:"SFIXED32,omitempty"` FIXED32 uint32 `protobuf:"fixed32,10,opt,name=FIXED32,proto3" json:"FIXED32,omitempty"` FLOAT float32 `protobuf:"fixed32,11,opt,name=FLOAT,proto3" json:"FLOAT,omitempty"` SFIXED64 int64 `protobuf:"fixed64,12,opt,name=SFIXED64,proto3" json:"SFIXED64,omitempty"` FIXED64 uint64 `protobuf:"fixed64,13,opt,name=FIXED64,proto3" json:"FIXED64,omitempty"` DOUBLE float64 `protobuf:"fixed64,14,opt,name=DOUBLE,proto3" json:"DOUBLE,omitempty"` STRING string `protobuf:"bytes,15,opt,name=STRING,proto3" json:"STRING,omitempty"` BYTES []byte `protobuf:"bytes,16,opt,name=BYTES,proto3" json:"BYTES,omitempty"` MESSAGE *B `protobuf:"bytes,17,opt,name=MESSAGE,proto3" json:"MESSAGE,omitempty"` MAP map[string]*B `` /* 148-byte string literal not displayed */ LIST []*B `protobuf:"bytes,19,rep,name=LIST,proto3" json:"LIST,omitempty"` // Types that are assignable to ONEOF: // // *A_ONEOF_B // *A_ONEOF_STRING ONEOF isA_ONEOF `protobuf_oneof:"ONEOF"` LIST_ENUM []Enumeration `protobuf:"varint,22,rep,packed,name=LIST_ENUM,json=LISTENUM,proto3,enum=Enumeration" json:"LIST_ENUM,omitempty"` Imported *ImportedMessage `protobuf:"bytes,23,opt,name=imported,proto3" json:"imported,omitempty"` Type_ string `protobuf:"bytes,24,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*A) Descriptor
deprecated
func (*A) GetEnum ¶
func (x *A) GetEnum() Enumeration
func (*A) GetFIXED32 ¶
func (*A) GetFIXED64 ¶
func (*A) GetImported ¶
func (x *A) GetImported() *ImportedMessage
func (*A) GetLIST_ENUM ¶
func (x *A) GetLIST_ENUM() []Enumeration
func (*A) GetMESSAGE ¶
func (*A) GetONEOF_B ¶
func (*A) GetONEOF_STRING ¶
func (*A) GetSFIXED32 ¶
func (*A) GetSFIXED64 ¶
func (*A) GetSomeBoolean ¶
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) ProtoReflect ¶
func (x *A) ProtoReflect() protoreflect.Message
type A_ONEOF_B ¶
type A_ONEOF_B struct {
ONEOF_B *B `protobuf:"bytes,20,opt,name=ONEOF_B,json=ONEOFB,proto3,oneof"`
}
type A_ONEOF_STRING ¶
type A_ONEOF_STRING struct {
ONEOF_STRING string `protobuf:"bytes,21,opt,name=ONEOF_STRING,json=ONEOFSTRING,proto3,oneof"`
}
type B ¶
type B struct { X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*B) Descriptor
deprecated
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) ProtoReflect ¶
func (x *B) ProtoReflect() protoreflect.Message
type CounterQueryRequest ¶
type CounterQueryRequest struct {
// contains filtered or unexported fields
}
CounterQueryRequest defines the request type used to query the counter.
func (*CounterQueryRequest) Descriptor
deprecated
func (*CounterQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CounterQueryRequest.ProtoReflect.Descriptor instead.
func (*CounterQueryRequest) ProtoMessage ¶
func (*CounterQueryRequest) ProtoMessage()
func (*CounterQueryRequest) ProtoReflect ¶
func (x *CounterQueryRequest) ProtoReflect() protoreflect.Message
func (*CounterQueryRequest) Reset ¶
func (x *CounterQueryRequest) Reset()
func (*CounterQueryRequest) String ¶
func (x *CounterQueryRequest) String() string
type CounterQueryResponse ¶
type CounterQueryResponse struct { Counter uint64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
CounterQueryResponse defines the response type for querying the counter.
func (*CounterQueryResponse) Descriptor
deprecated
func (*CounterQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CounterQueryResponse.ProtoReflect.Descriptor instead.
func (*CounterQueryResponse) GetCounter ¶
func (x *CounterQueryResponse) GetCounter() uint64
func (*CounterQueryResponse) ProtoMessage ¶
func (*CounterQueryResponse) ProtoMessage()
func (*CounterQueryResponse) ProtoReflect ¶
func (x *CounterQueryResponse) ProtoReflect() protoreflect.Message
func (*CounterQueryResponse) Reset ¶
func (x *CounterQueryResponse) Reset()
func (*CounterQueryResponse) String ¶
func (x *CounterQueryResponse) String() string
type Enumeration ¶
type Enumeration int32
const ( Enumeration_One Enumeration = 0 Enumeration_Two Enumeration = 1 )
func (Enumeration) Descriptor ¶
func (Enumeration) Descriptor() protoreflect.EnumDescriptor
func (Enumeration) Enum ¶
func (x Enumeration) Enum() *Enumeration
func (Enumeration) EnumDescriptor
deprecated
func (Enumeration) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enumeration.Descriptor instead.
func (Enumeration) Number ¶
func (x Enumeration) Number() protoreflect.EnumNumber
func (Enumeration) String ¶
func (x Enumeration) String() string
func (Enumeration) Type ¶
func (Enumeration) Type() protoreflect.EnumType
type ImportedMessage ¶
type ImportedMessage struct {
// contains filtered or unexported fields
}
func (*ImportedMessage) Descriptor
deprecated
func (*ImportedMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImportedMessage.ProtoReflect.Descriptor instead.
func (*ImportedMessage) ProtoMessage ¶
func (*ImportedMessage) ProtoMessage()
func (*ImportedMessage) ProtoReflect ¶
func (x *ImportedMessage) ProtoReflect() protoreflect.Message
func (*ImportedMessage) Reset ¶
func (x *ImportedMessage) Reset()
func (*ImportedMessage) String ¶
func (x *ImportedMessage) String() string
Click to show internal directories.
Click to hide internal directories.