protobuf

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_messages_proto protoreflect.FileDescriptor

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=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	ClientVersion int32  `protobuf:"varint,6,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	ClientName    string `protobuf:"bytes,7,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryOperationRequest) Descriptor deprecated

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

Deprecated: Use BinaryOperationRequest.ProtoReflect.Descriptor instead.

func (*BinaryOperationRequest) GetApiVersion

func (x *BinaryOperationRequest) GetApiVersion() int32

func (*BinaryOperationRequest) GetClientName

func (x *BinaryOperationRequest) GetClientName() string

func (*BinaryOperationRequest) GetClientVersion

func (x *BinaryOperationRequest) GetClientVersion() int32

func (*BinaryOperationRequest) GetId

func (x *BinaryOperationRequest) GetId() uint64

func (*BinaryOperationRequest) GetOperation

func (x *BinaryOperationRequest) GetOperation() uint64

func (*BinaryOperationRequest) GetPayload

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

func (*BinaryOperationRequest) GetToken

func (x *BinaryOperationRequest) GetToken() string

func (*BinaryOperationRequest) ProtoMessage

func (*BinaryOperationRequest) ProtoMessage()

func (*BinaryOperationRequest) ProtoReflect added in v1.7.0

func (x *BinaryOperationRequest) ProtoReflect() protoreflect.Message

func (*BinaryOperationRequest) Reset

func (x *BinaryOperationRequest) Reset()

func (*BinaryOperationRequest) String

func (x *BinaryOperationRequest) String() string

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=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	ServerVersion int32  `protobuf:"varint,6,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	ClientVersion int32  `protobuf:"varint,7,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	Hash          string `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryOperationResult) Descriptor deprecated

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

Deprecated: Use BinaryOperationResult.ProtoReflect.Descriptor instead.

func (*BinaryOperationResult) GetApiVersion

func (x *BinaryOperationResult) GetApiVersion() int32

func (*BinaryOperationResult) GetClientVersion

func (x *BinaryOperationResult) GetClientVersion() int32

func (*BinaryOperationResult) GetHash added in v1.10.0

func (x *BinaryOperationResult) GetHash() string

func (*BinaryOperationResult) GetId

func (x *BinaryOperationResult) GetId() uint64

func (*BinaryOperationResult) GetPayload

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

func (*BinaryOperationResult) GetServerVersion

func (x *BinaryOperationResult) GetServerVersion() int32

func (*BinaryOperationResult) GetStatus

func (x *BinaryOperationResult) GetStatus() int32

func (*BinaryOperationResult) GetType

func (x *BinaryOperationResult) GetType() uint64

func (*BinaryOperationResult) ProtoMessage

func (*BinaryOperationResult) ProtoMessage()

func (*BinaryOperationResult) ProtoReflect added in v1.7.0

func (x *BinaryOperationResult) ProtoReflect() protoreflect.Message

func (*BinaryOperationResult) Reset

func (x *BinaryOperationResult) Reset()

func (*BinaryOperationResult) String

func (x *BinaryOperationResult) String() string

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"`
	// contains filtered or unexported fields
}

func (*CompoundObject) Descriptor deprecated

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

Deprecated: Use CompoundObject.ProtoReflect.Descriptor instead.

func (*CompoundObject) GetSample

func (x *CompoundObject) GetSample() *Sample

func (*CompoundObject) GetTitle

func (x *CompoundObject) GetTitle() string

func (*CompoundObject) ProtoMessage

func (*CompoundObject) ProtoMessage()

func (*CompoundObject) ProtoReflect added in v1.7.0

func (x *CompoundObject) ProtoReflect() protoreflect.Message

func (*CompoundObject) Reset

func (x *CompoundObject) Reset()

func (*CompoundObject) String

func (x *CompoundObject) String() string

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"`
	// contains filtered or unexported fields
}

func (*Sample) Descriptor deprecated

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

Deprecated: Use Sample.ProtoReflect.Descriptor instead.

func (*Sample) GetBoolField

func (x *Sample) GetBoolField() bool

