Class ListProjectDataProfilesRequest.Builder (3.87.0)

public static final class ListProjectDataProfilesRequest.Builder extends GeneratedMessage.Builder<ListProjectDataProfilesRequest.Builder> implements ListProjectDataProfilesRequestOrBuilder

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

Protobuf type google.privacy.dlp.v2.ListProjectDataProfilesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListProjectDataProfilesRequest build()
Returns
Type Description
ListProjectDataProfilesRequest

buildPartial()

public ListProjectDataProfilesRequest buildPartial()
Returns
Type Description
ListProjectDataProfilesRequest

clear()

public ListProjectDataProfilesRequest.Builder clear()
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

clearFilter()

public ListProjectDataProfilesRequest.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:
  • project_id: the Google Cloud project ID
  • sensitivity_level: HIGH|MODERATE|LOW
  • data_risk_level: HIGH|MODERATE|LOW
  • status_code: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • profile_last_generated: Date and time the profile was last generated
  • The operator must be = or !=. The profile_last_generated filter also supports < and >.

    The syntax is based on https://google.aip.dev/160.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • profile_last_generated < "2025-01-01T00:00:00.000Z"

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

string filter = 5;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearOrderBy()

public ListProjectDataProfilesRequest.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
  • sensitivity_level desc

    Supported fields:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most
  • data_risk_level: How much risk is associated with this data
  • profile_last_generated: Date and time (in epoch seconds) the profile was last generated

string order_by = 4;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearPageSize()

public ListProjectDataProfilesRequest.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
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearPageToken()

public ListProjectDataProfilesRequest.Builder clearPageToken()

Page token to continue retrieval.

string page_token = 2;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearParent()

public ListProjectDataProfilesRequest.Builder clearParent()

Required. organizations/{org_id}/locations/{loc_id}

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

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListProjectDataProfilesRequest getDefaultInstanceForType()
Returns
Type Description
ListProjectDataProfilesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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:
  • project_id: the Google Cloud project ID
  • sensitivity_level: HIGH|MODERATE|LOW
  • data_risk_level: HIGH|MODERATE|LOW
  • status_code: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • profile_last_generated: Date and time the profile was last generated
  • The operator must be = or !=. The profile_last_generated filter also supports < and >.

    The syntax is based on https://google.aip.dev/160.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • profile_last_generated < "2025-01-01T00:00:00.000Z"

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

string filter = 5;

Returns
Type Description
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:
  • project_id: the Google Cloud project ID
  • sensitivity_level: HIGH|MODERATE|LOW
  • data_risk_level: HIGH|MODERATE|LOW
  • status_code: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • profile_last_generated: Date and time the profile was last generated
  • The operator must be = or !=. The profile_last_generated filter also supports < and >.

    The syntax is based on https://google.aip.dev/160.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • profile_last_generated < "2025-01-01T00:00:00.000Z"

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

string filter = 5;

Returns
Type Description
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
  • sensitivity_level desc

    Supported fields:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most
  • data_risk_level: How much risk is associated with this data
  • profile_last_generated: Date and time (in epoch seconds) the profile was last generated

string order_by = 4;

Returns
Type Description
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
  • sensitivity_level desc

    Supported fields:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most
  • data_risk_level: How much risk is associated with this data
  • profile_last_generated: Date and time (in epoch seconds) the profile was last generated

string order_by = 4;

Returns
Type Description
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
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Page token to continue retrieval.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token to continue retrieval.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. organizations/{org_id}/locations/{loc_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. organizations/{org_id}/locations/{loc_id}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProjectDataProfilesRequest other)

public ListProjectDataProfilesRequest.Builder mergeFrom(ListProjectDataProfilesRequest other)
Parameter
Name Description
other ListProjectDataProfilesRequest
Returns
Type Description
ListProjectDataProfilesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListProjectDataProfilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListProjectDataProfilesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

setFilter(String value)

public ListProjectDataProfilesRequest.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:
  • project_id: the Google Cloud project ID
  • sensitivity_level: HIGH|MODERATE|LOW
  • data_risk_level: HIGH|MODERATE|LOW
  • status_code: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • profile_last_generated: Date and time the profile was last generated
  • The operator must be = or !=. The profile_last_generated filter also supports < and >.

    The syntax is based on https://google.aip.dev/160.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • profile_last_generated < "2025-01-01T00:00:00.000Z"

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

string filter = 5;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListProjectDataProfilesRequest.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:
  • project_id: the Google Cloud project ID
  • sensitivity_level: HIGH|MODERATE|LOW
  • data_risk_level: HIGH|MODERATE|LOW
  • status_code: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
  • profile_last_generated: Date and time the profile was last generated
  • The operator must be = or !=. The profile_last_generated filter also supports < and >.

    The syntax is based on https://google.aip.dev/160.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH
  • profile_last_generated < "2025-01-01T00:00:00.000Z"

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

string filter = 5;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListProjectDataProfilesRequest.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
  • sensitivity_level desc

    Supported fields:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most
  • data_risk_level: How much risk is associated with this data
  • profile_last_generated: Date and time (in epoch seconds) the profile was last generated

string order_by = 4;

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListProjectDataProfilesRequest.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
  • sensitivity_level desc

    Supported fields:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most
  • data_risk_level: How much risk is associated with this data
  • profile_last_generated: Date and time (in epoch seconds) the profile was last generated

string order_by = 4;

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListProjectDataProfilesRequest.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
Name Description
value int

The pageSize to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListProjectDataProfilesRequest.Builder setPageToken(String value)

Page token to continue retrieval.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListProjectDataProfilesRequest.Builder setPageTokenBytes(ByteString value)

Page token to continue retrieval.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setParent(String value)

public ListProjectDataProfilesRequest.Builder setParent(String value)

Required. organizations/{org_id}/locations/{loc_id}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListProjectDataProfilesRequest.Builder setParentBytes(ByteString value)

Required. organizations/{org_id}/locations/{loc_id}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.