Documentation ¶
Index ¶
- Variables
- type MethodErrorDefinition
- func (*MethodErrorDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *MethodErrorDefinition) GetCode() api_errors.ErrorCode_Method
- func (x *MethodErrorDefinition) GetMessage() string
- func (x *MethodErrorDefinition) GetSeverity() api_errors.ErrorSeverity
- func (*MethodErrorDefinition) ProtoMessage()
- func (x *MethodErrorDefinition) ProtoReflect() protoreflect.Message
- func (x *MethodErrorDefinition) Reset()
- func (x *MethodErrorDefinition) String() string
- type MethodOption
- func (*MethodOption) Descriptor() ([]byte, []int)deprecated
- func (x *MethodOption) GetMethodErrorDefinitions() []*MethodErrorDefinition
- func (x *MethodOption) GetSkipAuthenticate() bool
- func (x *MethodOption) GetSkipUserStatusCheck() bool
- func (*MethodOption) ProtoMessage()
- func (x *MethodOption) ProtoReflect() protoreflect.Message
- func (x *MethodOption) Reset()
- func (x *MethodOption) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional custom_option.MethodOption method_option = 50000;
E_MethodOption = &file_custom_option_custom_option_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_custom_option_custom_option_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MethodErrorDefinition ¶
type MethodErrorDefinition struct { Code api_errors.ErrorCode_Method `protobuf:"varint,1,opt,name=code,proto3,enum=api.api_errors.ErrorCode_Method" json:"code,omitempty"` Severity api_errors.ErrorSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=api.api_errors.ErrorSeverity" json:"severity,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MethodErrorDefinition) Descriptor
deprecated
func (*MethodErrorDefinition) Descriptor() ([]byte, []int)
Deprecated: Use MethodErrorDefinition.ProtoReflect.Descriptor instead.
func (*MethodErrorDefinition) GetCode ¶
func (x *MethodErrorDefinition) GetCode() api_errors.ErrorCode_Method
func (*MethodErrorDefinition) GetMessage ¶
func (x *MethodErrorDefinition) GetMessage() string
func (*MethodErrorDefinition) GetSeverity ¶
func (x *MethodErrorDefinition) GetSeverity() api_errors.ErrorSeverity
func (*MethodErrorDefinition) ProtoMessage ¶
func (*MethodErrorDefinition) ProtoMessage()
func (*MethodErrorDefinition) ProtoReflect ¶
func (x *MethodErrorDefinition) ProtoReflect() protoreflect.Message
func (*MethodErrorDefinition) Reset ¶
func (x *MethodErrorDefinition) Reset()
func (*MethodErrorDefinition) String ¶
func (x *MethodErrorDefinition) String() string
type MethodOption ¶
type MethodOption struct { MethodErrorDefinitions []*MethodErrorDefinition `` /* 129-byte string literal not displayed */ SkipAuthenticate bool `protobuf:"varint,2,opt,name=skip_authenticate,json=skipAuthenticate,proto3" json:"skip_authenticate,omitempty"` SkipUserStatusCheck bool `protobuf:"varint,3,opt,name=skip_user_status_check,json=skipUserStatusCheck,proto3" json:"skip_user_status_check,omitempty"` // contains filtered or unexported fields }
func (*MethodOption) Descriptor
deprecated
func (*MethodOption) Descriptor() ([]byte, []int)
Deprecated: Use MethodOption.ProtoReflect.Descriptor instead.
func (*MethodOption) GetMethodErrorDefinitions ¶
func (x *MethodOption) GetMethodErrorDefinitions() []*MethodErrorDefinition
func (*MethodOption) GetSkipAuthenticate ¶
func (x *MethodOption) GetSkipAuthenticate() bool
func (*MethodOption) GetSkipUserStatusCheck ¶
func (x *MethodOption) GetSkipUserStatusCheck() bool
func (*MethodOption) ProtoMessage ¶
func (*MethodOption) ProtoMessage()
func (*MethodOption) ProtoReflect ¶
func (x *MethodOption) ProtoReflect() protoreflect.Message
func (*MethodOption) Reset ¶
func (x *MethodOption) Reset()
func (*MethodOption) String ¶
func (x *MethodOption) String() string
Click to show internal directories.
Click to hide internal directories.