rpcerrormapperv1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Flags if services within proto file are targets of generation
	//
	// optional bool isGenerationTarget = 4921;
	E_IsGenerationTarget = &file_rpc_errormapper_v1_annotations_proto_extTypes[0]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional rpc.errormapper.v1.EnumValueLevelOptions options = 4923;
	E_Options = &file_rpc_errormapper_v1_annotations_proto_extTypes[1]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var File_rpc_errormapper_v1_annotations_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnumValueLevelOptions

type EnumValueLevelOptions struct {

	// Code of the error
	Code int32 `protobuf:"varint,4980,opt,name=code,proto3" json:"code,omitempty"`
	// Domain of the errors defined in the Enum
	Domain string `protobuf:"bytes,4981,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

Options for the Enum

func (*EnumValueLevelOptions) Descriptor deprecated

func (*EnumValueLevelOptions) Descriptor() ([]byte, []int)

Deprecated: Use EnumValueLevelOptions.ProtoReflect.Descriptor instead.

func (*EnumValueLevelOptions) GetCode

func (x *EnumValueLevelOptions) GetCode() int32

func (*EnumValueLevelOptions) GetDomain

func (x *EnumValueLevelOptions) GetDomain() string

func (*EnumValueLevelOptions) ProtoMessage

func (*EnumValueLevelOptions) ProtoMessage()

func (*EnumValueLevelOptions) ProtoReflect

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

func (*EnumValueLevelOptions) Reset

func (x *EnumValueLevelOptions) Reset()

func (*EnumValueLevelOptions) String

func (x *EnumValueLevelOptions) String() string

Jump to

Keyboard shortcuts

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