Documentation ¶
Overview ¶
Package prpcpb contains protobuf message used by the pRPC protocol.
Index ¶
- Variables
- type ErrorDetails
- func (*ErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (m *ErrorDetails) GetError() isErrorDetails_Error
- func (x *ErrorDetails) GetResponseTooBig() *ResponseTooBig
- func (*ErrorDetails) ProtoMessage()
- func (x *ErrorDetails) ProtoReflect() protoreflect.Message
- func (x *ErrorDetails) Reset()
- func (x *ErrorDetails) String() string
- type ErrorDetails_ResponseTooBig
- type ResponseTooBig
- func (*ResponseTooBig) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseTooBig) GetResponseLimit() int64
- func (x *ResponseTooBig) GetResponseSize() int64
- func (*ResponseTooBig) ProtoMessage()
- func (x *ResponseTooBig) ProtoReflect() protoreflect.Message
- func (x *ResponseTooBig) Reset()
- func (x *ResponseTooBig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_grpc_prpc_prpcpb_details_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorDetails ¶
type ErrorDetails struct { // Types that are assignable to Error: // // *ErrorDetails_ResponseTooBig Error isErrorDetails_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
Used in google.rpc.Status.details field for some pRPC protocol-level errors.
func (*ErrorDetails) Descriptor
deprecated
func (*ErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.
func (*ErrorDetails) GetError ¶
func (m *ErrorDetails) GetError() isErrorDetails_Error
func (*ErrorDetails) GetResponseTooBig ¶
func (x *ErrorDetails) GetResponseTooBig() *ResponseTooBig
func (*ErrorDetails) ProtoMessage ¶
func (*ErrorDetails) ProtoMessage()
func (*ErrorDetails) ProtoReflect ¶
func (x *ErrorDetails) ProtoReflect() protoreflect.Message
func (*ErrorDetails) Reset ¶
func (x *ErrorDetails) Reset()
func (*ErrorDetails) String ¶
func (x *ErrorDetails) String() string
type ErrorDetails_ResponseTooBig ¶
type ErrorDetails_ResponseTooBig struct {
ResponseTooBig *ResponseTooBig `protobuf:"bytes,1,opt,name=response_too_big,json=responseTooBig,proto3,oneof"`
}
type ResponseTooBig ¶
type ResponseTooBig struct { // Response size that exceeded the limit if known, in bytes. ResponseSize int64 `protobuf:"varint,1,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` // The value of the limit that was exceeded, in bytes. ResponseLimit int64 `protobuf:"varint,2,opt,name=response_limit,json=responseLimit,proto3" json:"response_limit,omitempty"` // contains filtered or unexported fields }
ResponseTooBig is returned if the server's response size exceeds either a client-supplied limit or a global server limit. See pRPC v1.5 docs.
It accompanies UNAVAILABLE gRPC status.
func (*ResponseTooBig) Descriptor
deprecated
func (*ResponseTooBig) Descriptor() ([]byte, []int)
Deprecated: Use ResponseTooBig.ProtoReflect.Descriptor instead.
func (*ResponseTooBig) GetResponseLimit ¶
func (x *ResponseTooBig) GetResponseLimit() int64
func (*ResponseTooBig) GetResponseSize ¶
func (x *ResponseTooBig) GetResponseSize() int64
func (*ResponseTooBig) ProtoMessage ¶
func (*ResponseTooBig) ProtoMessage()
func (*ResponseTooBig) ProtoReflect ¶
func (x *ResponseTooBig) ProtoReflect() protoreflect.Message
func (*ResponseTooBig) Reset ¶
func (x *ResponseTooBig) Reset()
func (*ResponseTooBig) String ¶
func (x *ResponseTooBig) String() string
Click to show internal directories.
Click to hide internal directories.