Class ListTagsRequest.Builder

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

Request message for ListTags.

Protobuf type google.cloud.datacatalog.v1beta1.ListTagsRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTagsRequest build()
Returns
TypeDescription
ListTagsRequest

buildPartial()

public ListTagsRequest buildPartial()
Returns
TypeDescription
ListTagsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListTagsRequest.Builder clearPageSize()

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

int32 page_size = 2;

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTagsRequest.Builder clearPageToken()

Token that specifies which page is requested. If empty, the first page is returned.

string page_token = 3;

Returns
TypeDescription
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 could be an Entry or an EntryGroup. Examples:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

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

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTagsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTagsRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

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

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Token that specifies which page is requested. If empty, the first page is returned.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token that specifies which page is requested. If empty, the first page is returned.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

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

public ListTagsRequest.Builder mergeFrom(ListTagsRequest other)
Parameter
NameDescription
otherListTagsRequest
Returns
TypeDescription
ListTagsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListTagsRequest.Builder setPageSize(int value)

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

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTagsRequest.Builder setPageToken(String value)

Token that specifies which page is requested. If empty, the first page is returned.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTagsRequest.Builder setPageTokenBytes(ByteString value)

Token that specifies which page is requested. If empty, the first page is returned.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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 could be an Entry or an EntryGroup. Examples:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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 could be an Entry or an EntryGroup. Examples:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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