Class ListTagKeysResponse.Builder (1.85.0)

public static final class ListTagKeysResponse.Builder extends GeneratedMessage.Builder<ListTagKeysResponse.Builder> implements ListTagKeysResponseOrBuilder

The ListTagKeys response message.

Protobuf type google.cloud.resourcemanager.v3.ListTagKeysResponse

Static Methods

getDescriptor()

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

Methods

addAllTagKeys(Iterable<? extends TagKey> values)

public ListTagKeysResponse.Builder addAllTagKeys(Iterable<? extends TagKey> values)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.resourcemanager.v3.TagKey>
Returns
Type Description
ListTagKeysResponse.Builder

addTagKeys(TagKey value)

public ListTagKeysResponse.Builder addTagKeys(TagKey value)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
value TagKey
Returns
Type Description
ListTagKeysResponse.Builder

addTagKeys(TagKey.Builder builderForValue)

public ListTagKeysResponse.Builder addTagKeys(TagKey.Builder builderForValue)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
builderForValue TagKey.Builder
Returns
Type Description
ListTagKeysResponse.Builder

addTagKeys(int index, TagKey value)

public ListTagKeysResponse.Builder addTagKeys(int index, TagKey value)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameters
Name Description
index int
value TagKey
Returns
Type Description
ListTagKeysResponse.Builder

addTagKeys(int index, TagKey.Builder builderForValue)

public ListTagKeysResponse.Builder addTagKeys(int index, TagKey.Builder builderForValue)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameters
Name Description
index int
builderForValue TagKey.Builder
Returns
Type Description
ListTagKeysResponse.Builder

addTagKeysBuilder()

public TagKey.Builder addTagKeysBuilder()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
TagKey.Builder

addTagKeysBuilder(int index)

public TagKey.Builder addTagKeysBuilder(int index)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
TagKey.Builder

build()

public ListTagKeysResponse build()
Returns
Type Description
ListTagKeysResponse

buildPartial()

public ListTagKeysResponse buildPartial()
Returns
Type Description
ListTagKeysResponse

clear()

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

clearNextPageToken()

public ListTagKeysResponse.Builder clearNextPageToken()

A pagination token returned from a previous call to ListTagKeys that indicates from where listing should continue.

string next_page_token = 2;

Returns
Type Description
ListTagKeysResponse.Builder

This builder for chaining.

clearTagKeys()

public ListTagKeysResponse.Builder clearTagKeys()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
ListTagKeysResponse.Builder

getDefaultInstanceForType()

public ListTagKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListTagKeysResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A pagination token returned from a previous call to ListTagKeys that indicates from where listing should continue.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token returned from a previous call to ListTagKeys that indicates from where listing should continue.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTagKeys(int index)

public TagKey getTagKeys(int index)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
TagKey

getTagKeysBuilder(int index)

public TagKey.Builder getTagKeysBuilder(int index)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
TagKey.Builder

getTagKeysBuilderList()

public List<TagKey.Builder> getTagKeysBuilderList()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
List<Builder>

getTagKeysCount()

public int getTagKeysCount()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
int

getTagKeysList()

public List<TagKey> getTagKeysList()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
List<TagKey>

getTagKeysOrBuilder(int index)

public TagKeyOrBuilder getTagKeysOrBuilder(int index)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
TagKeyOrBuilder

getTagKeysOrBuilderList()

public List<? extends TagKeyOrBuilder> getTagKeysOrBuilderList()

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Returns
Type Description
List<? extends com.google.cloud.resourcemanager.v3.TagKeyOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTagKeysResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeTagKeys(int index)

public ListTagKeysResponse.Builder removeTagKeys(int index)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTagKeysResponse.Builder

setNextPageToken(String value)

public ListTagKeysResponse.Builder setNextPageToken(String value)

A pagination token returned from a previous call to ListTagKeys that indicates from where listing should continue.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTagKeysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTagKeysResponse.Builder setNextPageTokenBytes(ByteString value)

A pagination token returned from a previous call to ListTagKeys that indicates from where listing should continue.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTagKeysResponse.Builder

This builder for chaining.

setTagKeys(int index, TagKey value)

public ListTagKeysResponse.Builder setTagKeys(int index, TagKey value)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameters
Name Description
index int
value TagKey
Returns
Type Description
ListTagKeysResponse.Builder

setTagKeys(int index, TagKey.Builder builderForValue)

public ListTagKeysResponse.Builder setTagKeys(int index, TagKey.Builder builderForValue)

List of TagKeys that live under the specified parent in the request.

repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;

Parameters
Name Description
index int
builderForValue TagKey.Builder
Returns
Type Description
ListTagKeysResponse.Builder