Class ListColumnDataProfilesRequest.Builder (3.43.0)

public static final class ListColumnDataProfilesRequest.Builder extends GeneratedMessageV3.Builder<ListColumnDataProfilesRequest.Builder> implements ListColumnDataProfilesRequestOrBuilder

Request to list the profiles generated for a given organization or project.

Protobuf type google.privacy.dlp.v2.ListColumnDataProfilesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListColumnDataProfilesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

build()

public ListColumnDataProfilesRequest build()
Returns
TypeDescription
ListColumnDataProfilesRequest

buildPartial()

public ListColumnDataProfilesRequest buildPartial()
Returns
TypeDescription
ListColumnDataProfilesRequest

clear()

public ListColumnDataProfilesRequest.Builder clear()
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListColumnDataProfilesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

clearFilter()

public ListColumnDataProfilesRequest.Builder clearFilter()

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
    • table_data_profile_name - The name of the related table data profile.
    • project_id - The Google Cloud project ID. (REQUIRED)
    • dataset_id - The BigQuery dataset ID. (REQUIRED)
    • table_id - The BigQuery table ID. (REQUIRED)
    • field_id - The ID of the BigQuery field.
    • info_type - The infotype detected in the resource.
    • sensitivity_level - HIGH|MEDIUM|LOW
    • data_risk_level: How much risk is associated with this data.
    • status_code - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • The operator must be = for project_id, dataset_id, and table_id. Other filters also support !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • project_id = 12345 AND info_type = STREET_ADDRESS

    The length of this field should be no more than 500 characters.

string filter = 5;

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListColumnDataProfilesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

clearOrderBy()

public ListColumnDataProfilesRequest.Builder clearOrderBy()

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed.

Examples:

  • project_id asc
  • table_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: The Google Cloud project ID.

  • dataset_id: The ID of a BigQuery dataset.
  • table_id: The ID of a BigQuery table.
  • sensitivity_level: How sensitive the data in a column is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

clearPageSize()

public ListColumnDataProfilesRequest.Builder clearPageSize()

Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.

int32 page_size = 3;

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

clearPageToken()

public ListColumnDataProfilesRequest.Builder clearPageToken()

Page token to continue retrieval.

string page_token = 2;

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

clearParent()

public ListColumnDataProfilesRequest.Builder clearParent()

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

clone()

public ListColumnDataProfilesRequest.Builder clone()
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListColumnDataProfilesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListColumnDataProfilesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
    • table_data_profile_name - The name of the related table data profile.
    • project_id - The Google Cloud project ID. (REQUIRED)
    • dataset_id - The BigQuery dataset ID. (REQUIRED)
    • table_id - The BigQuery table ID. (REQUIRED)
    • field_id - The ID of the BigQuery field.
    • info_type - The infotype detected in the resource.
    • sensitivity_level - HIGH|MEDIUM|LOW
    • data_risk_level: How much risk is associated with this data.
    • status_code - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • The operator must be = for project_id, dataset_id, and table_id. Other filters also support !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • project_id = 12345 AND info_type = STREET_ADDRESS

    The length of this field should be no more than 500 characters.

string filter = 5;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
    • table_data_profile_name - The name of the related table data profile.
    • project_id - The Google Cloud project ID. (REQUIRED)
    • dataset_id - The BigQuery dataset ID. (REQUIRED)
    • table_id - The BigQuery table ID. (REQUIRED)
    • field_id - The ID of the BigQuery field.
    • info_type - The infotype detected in the resource.
    • sensitivity_level - HIGH|MEDIUM|LOW
    • data_risk_level: How much risk is associated with this data.
    • status_code - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • The operator must be = for project_id, dataset_id, and table_id. Other filters also support !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • project_id = 12345 AND info_type = STREET_ADDRESS

    The length of this field should be no more than 500 characters.

string filter = 5;

Returns
TypeDescription
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed.

