Class ListTagKeysResponse.Builder (1.4.0)

public static final class ListTagKeysResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.TagKey>
Returns
TypeDescription
ListTagKeysResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueTagKey
Returns
TypeDescription
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
NameDescription
builderForValueTagKey.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTagKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagKey.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TagKey.Builder

build()

public ListTagKeysResponse build()
Returns
TypeDescription
ListTagKeysResponse

buildPartial()

public ListTagKeysResponse buildPartial()
Returns
TypeDescription
ListTagKeysResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTagKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTagKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
ListTagKeysResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTagKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.TagKeyOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagKeysResponse other)

public ListTagKeysResponse.Builder mergeFrom(ListTagKeysResponse other)
Parameter
NameDescription
otherListTagKeysResponse
Returns
TypeDescription
ListTagKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListTagKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTagKeysResponse.Builder

This builder for chaining.

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

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

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
NameDescription
indexint
valueTagKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagKey.Builder
Returns
TypeDescription
ListTagKeysResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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