Documentation
¶
Index ¶
- Variables
- type EnumValueLevelOptions
- func (*EnumValueLevelOptions) Descriptor() ([]byte, []int)deprecated
- func (x *EnumValueLevelOptions) GetCode() int32
- func (x *EnumValueLevelOptions) GetDomain() string
- func (*EnumValueLevelOptions) ProtoMessage()
- func (x *EnumValueLevelOptions) ProtoReflect() protoreflect.Message
- func (x *EnumValueLevelOptions) Reset()
- func (x *EnumValueLevelOptions) String() string
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
Click to show internal directories.
Click to hide internal directories.