options

package
v0.0.0-...-e060677 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional error.options.ErrorMessageOptions error_details = 1043;
	E_ErrorDetails = &file_error_options_option_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_error_options_option_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ErrorMessageOptions

type ErrorMessageOptions struct {
	Code            code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"`
	MessageTemplate string    `protobuf:"bytes,2,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorMessageOptions) Descriptor deprecated

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

Deprecated: Use ErrorMessageOptions.ProtoReflect.Descriptor instead.

func (*ErrorMessageOptions) GetCode

func (x *ErrorMessageOptions) GetCode() code.Code

func (*ErrorMessageOptions) GetMessageTemplate

func (x *ErrorMessageOptions) GetMessageTemplate() string

func (*ErrorMessageOptions) ProtoMessage

func (*ErrorMessageOptions) ProtoMessage()

func (*ErrorMessageOptions) ProtoReflect

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

func (*ErrorMessageOptions) Reset

func (x *ErrorMessageOptions) Reset()

func (*ErrorMessageOptions) String

func (x *ErrorMessageOptions) String() string

Jump to

Keyboard shortcuts

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