Documentation
¶
Index ¶
- Variables
- type ExampleMessage
- func (*ExampleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleMessage) GetDebugRedactedField() string
- func (x *ExampleMessage) GetMapNested() map[int64]*ExampleMessage_Nested
- func (x *ExampleMessage) GetNested() *ExampleMessage_Nested
- func (x *ExampleMessage) GetNonSensitiveField() string
- func (x *ExampleMessage) GetNonStringField() int64
- func (x *ExampleMessage) GetRepeatedNested() []*ExampleMessage_Nested
- func (x *ExampleMessage) GetSensitiveField() string
- func (*ExampleMessage) ProtoMessage()
- func (x *ExampleMessage) ProtoReflect() protoreflect.Message
- func (x *ExampleMessage) Reset()
- func (x *ExampleMessage) String() string
- type ExampleMessage_Nested
- func (*ExampleMessage_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleMessage_Nested) GetAnotherSensitiveField() string
- func (x *ExampleMessage_Nested) GetNonSensitiveField() string
- func (x *ExampleMessage_Nested) GetNonStringField() int64
- func (x *ExampleMessage_Nested) GetSensitiveField() string
- func (*ExampleMessage_Nested) ProtoMessage()
- func (x *ExampleMessage_Nested) ProtoReflect() protoreflect.Message
- func (x *ExampleMessage_Nested) Reset()
- func (x *ExampleMessage_Nested) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_einride_sensitive_example_v1_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExampleMessage ¶
type ExampleMessage struct { SensitiveField string `protobuf:"bytes,1,opt,name=sensitive_field,json=sensitiveField,proto3" json:"sensitive_field,omitempty"` NonSensitiveField string `protobuf:"bytes,2,opt,name=non_sensitive_field,json=nonSensitiveField,proto3" json:"non_sensitive_field,omitempty"` NonStringField int64 `protobuf:"varint,3,opt,name=non_string_field,json=nonStringField,proto3" json:"non_string_field,omitempty"` Nested *ExampleMessage_Nested `protobuf:"bytes,4,opt,name=nested,proto3" json:"nested,omitempty"` RepeatedNested []*ExampleMessage_Nested `protobuf:"bytes,5,rep,name=repeated_nested,json=repeatedNested,proto3" json:"repeated_nested,omitempty"` MapNested map[int64]*ExampleMessage_Nested `` /* 177-byte string literal not displayed */ DebugRedactedField string `protobuf:"bytes,7,opt,name=debug_redacted_field,json=debugRedactedField,proto3" json:"debug_redacted_field,omitempty"` // contains filtered or unexported fields }
Example message for testing and validation of sensitive fields.
func (*ExampleMessage) Descriptor
deprecated
func (*ExampleMessage) Descriptor() ([]byte, []int)
Deprecated: Use ExampleMessage.ProtoReflect.Descriptor instead.
func (*ExampleMessage) GetDebugRedactedField ¶ added in v0.8.0
func (x *ExampleMessage) GetDebugRedactedField() string
func (*ExampleMessage) GetMapNested ¶
func (x *ExampleMessage) GetMapNested() map[int64]*ExampleMessage_Nested
func (*ExampleMessage) GetNested ¶
func (x *ExampleMessage) GetNested() *ExampleMessage_Nested
func (*ExampleMessage) GetNonSensitiveField ¶
func (x *ExampleMessage) GetNonSensitiveField() string
func (*ExampleMessage) GetNonStringField ¶
func (x *ExampleMessage) GetNonStringField() int64
func (*ExampleMessage) GetRepeatedNested ¶
func (x *ExampleMessage) GetRepeatedNested() []*ExampleMessage_Nested
func (*ExampleMessage) GetSensitiveField ¶
func (x *ExampleMessage) GetSensitiveField() string
func (*ExampleMessage) ProtoMessage ¶
func (*ExampleMessage) ProtoMessage()
func (*ExampleMessage) ProtoReflect ¶
func (x *ExampleMessage) ProtoReflect() protoreflect.Message
func (*ExampleMessage) Reset ¶
func (x *ExampleMessage) Reset()
func (*ExampleMessage) String ¶
func (x *ExampleMessage) String() string
type ExampleMessage_Nested ¶
type ExampleMessage_Nested struct { SensitiveField string `protobuf:"bytes,1,opt,name=sensitive_field,json=sensitiveField,proto3" json:"sensitive_field,omitempty"` NonSensitiveField string `protobuf:"bytes,2,opt,name=non_sensitive_field,json=nonSensitiveField,proto3" json:"non_sensitive_field,omitempty"` NonStringField int64 `protobuf:"varint,3,opt,name=non_string_field,json=nonStringField,proto3" json:"non_string_field,omitempty"` AnotherSensitiveField string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Nested example message.
func (*ExampleMessage_Nested) Descriptor
deprecated
func (*ExampleMessage_Nested) Descriptor() ([]byte, []int)
Deprecated: Use ExampleMessage_Nested.ProtoReflect.Descriptor instead.
func (*ExampleMessage_Nested) GetAnotherSensitiveField ¶
func (x *ExampleMessage_Nested) GetAnotherSensitiveField() string
func (*ExampleMessage_Nested) GetNonSensitiveField ¶
func (x *ExampleMessage_Nested) GetNonSensitiveField() string
func (*ExampleMessage_Nested) GetNonStringField ¶
func (x *ExampleMessage_Nested) GetNonStringField() int64
func (*ExampleMessage_Nested) GetSensitiveField ¶
func (x *ExampleMessage_Nested) GetSensitiveField() string
func (*ExampleMessage_Nested) ProtoMessage ¶
func (*ExampleMessage_Nested) ProtoMessage()
func (*ExampleMessage_Nested) ProtoReflect ¶
func (x *ExampleMessage_Nested) ProtoReflect() protoreflect.Message
func (*ExampleMessage_Nested) Reset ¶
func (x *ExampleMessage_Nested) Reset()
func (*ExampleMessage_Nested) String ¶
func (x *ExampleMessage_Nested) String() string
Click to show internal directories.
Click to hide internal directories.