Interface HybridFindingDetailsOrBuilder (3.6.7)

public interface HybridFindingDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection. 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 = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getContainerDetails()

public abstract Container getContainerDetails()

Details about the container where the content being inspected is from.

.google.privacy.dlp.v2.Container container_details = 1;

Returns
TypeDescription
Container

The containerDetails.

getContainerDetailsOrBuilder()

public abstract ContainerOrBuilder getContainerDetailsOrBuilder()

Details about the container where the content being inspected is from.

.google.privacy.dlp.v2.Container container_details = 1;

Returns
TypeDescription
ContainerOrBuilder

getFileOffset()

public abstract long getFileOffset()

Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.

int64 file_offset = 2;

Returns
TypeDescription
long

The fileOffset.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection. 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 = 5;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection. 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 = 5;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection. 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 = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection. 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 = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getRowOffset()

public abstract long getRowOffset()

Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.

int64 row_offset = 3;

Returns
TypeDescription
long

The rowOffset.

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. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.

.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. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.

.google.privacy.dlp.v2.TableOptions table_options = 4;

Returns
TypeDescription
TableOptionsOrBuilder

hasContainerDetails()

public abstract boolean hasContainerDetails()

Details about the container where the content being inspected is from.

.google.privacy.dlp.v2.Container container_details = 1;

Returns
TypeDescription
boolean

Whether the containerDetails field is set.

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. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.

.google.privacy.dlp.v2.TableOptions table_options = 4;

Returns
TypeDescription
boolean

Whether the tableOptions field is set.