protobuf

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type BinaryOperationRequest

type BinaryOperationRequest struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Operation     uint64 `protobuf:"varint,2,opt,name=operation,proto3" json:"operation,omitempty"`
	Token         string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Payload       []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	ApiVersion    int32  `protobuf:"varint,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	ClientVersion int32  `protobuf:"varint,6,opt,name=clientVersion,proto3" json:"clientVersion,omitempty"`
	ClientName    string `protobuf:"bytes,7,opt,name=clientName,proto3" json:"clientName,omitempty"`
}

func (*BinaryOperationRequest) Descriptor

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

func (*BinaryOperationRequest) GetApiVersion

func (m *BinaryOperationRequest) GetApiVersion() int32

func (*BinaryOperationRequest) GetClientName

func (m *BinaryOperationRequest) GetClientName() string

func (*BinaryOperationRequest) GetClientVersion

func (m *BinaryOperationRequest) GetClientVersion() int32

func (*BinaryOperationRequest) GetId

func (m *BinaryOperationRequest) GetId() uint64

func (*BinaryOperationRequest) GetOperation

func (m *BinaryOperationRequest) GetOperation() uint64

func (*BinaryOperationRequest) GetPayload

func (m *BinaryOperationRequest) GetPayload() []byte

func (*BinaryOperationRequest) GetToken

func (m *BinaryOperationRequest) GetToken() string

func (*BinaryOperationRequest) Marshal

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

func (*BinaryOperationRequest) MarshalTo

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

func (*BinaryOperationRequest) ProtoMessage

func (*BinaryOperationRequest) ProtoMessage()

func (*BinaryOperationRequest) Reset

func (m *BinaryOperationRequest) Reset()

func (*BinaryOperationRequest) Size

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

func (*BinaryOperationRequest) String

func (m *BinaryOperationRequest) String() string

func (*BinaryOperationRequest) Unmarshal

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

func (*BinaryOperationRequest) XXX_DiscardUnknown

func (m *BinaryOperationRequest) XXX_DiscardUnknown()

func (*BinaryOperationRequest) XXX_Marshal

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

func (*BinaryOperationRequest) XXX_Merge

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

func (*BinaryOperationRequest) XXX_Size

func (m *BinaryOperationRequest) XXX_Size() int

func (*BinaryOperationRequest) XXX_Unmarshal

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

type BinaryOperationResult

type BinaryOperationResult struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status        int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Type          uint64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Payload       []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	ApiVersion    int32  `protobuf:"varint,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	ServerVersion int32  `protobuf:"varint,6,opt,name=serverVersion,proto3" json:"serverVersion,omitempty"`
	ClientVersion int32  `protobuf:"varint,7,opt,name=clientVersion,proto3" json:"clientVersion,omitempty"`
}

func (*BinaryOperationResult) Descriptor

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

func (*BinaryOperationResult) GetApiVersion

func (m *BinaryOperationResult) GetApiVersion() int32

func (*BinaryOperationResult) GetClientVersion

func (m *BinaryOperationResult) GetClientVersion() int32

func (*BinaryOperationResult) GetId

func (m *BinaryOperationResult) GetId() uint64

func (*BinaryOperationResult) GetPayload

func (m *BinaryOperationResult) GetPayload() []byte

func (*BinaryOperationResult) GetServerVersion

func (m *BinaryOperationResult) GetServerVersion() int32

func (*BinaryOperationResult) GetStatus

func (m *BinaryOperationResult) GetStatus() int32

func (*BinaryOperationResult) GetType

func (m *BinaryOperationResult) GetType() uint64

func (*BinaryOperationResult) Marshal

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

func (*BinaryOperationResult) MarshalTo

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

func (*BinaryOperationResult) ProtoMessage

func (*BinaryOperationResult) ProtoMessage()

func (*BinaryOperationResult) Reset

func (m *BinaryOperationResult) Reset()

func (*BinaryOperationResult) Size

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

func (*BinaryOperationResult) String

func (m *BinaryOperationResult) String() string

func (*BinaryOperationResult) Unmarshal

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

func (*BinaryOperationResult) XXX_DiscardUnknown

func (m *BinaryOperationResult) XXX_DiscardUnknown()

