commonv1

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() Status_Code

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

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) 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

Jump to

Keyboard shortcuts

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