Class ListDataAssetsRequest.Builder (1.86.0)

public static final class ListDataAssetsRequest.Builder extends GeneratedMessage.Builder<ListDataAssetsRequest.Builder> implements ListDataAssetsRequestOrBuilder

Request message for listing data assets.

Protobuf type google.cloud.dataplex.v1.ListDataAssetsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListDataAssetsRequest build()
Returns
Type Description
ListDataAssetsRequest

buildPartial()

public ListDataAssetsRequest buildPartial()
Returns
Type Description
ListDataAssetsRequest

clear()

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

clearFilter()

public ListDataAssetsRequest.Builder clearFilter()

Optional. Filter expression that filters data assets listed in the response.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

clearOrderBy()

public ListDataAssetsRequest.Builder clearOrderBy()

Optional. Order by expression that orders data assets listed in the response.

Supported order_by fields are: name or create_time.

If not specified, the ordering is undefined.

string order_by = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

clearPageSize()

public ListDataAssetsRequest.Builder clearPageSize()

Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

clearPageToken()

public ListDataAssetsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

clearParent()

public ListDataAssetsRequest.Builder clearParent()

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListDataAssetsRequest getDefaultInstanceForType()
Returns
Type Description
ListDataAssetsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Filter expression that filters data assets listed in the response.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter expression that filters data assets listed in the response.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. Order by expression that orders data assets listed in the response.

Supported order_by fields are: name or create_time.

If not specified, the ordering is undefined.

string order_by = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. Order by expression that orders data assets listed in the response.

Supported order_by fields are: name or create_time.

If not specified, the ordering is undefined.

string order_by = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_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(ListDataAssetsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListDataAssetsRequest.Builder setFilter(String value)

Optional. Filter expression that filters data assets listed in the response.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListDataAssetsRequest.Builder setFilterBytes(ByteString value)

Optional. Filter expression that filters data assets listed in the response.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListDataAssetsRequest.Builder setOrderBy(String value)

Optional. Order by expression that orders data assets listed in the response.

Supported order_by fields are: name or create_time.

If not specified, the ordering is undefined.

string order_by = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListDataAssetsRequest.Builder setOrderByBytes(ByteString value)

Optional. Order by expression that orders data assets listed in the response.

Supported order_by fields are: name or create_time.

If not specified, the ordering is undefined.

string order_by = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListDataAssetsRequest.Builder setPageSize(int value)

Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDataAssetsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDataAssetsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDataAssetsRequest.Builder

This builder for chaining.

setParent(String value)

public ListDataAssetsRequest.Builder setParent(String value)

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_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
ListDataAssetsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDataAssetsRequest.Builder setParentBytes(ByteString value)

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_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
ListDataAssetsRequest.Builder

This builder for chaining.