func (*BinaryOperationResult) XXX_Marshal

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

func (*BinaryOperationResult) XXX_Merge

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

func (*BinaryOperationResult) XXX_Size

func (m *BinaryOperationResult) XXX_Size() int

func (*BinaryOperationResult) XXX_Unmarshal

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

type CompoundObject

type CompoundObject struct {
	Title  string  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Sample *Sample `protobuf:"bytes,2,opt,name=sample,proto3" json:"sample,omitempty"`
}

func (*CompoundObject) Descriptor

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

func (*CompoundObject) GetSample

func (m *CompoundObject) GetSample() *Sample

func (*CompoundObject) GetTitle

func (m *CompoundObject) GetTitle() string

func (*CompoundObject) Marshal

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

func (*CompoundObject) MarshalTo

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

func (*CompoundObject) ProtoMessage

func (*CompoundObject) ProtoMessage()

func (*CompoundObject) Reset

func (m *CompoundObject) Reset()

func (*CompoundObject) Size

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

func (*CompoundObject) String

func (m *CompoundObject) String() string

func (*CompoundObject) Unmarshal

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

func (*CompoundObject) XXX_DiscardUnknown

func (m *CompoundObject) XXX_DiscardUnknown()

func (*CompoundObject) XXX_Marshal

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

func (*CompoundObject) XXX_Merge

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

func (*CompoundObject) XXX_Size

func (m *CompoundObject) XXX_Size() int

func (*CompoundObject) XXX_Unmarshal

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

type Sample

type Sample struct {
	StringField string `protobuf:"bytes,1,opt,name=stringField,proto3" json:"stringField,omitempty"`
	Int32Field  int32  `protobuf:"varint,2,opt,name=int32Field,proto3" json:"int32Field,omitempty"`
	BoolField   bool   `protobuf:"varint,3,opt,name=boolField,proto3" json:"boolField,omitempty"`
}

func (*Sample) Descriptor

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

func (*Sample) GetBoolField

func (m *Sample) GetBoolField() bool

func (*Sample) GetInt32Field

func (m *Sample) GetInt32Field() int32

func (*Sample) GetStringField

func (m *Sample) GetStringField() string

func (*Sample) Marshal

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

func (*Sample) MarshalTo

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

func (*Sample) ProtoMessage

func (*Sample) ProtoMessage()

func (*Sample) Reset

func (m *Sample) Reset()

func (*Sample) Size

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

func (*Sample) String

func (m *Sample) String() string

func (*Sample) Unmarshal

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

func (*Sample) XXX_DiscardUnknown

func (m *Sample) XXX_DiscardUnknown()

func (*Sample) XXX_Marshal

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

func (*Sample) XXX_Merge

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

func (*Sample) XXX_Size

func (m *Sample) XXX_Size() int

func (*Sample) XXX_Unmarshal

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

type ServerError

type ServerError struct {
	Message     string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*ServerError) Descriptor

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

func (*ServerError) GetDescription

func (m *ServerError) GetDescription() string

func (*ServerError) GetMessage

func (m *ServerError) GetMessage() string

func (*ServerError) Marshal

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

func (*ServerError) MarshalTo

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

func (*ServerError) ProtoMessage

func (*ServerError) ProtoMessage()

func (*ServerError) Reset

func (m *ServerError) Reset()

func (*ServerError) Size

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

func (*ServerError) String

func (m *ServerError) String() string

func (*ServerError) Unmarshal

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

func (*ServerError) XXX_DiscardUnknown

func (m *ServerError) XXX_DiscardUnknown()

func (*ServerError) XXX_Marshal

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

func (*ServerError) XXX_Merge

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

func (*ServerError) XXX_Size

func (m *ServerError) XXX_Size() int

func (*ServerError) XXX_Unmarshal

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

type TextOperationRequest

