public static final class CustomInfoType.MetadataKeyValueExpression extends GeneratedMessage implements CustomInfoType.MetadataKeyValueExpressionOrBuilderConfiguration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions.
Protobuf type google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomInfoType.MetadataKeyValueExpressionStatic Fields
KEY_REGEX_FIELD_NUMBER
public static final int KEY_REGEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VALUE_REGEX_FIELD_NUMBER
public static final int VALUE_REGEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomInfoType.MetadataKeyValueExpression getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CustomInfoType.MetadataKeyValueExpression.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression.Builder |
|
newBuilder(CustomInfoType.MetadataKeyValueExpression prototype)
public static CustomInfoType.MetadataKeyValueExpression.Builder newBuilder(CustomInfoType.MetadataKeyValueExpression prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CustomInfoType.MetadataKeyValueExpression |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression.Builder |
|
parseDelimitedFrom(InputStream input)
public static CustomInfoType.MetadataKeyValueExpression parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.MetadataKeyValueExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CustomInfoType.MetadataKeyValueExpression> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MetadataKeyValueExpression> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CustomInfoType.MetadataKeyValueExpression getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression |
|
getKeyRegex()
public String getKeyRegex()The regular expression for the key. Key should be non-empty.
string key_regex = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The keyRegex. |
getKeyRegexBytes()
public ByteString getKeyRegexBytes()The regular expression for the key. Key should be non-empty.
string key_regex = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for keyRegex. |
getParserForType()
public Parser<CustomInfoType.MetadataKeyValueExpression> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MetadataKeyValueExpression> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getValueRegex()
public String getValueRegex()The regular expression for the value. Value should be non-empty.
string value_regex = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The valueRegex. |
getValueRegexBytes()
public ByteString getValueRegexBytes()The regular expression for the value. Value should be non-empty.
string value_regex = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for valueRegex. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CustomInfoType.MetadataKeyValueExpression.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomInfoType.MetadataKeyValueExpression.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression.Builder |
|
toBuilder()
public CustomInfoType.MetadataKeyValueExpression.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.MetadataKeyValueExpression.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|