reqresp_pb

package
v0.0.0-...-403c8b4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFinder        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFinder          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFinder = fmt.Errorf("proto: unexpected end of group")
)
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",
}
View Source
var 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,
}

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"`
}

func (*FinderMessage) Descriptor

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

func (*FinderMessage) GetData

func (m *FinderMessage) GetData() []byte

func (*FinderMessage) GetType

func (*FinderMessage) Marshal

func (m *FinderMessage) Marshal() (dAtA []byte, err error)

func (*FinderMessage) MarshalTo

func (m *FinderMessage) MarshalTo(dAtA []byte) (int, error)

func (*FinderMessage) MarshalToSizedBuffer

func (m *FinderMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinderMessage) ProtoMessage

func (*FinderMessage) ProtoMessage()

func (*FinderMessage) Reset

func (m *FinderMessage) Reset()

func (*FinderMessage) Size

func (m *FinderMessage) Size() (n int)

func (*FinderMessage) String

func (m *FinderMessage) String() string

func (*FinderMessage) Unmarshal

func (m *FinderMessage) Unmarshal(dAtA []byte) error

func (*FinderMessage) XXX_DiscardUnknown

func (m *FinderMessage) XXX_DiscardUnknown()

func (*FinderMessage) XXX_Marshal

func (m *FinderMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinderMessage) XXX_Merge

func (m *FinderMessage) XXX_Merge(src proto.Message)

func (*FinderMessage) XXX_Size

func (m *FinderMessage) XXX_Size() int

func (*FinderMessage) XXX_Unmarshal

func (m *FinderMessage) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

func (FinderMessage_MessageType) EnumDescriptor() ([]byte, []int)

func (FinderMessage_MessageType) String

func (x FinderMessage_MessageType) String() string

Jump to

Keyboard shortcuts

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