type TextOperationRequest struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Operation     uint64 `protobuf:"varint,2,opt,name=operation,proto3" json:"operation,omitempty"`
	Token         string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Payload       string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	ApiVersion    int32  `protobuf:"varint,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	ClientVersion int32  `protobuf:"varint,6,opt,name=clientVersion,proto3" json:"clientVersion,omitempty"`
	ClientName    string `protobuf:"bytes,7,opt,name=clientName,proto3" json:"clientName,omitempty"`
}

func (*TextOperationRequest) Descriptor

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

func (*TextOperationRequest) GetApiVersion

func (m *TextOperationRequest) GetApiVersion() int32

func (*TextOperationRequest) GetClientName

func (m *TextOperationRequest) GetClientName() string

func (*TextOperationRequest) GetClientVersion

func (m *TextOperationRequest) GetClientVersion() int32

func (*TextOperationRequest) GetId

func (m *TextOperationRequest) GetId() uint64

func (*TextOperationRequest) GetOperation

func (m *TextOperationRequest) GetOperation() uint64

func (*TextOperationRequest) GetPayload

func (m *TextOperationRequest) GetPayload() string

func (*TextOperationRequest) GetToken

func (m *TextOperationRequest) GetToken() string

func (*TextOperationRequest) Marshal

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

func (*TextOperationRequest) MarshalTo

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

func (*TextOperationRequest) ProtoMessage

func (*TextOperationRequest) ProtoMessage()

func (*TextOperationRequest) Reset

func (m *TextOperationRequest) Reset()

func (*TextOperationRequest) Size

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

func (*TextOperationRequest) String

func (m *TextOperationRequest) String() string

func (*TextOperationRequest) Unmarshal

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

func (*TextOperationRequest) XXX_DiscardUnknown

func (m *TextOperationRequest) XXX_DiscardUnknown()

func (*TextOperationRequest) XXX_Marshal

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

func (*TextOperationRequest) XXX_Merge

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

func (*TextOperationRequest) XXX_Size

func (m *TextOperationRequest) XXX_Size() int

func (*TextOperationRequest) XXX_Unmarshal

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

type TextOperationResult

type TextOperationResult struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status        int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Type          uint64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Payload       string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	ApiVersion    int32  `protobuf:"varint,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	ServerVersion int32  `protobuf:"varint,6,opt,name=serverVersion,proto3" json:"serverVersion,omitempty"`
	ClientVersion int32  `protobuf:"varint,7,opt,name=clientVersion,proto3" json:"clientVersion,omitempty"`
}

func (*TextOperationResult) Descriptor

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

func (*TextOperationResult) GetApiVersion

func (m *TextOperationResult) GetApiVersion() int32

func (*TextOperationResult) GetClientVersion

func (m *TextOperationResult) GetClientVersion() int32

func (*TextOperationResult) GetId

func (m *TextOperationResult) GetId() uint64

func (*TextOperationResult) GetPayload

func (m *TextOperationResult) GetPayload() string

func (*TextOperationResult) GetServerVersion

func (m *TextOperationResult) GetServerVersion() int32

func (*TextOperationResult) GetStatus

func (m *TextOperationResult) GetStatus() int32

func (*TextOperationResult) GetType

func (m *TextOperationResult) GetType() uint64

func (*TextOperationResult) Marshal

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

func (*TextOperationResult) MarshalTo

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

func (*TextOperationResult) ProtoMessage

func (*TextOperationResult) ProtoMessage()

func (*TextOperationResult) Reset

func (m *TextOperationResult) Reset()

func (*TextOperationResult) Size

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

func (*TextOperationResult) String

func (m *TextOperationResult) String() string

func (*TextOperationResult) Unmarshal

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

func (*TextOperationResult) XXX_DiscardUnknown

func (m *TextOperationResult) XXX_DiscardUnknown()

func (*TextOperationResult) XXX_Marshal

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

func (*TextOperationResult) XXX_Merge

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

func (*TextOperationResult) XXX_Size

func (m *TextOperationResult) XXX_Size() int

func (*TextOperationResult) XXX_Unmarshal

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

type Void

type Void struct {
}

func (*Void) Descriptor

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

func (*Void) Marshal

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

func (*Void) MarshalTo

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

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) Reset

func (m *Void) Reset()

func (*Void) Size

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

func (*Void) String

func (m *Void) String() string

func (*Void) Unmarshal

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

func (*Void) XXX_DiscardUnknown

func (m *Void) XXX_DiscardUnknown()

func (*Void) XXX_Marshal

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

func (*Void) XXX_Merge

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

func (*Void) XXX_Size

func (m *Void) XXX_Size() int

func (*Void) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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