Documentation ¶
Index ¶
- Variables
- type SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleMessage) GetMessage() string
- func (x *SimpleMessage) GetSecretMessage() string
- func (x *SimpleMessage) GetSecretMessage2() string
- func (x *SimpleMessage) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*SimpleMessage) ProtoMessage()
- func (x *SimpleMessage) ProtoReflect() protoreflect.Message
- func (x *SimpleMessage) Reset()
- func (x *SimpleMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_simple_simple_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SimpleMessage ¶
type SimpleMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` SecretMessage string `protobuf:"bytes,2,opt,name=secret_message,json=secretMessage,proto3" json:"secret_message,omitempty"` SecretMessage2 string `protobuf:"bytes,3,opt,name=secret_message2,json=secretMessage2,proto3" json:"secret_message2,omitempty"` // contains filtered or unexported fields }
func (*SimpleMessage) Descriptor
deprecated
func (*SimpleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.
func (*SimpleMessage) GetMessage ¶
func (x *SimpleMessage) GetMessage() string
func (*SimpleMessage) GetSecretMessage ¶
func (x *SimpleMessage) GetSecretMessage() string
func (*SimpleMessage) GetSecretMessage2 ¶ added in v0.4.0
func (x *SimpleMessage) GetSecretMessage2() string
func (*SimpleMessage) MarshalLogObject ¶
func (x *SimpleMessage) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) ProtoReflect ¶ added in v0.0.3
func (x *SimpleMessage) ProtoReflect() protoreflect.Message
func (*SimpleMessage) Reset ¶
func (x *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (x *SimpleMessage) String() string
Click to show internal directories.
Click to hide internal directories.