Class ListTagValuesResponse.Builder (1.38.0)

public static final class ListTagValuesResponse.Builder extends GeneratedMessageV3.Builder<ListTagValuesResponse.Builder> implements ListTagValuesResponseOrBuilder

The ListTagValues response.

Protobuf type google.cloud.resourcemanager.v3.ListTagValuesResponse

Static Methods

getDescriptor()

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

Methods

addAllTagValues(Iterable<? extends TagValue> values)

public ListTagValuesResponse.Builder addAllTagValues(Iterable<? extends TagValue> values)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.TagValue>
Returns
TypeDescription
ListTagValuesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTagValues(TagValue value)

public ListTagValuesResponse.Builder addTagValues(TagValue value)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
valueTagValue
Returns
TypeDescription
ListTagValuesResponse.Builder

addTagValues(TagValue.Builder builderForValue)

public ListTagValuesResponse.Builder addTagValues(TagValue.Builder builderForValue)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
builderForValueTagValue.Builder
Returns
TypeDescription
ListTagValuesResponse.Builder

addTagValues(int index, TagValue value)

public ListTagValuesResponse.Builder addTagValues(int index, TagValue value)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameters
NameDescription
indexint
valueTagValue
Returns
TypeDescription
ListTagValuesResponse.Builder

addTagValues(int index, TagValue.Builder builderForValue)

public ListTagValuesResponse.Builder addTagValues(int index, TagValue.Builder builderForValue)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameters
NameDescription
indexint
builderForValueTagValue.Builder
Returns
TypeDescription
ListTagValuesResponse.Builder

addTagValuesBuilder()

public TagValue.Builder addTagValuesBuilder()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
TagValue.Builder

addTagValuesBuilder(int index)

public TagValue.Builder addTagValuesBuilder(int index)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagValue.Builder

build()

public ListTagValuesResponse build()
Returns
TypeDescription
ListTagValuesResponse

buildPartial()

public ListTagValuesResponse buildPartial()
Returns
TypeDescription
ListTagValuesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTagValuesResponse.Builder clearNextPageToken()

A pagination token returned from a previous call to ListTagValues that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Returns
TypeDescription
ListTagValuesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagValues()

public ListTagValuesResponse.Builder clearTagValues()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
ListTagValuesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagValuesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTagValuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A pagination token returned from a previous call to ListTagValues that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token returned from a previous call to ListTagValues that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTagValues(int index)

public TagValue getTagValues(int index)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagValue

getTagValuesBuilder(int index)

public TagValue.Builder getTagValuesBuilder(int index)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagValue.Builder

getTagValuesBuilderList()

public List<TagValue.Builder> getTagValuesBuilderList()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
List<Builder>

getTagValuesCount()

public int getTagValuesCount()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
int

getTagValuesList()

public List<TagValue> getTagValuesList()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
List<TagValue>

getTagValuesOrBuilder(int index)

public TagValueOrBuilder getTagValuesOrBuilder(int index)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagValueOrBuilder

getTagValuesOrBuilderList()

public List<? extends TagValueOrBuilder> getTagValuesOrBuilderList()

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Returns
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.TagValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagValuesResponse other)

public ListTagValuesResponse.Builder mergeFrom(ListTagValuesResponse other)
Parameter
NameDescription
otherListTagValuesResponse
Returns
TypeDescription
ListTagValuesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTagValues(int index)

public ListTagValuesResponse.Builder removeTagValues(int index)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTagValuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTagValuesResponse.Builder setNextPageToken(String value)

A pagination token returned from a previous call to ListTagValues that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTagValuesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTagValuesResponse.Builder setNextPageTokenBytes(ByteString value)

A pagination token returned from a previous call to ListTagValues that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTagValuesResponse.Builder

This builder for chaining.

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

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

setTagValues(int index, TagValue value)

public ListTagValuesResponse.Builder setTagValues(int index, TagValue value)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameters
NameDescription
indexint
valueTagValue
Returns
TypeDescription
ListTagValuesResponse.Builder

setTagValues(int index, TagValue.Builder builderForValue)

public ListTagValuesResponse.Builder setTagValues(int index, TagValue.Builder builderForValue)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

repeated .google.cloud.resourcemanager.v3.TagValue tag_values = 1;

Parameters
NameDescription
indexint
builderForValueTagValue.Builder
Returns
TypeDescription
ListTagValuesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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