Interface HybridOptionsOrBuilder (3.21.0)

public interface HybridOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getDescription()

public abstract 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
TypeDescription
String

The description.

getDescriptionBytes()

public abstract 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
TypeDescription
ByteString

The bytes for description.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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
TypeDescription
int

getLabelsMap()

public abstract 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
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String

getRequiredFindingLabelKeys(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The requiredFindingLabelKeys at the given index.

getRequiredFindingLabelKeysBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the requiredFindingLabelKeys at the given index.

getRequiredFindingLabelKeysCount()

public abstract 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
TypeDescription
int

The count of requiredFindingLabelKeys.

getRequiredFindingLabelKeysList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the requiredFindingLabelKeys.

getTableOptions()

public abstract 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
TypeDescription
TableOptions

The tableOptions.

getTableOptionsOrBuilder()

public abstract 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
TypeDescription
TableOptionsOrBuilder

hasTableOptions()

public abstract 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
TypeDescription
boolean

Whether the tableOptions field is set.