Documentation ¶
Index ¶
- Variables
- type ApplicationError
- func (*ApplicationError) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationError) GetCode() int32
- func (x *ApplicationError) GetDetail() string
- func (*ApplicationError) ProtoMessage()
- func (x *ApplicationError) ProtoReflect() protoreflect.Message
- func (x *ApplicationError) Reset()
- func (x *ApplicationError) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetMethod() string
- func (x *Request) GetRequest() []byte
- func (x *Request) GetRequestId() string
- func (x *Request) GetServiceName() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetApplicationError() *ApplicationError
- func (x *Response) GetException() []byte
- func (x *Response) GetJavaException() []byte
- func (x *Response) GetResponse() []byte
- func (x *Response) GetRpcError() *RpcError
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type RpcError
- type RpcError_ErrorCode
- func (RpcError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode
- func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RpcError_ErrorCode) Number() protoreflect.EnumNumber
- func (x RpcError_ErrorCode) String() string
- func (RpcError_ErrorCode) Type() protoreflect.EnumType
- func (x *RpcError_ErrorCode) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RpcError_ErrorCode_name = map[int32]string{ 0: "UNKNOWN", 1: "CALL_NOT_FOUND", 2: "PARSE_ERROR", 3: "SECURITY_VIOLATION", 4: "OVER_QUOTA", 5: "REQUEST_TOO_LARGE", 6: "CAPABILITY_DISABLED", 7: "FEATURE_DISABLED", 8: "BAD_REQUEST", 9: "RESPONSE_TOO_LARGE", 10: "CANCELLED", 11: "REPLAY_ERROR", 12: "DEADLINE_EXCEEDED", } RpcError_ErrorCode_value = map[string]int32{ "UNKNOWN": 0, "CALL_NOT_FOUND": 1, "PARSE_ERROR": 2, "SECURITY_VIOLATION": 3, "OVER_QUOTA": 4, "REQUEST_TOO_LARGE": 5, "CAPABILITY_DISABLED": 6, "FEATURE_DISABLED": 7, "BAD_REQUEST": 8, "RESPONSE_TOO_LARGE": 9, "CANCELLED": 10, "REPLAY_ERROR": 11, "DEADLINE_EXCEEDED": 12, } )
Enum value maps for RpcError_ErrorCode.
View Source
var File_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplicationError ¶
type ApplicationError struct { Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"` Detail *string `protobuf:"bytes,2,req,name=detail" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*ApplicationError) Descriptor
deprecated
func (*ApplicationError) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationError.ProtoReflect.Descriptor instead.
func (*ApplicationError) GetCode ¶
func (x *ApplicationError) GetCode() int32
func (*ApplicationError) GetDetail ¶
func (x *ApplicationError) GetDetail() string
func (*ApplicationError) ProtoMessage ¶
func (*ApplicationError) ProtoMessage()
func (*ApplicationError) ProtoReflect ¶
func (x *ApplicationError) ProtoReflect() protoreflect.Message
func (*ApplicationError) Reset ¶
func (x *ApplicationError) Reset()
func (*ApplicationError) String ¶
func (x *ApplicationError) String() string
type Request ¶
type Request struct { ServiceName *string `protobuf:"bytes,2,req,name=service_name,json=serviceName" json:"service_name,omitempty"` Method *string `protobuf:"bytes,3,req,name=method" json:"method,omitempty"` Request []byte `protobuf:"bytes,4,req,name=request" json:"request,omitempty"` RequestId *string `protobuf:"bytes,5,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetRequest ¶
func (*Request) GetRequestId ¶
func (*Request) GetServiceName ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Response []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` Exception []byte `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"` ApplicationError *ApplicationError `protobuf:"bytes,3,opt,name=application_error,json=applicationError" json:"application_error,omitempty"` JavaException []byte `protobuf:"bytes,4,opt,name=java_exception,json=javaException" json:"java_exception,omitempty"` RpcError *RpcError `protobuf:"bytes,5,opt,name=rpc_error,json=rpcError" json:"rpc_error,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetApplicationError ¶
func (x *Response) GetApplicationError() *ApplicationError
func (*Response) GetException ¶
func (*Response) GetJavaException ¶
func (*Response) GetResponse ¶
func (*Response) GetRpcError ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type RpcError ¶
type RpcError struct { Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"` Detail *string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*RpcError) Descriptor
deprecated
func (*RpcError) ProtoMessage ¶
func (*RpcError) ProtoMessage()
func (*RpcError) ProtoReflect ¶
func (x *RpcError) ProtoReflect() protoreflect.Message
type RpcError_ErrorCode ¶
type RpcError_ErrorCode int32
const ( RpcError_UNKNOWN RpcError_ErrorCode = 0 RpcError_CALL_NOT_FOUND RpcError_ErrorCode = 1 RpcError_PARSE_ERROR RpcError_ErrorCode = 2 RpcError_SECURITY_VIOLATION RpcError_ErrorCode = 3 RpcError_OVER_QUOTA RpcError_ErrorCode = 4 RpcError_REQUEST_TOO_LARGE RpcError_ErrorCode = 5 RpcError_CAPABILITY_DISABLED RpcError_ErrorCode = 6 RpcError_FEATURE_DISABLED RpcError_ErrorCode = 7 RpcError_BAD_REQUEST RpcError_ErrorCode = 8 RpcError_RESPONSE_TOO_LARGE RpcError_ErrorCode = 9 RpcError_CANCELLED RpcError_ErrorCode = 10 RpcError_REPLAY_ERROR RpcError_ErrorCode = 11 RpcError_DEADLINE_EXCEEDED RpcError_ErrorCode = 12 )
func (RpcError_ErrorCode) Descriptor ¶
func (RpcError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (RpcError_ErrorCode) Enum ¶
func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode
func (RpcError_ErrorCode) EnumDescriptor
deprecated
func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RpcError_ErrorCode.Descriptor instead.
func (RpcError_ErrorCode) Number ¶
func (x RpcError_ErrorCode) Number() protoreflect.EnumNumber
func (RpcError_ErrorCode) String ¶
func (x RpcError_ErrorCode) String() string
func (RpcError_ErrorCode) Type ¶
func (RpcError_ErrorCode) Type() protoreflect.EnumType
func (*RpcError_ErrorCode) UnmarshalJSON
deprecated
func (x *RpcError_ErrorCode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.