public final class HybridOptions extends GeneratedMessageV3 implements HybridOptionsOrBuilder
Configuration to control jobs where the content being inspected is outside
of Google Cloud Platform.
Protobuf type google.privacy.dlp.v2.HybridOptions
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER
public static final int REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER
Field Value
TABLE_OPTIONS_FIELD_NUMBER
public static final int TABLE_OPTIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HybridOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HybridOptions.Builder newBuilder()
Returns
newBuilder(HybridOptions prototype)
public static HybridOptions.Builder newBuilder(HybridOptions prototype)
Parameter
Returns
public static HybridOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HybridOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HybridOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HybridOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HybridOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HybridOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HybridOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HybridOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HybridOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HybridOptions> parser()
Returns
Methods
containsLabels(String key)
public boolean containsLabels(String key)
To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HybridOptions getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
A short description of where the data is coming from. Will be stored once
in the job. 256 max length.
string description = 1;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A short description of where the data is coming from. Will be stored once
in the job. 256 max length.
string description = 1;
Returns
Type | Description |
ByteString | The bytes for description.
|
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter
Returns
getParserForType()
public Parser<HybridOptions> getParserForType()
Returns
Overrides
getRequiredFindingLabelKeys(int index)
public String getRequiredFindingLabelKeys(int index)
These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The requiredFindingLabelKeys at the given index.
|
getRequiredFindingLabelKeysBytes(int index)
public ByteString getRequiredFindingLabelKeysBytes(int index)
These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the requiredFindingLabelKeys at the given index.
|
getRequiredFindingLabelKeysCount()
public int getRequiredFindingLabelKeysCount()
These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Returns
Type | Description |
int | The count of requiredFindingLabelKeys.
|
getRequiredFindingLabelKeysList()
public ProtocolStringList getRequiredFindingLabelKeysList()
These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTableOptions()
public TableOptions getTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;
Returns
getTableOptionsOrBuilder()
public TableOptionsOrBuilder getTableOptionsOrBuilder()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTableOptions()
public boolean hasTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;
Returns
Type | Description |
boolean | Whether the tableOptions field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HybridOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HybridOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HybridOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions