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