enums

package
v0.0.0-...-8e53d61 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusCode_name = map[int32]string{
		0:   "OK",
		200: "STATUS_CHECK_SUCCESS",
	}
	StatusCode_value = map[string]int32{
		"OK":                   0,
		"STATUS_CHECK_SUCCESS": 200,
	}
)

Enum value maps for StatusCode.

View Source
var (
	SuggestionCode_name = map[int32]string{
		0: "NIL",
	}
	SuggestionCode_value = map[string]int32{
		"NIL": 0,
	}
)

Enum value maps for SuggestionCode.

View Source
var File_enums_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatusCode

type StatusCode int32

Enum for Status codes<br> These error codes are prepended by Phase Name e.g. For Success Error codes, use range 200 to 250.<br> For Unknown error codes, use range 500 to 600.<br> For Cancelled Error code, use range 800 to 850.<br>

const (
	StatusCode_OK StatusCode = 0
	// Status Check Success
	StatusCode_STATUS_CHECK_SUCCESS StatusCode = 200
)

func (StatusCode) Descriptor

func (StatusCode) Descriptor() protoreflect.EnumDescriptor

func (StatusCode) Enum

func (x StatusCode) Enum() *StatusCode

func (StatusCode) EnumDescriptor deprecated

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

Deprecated: Use StatusCode.Descriptor instead.

func (StatusCode) Number

func (x StatusCode) Number() protoreflect.EnumNumber

func (StatusCode) String

func (x StatusCode) String() string

func (StatusCode) Type

type SuggestionCode

type SuggestionCode int32

Enum for Suggestion codes

const (
	// default nil suggestion.
	// This is usually set when no error happens.
	SuggestionCode_NIL SuggestionCode = 0
)

func (SuggestionCode) Descriptor

func (SuggestionCode) Enum

func (x SuggestionCode) Enum() *SuggestionCode

func (SuggestionCode) EnumDescriptor deprecated

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

Deprecated: Use SuggestionCode.Descriptor instead.

func (SuggestionCode) Number

func (SuggestionCode) String

func (x SuggestionCode) String() string

func (SuggestionCode) Type

Jump to

Keyboard shortcuts

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