protobuf

package
v0.0.0-...-4e2cb2d Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protobuf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Id

type Id struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Id) Descriptor deprecated

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

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() uint64

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

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

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type InvalidRequest

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

func (*InvalidRequest) Descriptor deprecated

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

Deprecated: Use InvalidRequest.ProtoReflect.Descriptor instead.

func (*InvalidRequest) ProtoMessage

func (*InvalidRequest) ProtoMessage()

func (*InvalidRequest) ProtoReflect

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

func (*InvalidRequest) Reset

func (x *InvalidRequest) Reset()

func (*InvalidRequest) String

func (x *InvalidRequest) String() string

type Null

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

func (*Null) Descriptor deprecated

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

Deprecated: Use Null.ProtoReflect.Descriptor instead.

func (*Null) ProtoMessage

func (*Null) ProtoMessage()

func (*Null) ProtoReflect

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

func (*Null) Reset

func (x *Null) Reset()

func (*Null) String

func (x *Null) String() string

type Request

type Request struct {
	Method string     `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Arg    *anypb.Any `protobuf:"bytes,2,opt,name=arg,proto3" json:"arg,omitempty"`
	Id     *anypb.Any `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetArg

func (x *Request) GetArg() *anypb.Any

func (*Request) GetId

func (x *Request) GetId() *anypb.Any

func (*Request) GetMethod

func (x *Request) GetMethod() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	Id     *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Result *anypb.Any `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Error  *anypb.Any `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetError

func (x *Response) GetError() *anypb.Any

func (*Response) GetId

func (x *Response) GetId() *anypb.Any

func (*Response) GetResult

func (x *Response) GetResult() *anypb.Any

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type String

type String struct {
	Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetStr

func (x *String) GetStr() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

Jump to

Keyboard shortcuts

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