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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER
public static final int REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_OPTIONS_FIELD_NUMBER
public static final int TABLE_OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static HybridOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HybridOptions.Builder newBuilder()
newBuilder(HybridOptions prototype)
public static HybridOptions.Builder newBuilder(HybridOptions prototype)
public static HybridOptions parseDelimitedFrom(InputStream input)
public static HybridOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HybridOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HybridOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(CodedInputStream input)
public static HybridOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(InputStream input)
public static HybridOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HybridOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HybridOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HybridOptions> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public HybridOptions getDefaultInstanceForType()
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() (deprecated)
public Map<String,String> getLabels()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<HybridOptions> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HybridOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HybridOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public HybridOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides