commonv1

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	STATE_name = map[int32]string{
		0: "CREATED",
		1: "CHECKED",
		2: "ACTIVE",
		3: "INACTIVE",
		4: "DELETED",
	}
	STATE_value = map[string]int32{
		"CREATED":  0,
		"CHECKED":  1,
		"ACTIVE":   2,
		"INACTIVE": 3,
		"DELETED":  4,
	}
)

Enum value maps for STATE.

View Source
var (
	STATUS_name = map[int32]string{
		0: "UNKNOWN",
		1: "QUEUED",
		2: "IN_PROCESS",
		3: "FAILED",
		4: "SUCCESSFUL",
	}
	STATUS_value = map[string]int32{
		"UNKNOWN":    0,
		"QUEUED":     1,
		"IN_PROCESS": 2,
		"FAILED":     3,
		"SUCCESSFUL": 4,
	}
)

Enum value maps for STATUS.

View Source
var File_common_v1_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type STATE

type STATE int32

buf:lint:ignore ENUM_VALUE_PREFIX

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	STATE_CREATED  STATE = 0
	STATE_CHECKED  STATE = 1
	STATE_ACTIVE   STATE = 2
	STATE_INACTIVE STATE = 3
	STATE_DELETED  STATE = 4
)

func (STATE) Descriptor

func (STATE) Descriptor() protoreflect.EnumDescriptor

func (STATE) Enum

func (x STATE) Enum() *STATE

func (STATE) EnumDescriptor deprecated

func (STATE) EnumDescriptor() ([]byte, []int)

Deprecated: Use STATE.Descriptor instead.

func (STATE) Number

func (x STATE) Number() protoreflect.EnumNumber

func (STATE) String

func (x STATE) String() string

func (STATE) Type

func (STATE) Type() protoreflect.EnumType

type STATUS

type STATUS int32

buf:lint:ignore ENUM_VALUE_PREFIX

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	STATUS_UNKNOWN    STATUS = 0
	STATUS_QUEUED     STATUS = 1
	STATUS_IN_PROCESS STATUS = 2
	STATUS_FAILED     STATUS = 3
	STATUS_SUCCESSFUL STATUS = 4
)

func (STATUS) Descriptor

func (STATUS) Descriptor() protoreflect.EnumDescriptor

func (STATUS) Enum

func (x STATUS) Enum() *STATUS

func (STATUS) EnumDescriptor deprecated

func (STATUS) EnumDescriptor() ([]byte, []int)

Deprecated: Use STATUS.Descriptor instead.

func (STATUS) Number

func (x STATUS) Number() protoreflect.EnumNumber

func (STATUS) String

func (x STATUS) String() string

func (STATUS) Type

func (STATUS) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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