Examples:

  • project_id asc
  • table_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: The Google Cloud project ID.

  • dataset_id: The ID of a BigQuery dataset.
  • table_id: The ID of a BigQuery table.
  • sensitivity_level: How sensitive the data in a column is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Returns
TypeDescription
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed.

Examples:

  • project_id asc
  • table_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: The Google Cloud project ID.

  • dataset_id: The ID of a BigQuery dataset.
  • table_id: The ID of a BigQuery table.
  • sensitivity_level: How sensitive the data in a column is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Returns
TypeDescription
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Page token to continue retrieval.

string page_token = 2;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token to continue retrieval.

string page_token = 2;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListColumnDataProfilesRequest other)

public ListColumnDataProfilesRequest.Builder mergeFrom(ListColumnDataProfilesRequest other)
Parameter
NameDescription
otherListColumnDataProfilesRequest
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListColumnDataProfilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListColumnDataProfilesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListColumnDataProfilesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListColumnDataProfilesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

setFilter(String value)

public ListColumnDataProfilesRequest.Builder setFilter(String value)

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
    • table_data_profile_name - The name of the related table data profile.
    • project_id - The Google Cloud project ID. (REQUIRED)
    • dataset_id - The BigQuery dataset ID. (REQUIRED)
    • table_id - The BigQuery table ID. (REQUIRED)
    • field_id - The ID of the BigQuery field.
    • info_type - The infotype detected in the resource.
    • sensitivity_level - HIGH|MEDIUM|LOW
    • data_risk_level: How much risk is associated with this data.
    • status_code - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • The operator must be = for project_id, dataset_id, and table_id. Other filters also support !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • project_id = 12345 AND info_type = STREET_ADDRESS

    The length of this field should be no more than 500 characters.

string filter = 5;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListColumnDataProfilesRequest.Builder setFilterBytes(ByteString value)

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
    • table_data_profile_name - The name of the related table data profile.
    • project_id - The Google Cloud project ID. (REQUIRED)
    • dataset_id - The BigQuery dataset ID. (REQUIRED)
    • table_id - The BigQuery table ID. (REQUIRED)
    • field_id - The ID of the BigQuery field.
    • info_type - The infotype detected in the resource.
    • sensitivity_level - HIGH|MEDIUM|LOW
    • data_risk_level: How much risk is associated with this data.
    • status_code - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • The operator must be = for project_id, dataset_id, and table_id. Other filters also support !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • project_id = 12345 AND info_type = STREET_ADDRESS

    The length of this field should be no more than 500 characters.

string filter = 5;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListColumnDataProfilesRequest.Builder setOrderBy(String value)

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed.

Examples:

  • project_id asc
  • table_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: The Google Cloud project ID.

  • dataset_id: The ID of a BigQuery dataset.
  • table_id: The ID of a BigQuery table.
  • sensitivity_level: How sensitive the data in a column is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Parameter
NameDescription
valueString

The orderBy to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListColumnDataProfilesRequest.Builder setOrderByBytes(ByteString value)

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed.

Examples:

  • project_id asc
  • table_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: The Google Cloud project ID.

  • dataset_id: The ID of a BigQuery dataset.
  • table_id: The ID of a BigQuery table.
  • sensitivity_level: How sensitive the data in a column is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Parameter
NameDescription
valueByteString

The bytes for orderBy to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListColumnDataProfilesRequest.Builder setPageSize(int value)

Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.

int32 page_size = 3;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListColumnDataProfilesRequest.Builder setPageToken(String value)

Page token to continue retrieval.

string page_token = 2;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListColumnDataProfilesRequest.Builder setPageTokenBytes(ByteString value)

Page token to continue retrieval.

string page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setParent(String value)

public ListColumnDataProfilesRequest.Builder setParent(String value)

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListColumnDataProfilesRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListColumnDataProfilesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListColumnDataProfilesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListColumnDataProfilesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListColumnDataProfilesRequest.Builder
Overrides