custom_option

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 (*MethodErrorDefinition) GetMessage

func (x *MethodErrorDefinition) GetMessage() string

func (*MethodErrorDefinition) GetSeverity

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

Jump to

Keyboard shortcuts

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