Class ListTagsRequest.Builder (1.94.0)

public static final class ListTagsRequest.Builder extends GeneratedMessage.Builder<ListTagsRequest.Builder> implements ListTagsRequestOrBuilder

Request message for ListTags.

Protobuf type google.cloud.datacatalog.v1.ListTagsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListTagsRequest build()
Returns
Type Description
ListTagsRequest

buildPartial()

public ListTagsRequest buildPartial()
Returns
Type Description
ListTagsRequest

clear()

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

clearPageSize()

public ListTagsRequest.Builder clearPageSize()

The maximum number of tags to return. Default is 10. Maximum limit is 1000.

int32 page_size = 2;

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTagsRequest.Builder clearPageToken()

Pagination token that specifies the next page to return. If empty, the first page is returned.

string page_token = 3;

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

clearParent()

public ListTagsRequest.Builder clearParent()

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an Entry or an EntryGroup (without /entries/{entries} at the end).

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

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListTagsRequest getDefaultInstanceForType()
Returns
Type Description
ListTagsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of tags to return. Default is 10. Maximum limit is 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Pagination token that specifies the next page to return. If empty, the first page is returned.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Pagination token that specifies the next page to return. If empty, the first page is returned.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an Entry or an EntryGroup (without /entries/{entries} at the end).

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an Entry or an EntryGroup (without /entries/{entries} at the end).

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(ListTagsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListTagsRequest.Builder setPageSize(int value)

The maximum number of tags to return. Default is 10. Maximum limit is 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTagsRequest.Builder setPageToken(String value)

Pagination token that specifies the next page to return. If empty, the first page is returned.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTagsRequest.Builder setPageTokenBytes(ByteString value)

Pagination token that specifies the next page to return. If empty, the first page is returned.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTagsRequest.Builder setParent(String value)

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an Entry or an EntryGroup (without /entries/{entries} at the end).

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTagsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTagsRequest.Builder setParentBytes(ByteString value)

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an Entry or an EntryGroup (without /entries/{entries} at the end).

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
ListTagsRequest.Builder

This builder for chaining.