Documentation ¶
Index ¶
- Variables
- type FinderMessage
- func (*FinderMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FinderMessage) GetData() []byte
- func (x *FinderMessage) GetType() FinderMessage_MessageType
- func (*FinderMessage) ProtoMessage()
- func (x *FinderMessage) ProtoReflect() protoreflect.Message
- func (x *FinderMessage) Reset()
- func (x *FinderMessage) String() string
- type FinderMessage_MessageType
- func (FinderMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x FinderMessage_MessageType) Enum() *FinderMessage_MessageType
- func (FinderMessage_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FinderMessage_MessageType) Number() protoreflect.EnumNumber
- func (x FinderMessage_MessageType) String() string
- func (FinderMessage_MessageType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FinderMessage_MessageType_name = map[int32]string{ 0: "ERROR_RESPONSE", 1: "FIND", 2: "FIND_RESPONSE", 3: "LIST_PROVIDERS", 4: "LIST_PROVIDERS_RESPONSE", 5: "GET_PROVIDER", 6: "GET_PROVIDER_RESPONSE", 7: "GET_STATS", 8: "GET_STATS_RESPONSE", } FinderMessage_MessageType_value = map[string]int32{ "ERROR_RESPONSE": 0, "FIND": 1, "FIND_RESPONSE": 2, "LIST_PROVIDERS": 3, "LIST_PROVIDERS_RESPONSE": 4, "GET_PROVIDER": 5, "GET_PROVIDER_RESPONSE": 6, "GET_STATS": 7, "GET_STATS_RESPONSE": 8, } )
Enum value maps for FinderMessage_MessageType.
View Source
var File_finder_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FinderMessage ¶
type FinderMessage struct { // defines what type of message it is. Type FinderMessage_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=reqresp.pb.FinderMessage_MessageType" json:"type,omitempty"` // Value for the message Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FinderMessage) Descriptor
deprecated
func (*FinderMessage) Descriptor() ([]byte, []int)
Deprecated: Use FinderMessage.ProtoReflect.Descriptor instead.
func (*FinderMessage) GetData ¶
func (x *FinderMessage) GetData() []byte
func (*FinderMessage) GetType ¶
func (x *FinderMessage) GetType() FinderMessage_MessageType
func (*FinderMessage) ProtoMessage ¶
func (*FinderMessage) ProtoMessage()
func (*FinderMessage) ProtoReflect ¶ added in v0.5.10
func (x *FinderMessage) ProtoReflect() protoreflect.Message
func (*FinderMessage) Reset ¶
func (x *FinderMessage) Reset()
func (*FinderMessage) String ¶
func (x *FinderMessage) String() string
type FinderMessage_MessageType ¶
type FinderMessage_MessageType int32
const ( FinderMessage_ERROR_RESPONSE FinderMessage_MessageType = 0 FinderMessage_FIND FinderMessage_MessageType = 1 FinderMessage_FIND_RESPONSE FinderMessage_MessageType = 2 FinderMessage_LIST_PROVIDERS FinderMessage_MessageType = 3 FinderMessage_LIST_PROVIDERS_RESPONSE FinderMessage_MessageType = 4 FinderMessage_GET_PROVIDER FinderMessage_MessageType = 5 FinderMessage_GET_PROVIDER_RESPONSE FinderMessage_MessageType = 6 FinderMessage_GET_STATS FinderMessage_MessageType = 7 FinderMessage_GET_STATS_RESPONSE FinderMessage_MessageType = 8 )
func (FinderMessage_MessageType) Descriptor ¶ added in v0.5.10
func (FinderMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
func (FinderMessage_MessageType) Enum ¶ added in v0.5.10
func (x FinderMessage_MessageType) Enum() *FinderMessage_MessageType
func (FinderMessage_MessageType) EnumDescriptor
deprecated
func (FinderMessage_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FinderMessage_MessageType.Descriptor instead.
func (FinderMessage_MessageType) Number ¶ added in v0.5.10
func (x FinderMessage_MessageType) Number() protoreflect.EnumNumber
func (FinderMessage_MessageType) String ¶
func (x FinderMessage_MessageType) String() string
func (FinderMessage_MessageType) Type ¶ added in v0.5.10
func (FinderMessage_MessageType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.