Documentation ¶
Index ¶
- Variables
- type Sensitive
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage) GetContacts() map[string]string
- func (x *TestMessage) GetFollowIds() []string
- func (x *TestMessage) GetLogin() string
- func (x *TestMessage) GetPassword() string
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional example_service.Sensitive sensitive = 9999;
E_Sensitive = &file_sensitive_proto_extTypes[0]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_example_proto protoreflect.FileDescriptor
View Source
var File_sensitive_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Sensitive ¶
type Sensitive struct { MapKeysToRedact []string `protobuf:"bytes,1,rep,name=map_keys_to_redact,json=mapKeysToRedact,proto3" json:"map_keys_to_redact,omitempty"` // contains filtered or unexported fields }
func (*Sensitive) Descriptor
deprecated
func (*Sensitive) GetMapKeysToRedact ¶
func (*Sensitive) ProtoMessage ¶
func (*Sensitive) ProtoMessage()
func (*Sensitive) ProtoReflect ¶
func (x *Sensitive) ProtoReflect() protoreflect.Message
type TestMessage ¶
type TestMessage struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` Contacts map[string]string `` /* 157-byte string literal not displayed */ FollowIds []string `protobuf:"bytes,4,rep,name=follow_ids,json=followIds,proto3" json:"follow_ids,omitempty"` // contains filtered or unexported fields }
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetContacts ¶
func (x *TestMessage) GetContacts() map[string]string
func (*TestMessage) GetFollowIds ¶
func (x *TestMessage) GetFollowIds() []string
func (*TestMessage) GetLogin ¶
func (x *TestMessage) GetLogin() string
func (*TestMessage) GetPassword ¶
func (x *TestMessage) GetPassword() string
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *TestMessage) String() string
Click to show internal directories.
Click to hide internal directories.