protobuf

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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 OperationRequest added in v1.15.0

type OperationRequest 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 (*OperationRequest) Descriptor deprecated added in v1.15.0

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

Deprecated: Use OperationRequest.ProtoReflect.Descriptor instead.

func (*OperationRequest) GetApiVersion added in v1.15.0

func (x *OperationRequest) GetApiVersion() int32

func (*OperationRequest) GetClientName added in v1.15.0

func (x *OperationRequest) GetClientName() string

func (*OperationRequest) GetClientVersion added in v1.15.0

func (x *OperationRequest) GetClientVersion() int32

func (*OperationRequest) GetId added in v1.15.0

func (x *OperationRequest) GetId() uint64

func (*OperationRequest) GetOperation added in v1.15.0

func (x *OperationRequest) GetOperation() uint64

func (*OperationRequest) GetPayload added in v1.15.0

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

func (*OperationRequest) GetToken added in v1.15.0

func (x *OperationRequest) GetToken() string

func (*OperationRequest) ProtoMessage added in v1.15.0

func (*OperationRequest) ProtoMessage()

func (*OperationRequest) ProtoReflect added in v1.15.0

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

func (*OperationRequest) Reset added in v1.15.0

func (x *OperationRequest) Reset()

func (*OperationRequest) String added in v1.15.0

func (x *OperationRequest) String() string

type OperationResult added in v1.15.0

type OperationResult 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"`
	Hash          string `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationResult) Descriptor deprecated added in v1.15.0

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

Deprecated: Use OperationResult.ProtoReflect.Descriptor instead.

func (*OperationResult) GetApiVersion added in v1.15.0

func (x *OperationResult) GetApiVersion() int32

func (*OperationResult) GetHash added in v1.15.0

func (x *OperationResult) GetHash() string

func (*OperationResult) GetId added in v1.15.0

func (x *OperationResult) GetId() uint64

func (*OperationResult) GetPayload added in v1.15.0

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

func (*OperationResult) GetServerVersion added in v1.15.0

func (x *OperationResult) GetServerVersion() int32

func (*OperationResult) GetStatus added in v1.15.0

func (x *OperationResult) GetStatus() int32

func (*OperationResult) GetType added in v1.15.0

func (x *OperationResult) GetType() uint64

func (*OperationResult) ProtoMessage added in v1.15.0

func (*OperationResult) ProtoMessage()

func (*OperationResult) ProtoReflect added in v1.15.0

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

func (*OperationResult) Reset added in v1.15.0

func (x *OperationResult) Reset()

func (*OperationResult) String added in v1.15.0

func (x *OperationResult) 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

Jump to

Keyboard shortcuts

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