Documentation
¶
Index ¶
- Variables
- type ExampleMessage
- func (x *ExampleMessage) ClearNested()
- 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 (x *ExampleMessage) HasNested() bool
- func (*ExampleMessage) ProtoMessage()
- func (x *ExampleMessage) ProtoReflect() protoreflect.Message
- func (x *ExampleMessage) Reset()
- func (x *ExampleMessage) SetDebugRedactedField(v string)
- func (x *ExampleMessage) SetMapNested(v map[int64]*ExampleMessage_Nested)
- func (x *ExampleMessage) SetNested(v *ExampleMessage_Nested)
- func (x *ExampleMessage) SetNonSensitiveField(v string)
- func (x *ExampleMessage) SetNonStringField(v int64)
- func (x *ExampleMessage) SetRepeatedNested(v []*ExampleMessage_Nested)
- func (x *ExampleMessage) SetSensitiveField(v string)
- func (x *ExampleMessage) String() string
- type ExampleMessage_Nested
- 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) SetAnotherSensitiveField(v string)
- func (x *ExampleMessage_Nested) SetNonSensitiveField(v string)
- func (x *ExampleMessage_Nested) SetNonStringField(v int64)
- func (x *ExampleMessage_Nested) SetSensitiveField(v string)
- func (x *ExampleMessage_Nested) String() string
- type ExampleMessage_Nested_builder
- type ExampleMessage_builder
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 `` /* 163-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) ClearNested ¶
func (x *ExampleMessage) ClearNested()
func (*ExampleMessage) GetDebugRedactedField ¶
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) HasNested ¶
func (x *ExampleMessage) HasNested() bool
func (*ExampleMessage) ProtoMessage ¶
func (*ExampleMessage) ProtoMessage()
func (*ExampleMessage) ProtoReflect ¶
func (x *ExampleMessage) ProtoReflect() protoreflect.Message
func (*ExampleMessage) Reset ¶
func (x *ExampleMessage) Reset()
func (*ExampleMessage) SetDebugRedactedField ¶
func (x *ExampleMessage) SetDebugRedactedField(v string)
func (*ExampleMessage) SetMapNested ¶
func (x *ExampleMessage) SetMapNested(v map[int64]*ExampleMessage_Nested)
func (*ExampleMessage) SetNested ¶
func (x *ExampleMessage) SetNested(v *ExampleMessage_Nested)
func (*ExampleMessage) SetNonSensitiveField ¶
func (x *ExampleMessage) SetNonSensitiveField(v string)
func (*ExampleMessage) SetNonStringField ¶
func (x *ExampleMessage) SetNonStringField(v int64)
func (*ExampleMessage) SetRepeatedNested ¶
func (x *ExampleMessage) SetRepeatedNested(v []*ExampleMessage_Nested)
func (*ExampleMessage) SetSensitiveField ¶
func (x *ExampleMessage) SetSensitiveField(v string)
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) 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) SetAnotherSensitiveField ¶
func (x *ExampleMessage_Nested) SetAnotherSensitiveField(v string)
func (*ExampleMessage_Nested) SetNonSensitiveField ¶
func (x *ExampleMessage_Nested) SetNonSensitiveField(v string)
func (*ExampleMessage_Nested) SetNonStringField ¶
func (x *ExampleMessage_Nested) SetNonStringField(v int64)
func (*ExampleMessage_Nested) SetSensitiveField ¶
func (x *ExampleMessage_Nested) SetSensitiveField(v string)
func (*ExampleMessage_Nested) String ¶
func (x *ExampleMessage_Nested) String() string
type ExampleMessage_Nested_builder ¶
type ExampleMessage_Nested_builder struct {
SensitiveField string
NonSensitiveField string
NonStringField int64
AnotherSensitiveField string
// contains filtered or unexported fields
}
func (ExampleMessage_Nested_builder) Build ¶
func (b0 ExampleMessage_Nested_builder) Build() *ExampleMessage_Nested
type ExampleMessage_builder ¶
type ExampleMessage_builder struct {
SensitiveField string
NonSensitiveField string
NonStringField int64
Nested *ExampleMessage_Nested
RepeatedNested []*ExampleMessage_Nested
MapNested map[int64]*ExampleMessage_Nested
DebugRedactedField string
// contains filtered or unexported fields
}
func (ExampleMessage_builder) Build ¶
func (b0 ExampleMessage_builder) Build() *ExampleMessage
Source Files
¶
- example.pb.go
Click to show internal directories.
Click to hide internal directories.