func (*Sample) GetInt32Field

func (x *Sample) GetInt32Field() int32

func (*Sample) GetStringField

func (x *Sample) GetStringField() string

func (*Sample) ProtoMessage

func (*Sample) ProtoMessage()

func (*Sample) ProtoReflect added in v1.7.0

func (x *Sample) ProtoReflect() protoreflect.Message

func (*Sample) Reset

func (x *Sample) Reset()

func (*Sample) String

func (x *Sample) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerError) Descriptor deprecated

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

Deprecated: Use ServerError.ProtoReflect.Descriptor instead.

func (*ServerError) GetDescription

func (x *ServerError) GetDescription() string

func (*ServerError) GetMessage

func (x *ServerError) GetMessage() string

func (*ServerError) ProtoMessage

func (*ServerError) ProtoMessage()

func (*ServerError) ProtoReflect added in v1.7.0

func (x *ServerError) ProtoReflect() protoreflect.Message

func (*ServerError) Reset

func (x *ServerError) Reset()

func (*ServerError) String

func (x *ServerError) String() string

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=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	ClientVersion int32  `protobuf:"varint,6,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	ClientName    string `protobuf:"bytes,7,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TextOperationRequest) Descriptor deprecated

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

Deprecated: Use TextOperationRequest.ProtoReflect.Descriptor instead.

func (*TextOperationRequest) GetApiVersion

func (x *TextOperationRequest) GetApiVersion() int32

func (*TextOperationRequest) GetClientName

func (x *TextOperationRequest) GetClientName() string

func (*TextOperationRequest) GetClientVersion

func (x *TextOperationRequest) GetClientVersion() int32

func (*TextOperationRequest) GetId

func (x *TextOperationRequest) GetId() uint64

func (*TextOperationRequest) GetOperation

func (x *TextOperationRequest) GetOperation() uint64

func (*TextOperationRequest) GetPayload

func (x *TextOperationRequest) GetPayload() string

func (*TextOperationRequest) GetToken

func (x *TextOperationRequest) GetToken() string

func (*TextOperationRequest) ProtoMessage

func (*TextOperationRequest) ProtoMessage()

func (*TextOperationRequest) ProtoReflect added in v1.7.0

func (x *TextOperationRequest) ProtoReflect() protoreflect.Message

func (*TextOperationRequest) Reset

func (x *TextOperationRequest) Reset()

func (*TextOperationRequest) String

func (x *TextOperationRequest) String() string

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=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	ServerVersion int32  `protobuf:"varint,6,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	ClientVersion int32  `protobuf:"varint,7,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	Hash          string `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*TextOperationResult) Descriptor deprecated

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

Deprecated: Use TextOperationResult.ProtoReflect.Descriptor instead.

func (*TextOperationResult) GetApiVersion

func (x *TextOperationResult) GetApiVersion() int32

func (*TextOperationResult) GetClientVersion

func (x *TextOperationResult) GetClientVersion() int32

func (*TextOperationResult) GetHash added in v1.10.0

func (x *TextOperationResult) GetHash() string

func (*TextOperationResult) GetId

func (x *TextOperationResult) GetId() uint64

func (*TextOperationResult) GetPayload

func (x *TextOperationResult) GetPayload() string

func (*TextOperationResult) GetServerVersion

func (x *TextOperationResult) GetServerVersion() int32

func (*TextOperationResult) GetStatus

func (x *TextOperationResult) GetStatus() int32

func (*TextOperationResult) GetType

func (x *TextOperationResult) GetType() uint64

func (*TextOperationResult) ProtoMessage

func (*TextOperationResult) ProtoMessage()

func (*TextOperationResult) ProtoReflect added in v1.7.0

func (x *TextOperationResult) ProtoReflect() protoreflect.Message

func (*TextOperationResult) Reset

func (x *TextOperationResult) Reset()

func (*TextOperationResult) String

func (x *TextOperationResult) String() string

type Void

type Void struct {
	// contains filtered or unexported fields
}

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect added in v1.7.0

func (x *Void) ProtoReflect() protoreflect.Message

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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