Versions in this module Expand all Collapse all v0 v0.16.3 Nov 29, 2024 Changes in this version + var Code_name = map[int32]string + var Code_value = map[string]int32 + var LegacyErrorCode_name = map[int32]string + var LegacyErrorCode_value = map[string]int32 + type CallerID struct + Component string + Principal string + Subcomponent string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CallerID) Descriptor() ([]byte, []int) + func (*CallerID) ProtoMessage() + func (m *CallerID) GetComponent() string + func (m *CallerID) GetPrincipal() string + func (m *CallerID) GetSubcomponent() string + func (m *CallerID) Reset() + func (m *CallerID) String() string + func (m *CallerID) XXX_DiscardUnknown() + func (m *CallerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CallerID) XXX_Merge(src proto.Message) + func (m *CallerID) XXX_Size() int + func (m *CallerID) XXX_Unmarshal(b []byte) error + type Code int32 + const Code_ABORTED + const Code_ALREADY_EXISTS + const Code_CANCELED + const Code_DATA_LOSS + const Code_DEADLINE_EXCEEDED + const Code_FAILED_PRECONDITION + const Code_INTERNAL + const Code_INVALID_ARGUMENT + const Code_NOT_FOUND + const Code_OK + const Code_OUT_OF_RANGE + const Code_PERMISSION_DENIED + const Code_RESOURCE_EXHAUSTED + const Code_UNAUTHENTICATED + const Code_UNAVAILABLE + const Code_UNIMPLEMENTED + const Code_UNKNOWN + func (Code) EnumDescriptor() ([]byte, []int) + func (x Code) String() string + type LegacyErrorCode int32 + const LegacyErrorCode_BAD_INPUT_LEGACY + const LegacyErrorCode_CANCELLED_LEGACY + const LegacyErrorCode_DEADLINE_EXCEEDED_LEGACY + const LegacyErrorCode_INTEGRITY_ERROR_LEGACY + const LegacyErrorCode_INTERNAL_ERROR_LEGACY + const LegacyErrorCode_NOT_IN_TX_LEGACY + const LegacyErrorCode_PERMISSION_DENIED_LEGACY + const LegacyErrorCode_QUERY_NOT_SERVED_LEGACY + const LegacyErrorCode_RESOURCE_EXHAUSTED_LEGACY + const LegacyErrorCode_SUCCESS_LEGACY + const LegacyErrorCode_TRANSIENT_ERROR_LEGACY + const LegacyErrorCode_UNAUTHENTICATED_LEGACY + const LegacyErrorCode_UNKNOWN_ERROR_LEGACY + func (LegacyErrorCode) EnumDescriptor() ([]byte, []int) + func (x LegacyErrorCode) String() string + type RPCError struct + Code Code + LegacyCode LegacyErrorCode + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RPCError) Descriptor() ([]byte, []int) + func (*RPCError) ProtoMessage() + func (m *RPCError) GetCode() Code + func (m *RPCError) GetLegacyCode() LegacyErrorCode + func (m *RPCError) GetMessage() string + func (m *RPCError) Reset() + func (m *RPCError) String() string + func (m *RPCError) XXX_DiscardUnknown() + func (m *RPCError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RPCError) XXX_Merge(src proto.Message) + func (m *RPCError) XXX_Size() int + func (m *RPCError) XXX_Unmarshal(b []byte) error