Documentation ¶
Index ¶
- Variables
- type Status
- type Status_Code
- func (Status_Code) Descriptor() protoreflect.EnumDescriptor
- func (x Status_Code) Enum() *Status_Code
- func (Status_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x Status_Code) Number() protoreflect.EnumNumber
- func (x Status_Code) String() string
- func (Status_Code) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CODE_OK", 2: "CODE_WARNING", 3: "CODE_ERROR", } Status_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CODE_OK": 1, "CODE_WARNING": 2, "CODE_ERROR": 3, } )
Enum value maps for Status_Code.
View Source
var File_autokitteh_common_v1_status_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Code Status_Code `protobuf:"varint,1,opt,name=code,proto3,enum=autokitteh.common.v1.Status_Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetCode ¶
func (x *Status) GetCode() Status_Code
func (*Status) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type Status_Code ¶
type Status_Code int32
const ( Status_CODE_UNSPECIFIED Status_Code = 0 Status_CODE_OK Status_Code = 1 Status_CODE_WARNING Status_Code = 2 Status_CODE_ERROR Status_Code = 3 )
func (Status_Code) Descriptor ¶
func (Status_Code) Descriptor() protoreflect.EnumDescriptor
func (Status_Code) Enum ¶
func (x Status_Code) Enum() *Status_Code
func (Status_Code) EnumDescriptor
deprecated
func (Status_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use Status_Code.Descriptor instead.
func (Status_Code) Number ¶
func (x Status_Code) Number() protoreflect.EnumNumber
func (Status_Code) String ¶
func (x Status_Code) String() string
func (Status_Code) Type ¶
func (Status_Code) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.