Class ListTagValuesResponse.Builder (1.48.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.resourcemanager.v3.TagValue>
Returns
Type Description
ListTagValuesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTagValuesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value TagValue
Returns
Type Description
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
Name Description
builderForValue TagValue.Builder
Returns
Type Description
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
Name Description
index int
value TagValue
Returns
Type Description
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
Name Description
index int
builderForValue TagValue.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
TagValue.Builder

build()

public ListTagValuesResponse build()
Returns
Type Description
ListTagValuesResponse

buildPartial()

public ListTagValuesResponse buildPartial()
Returns
Type Description
ListTagValuesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTagValuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListTagValuesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTagValuesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ListTagValuesResponse.Builder

clone()

public ListTagValuesResponse.Builder clone()
Returns
Type Description
ListTagValuesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTagValuesResponse getDefaultInstanceForType()
Returns
Type Description
ListTagValuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.resourcemanager.v3.TagValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTagValuesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagValuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListTagValuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTagValuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value TagValue
Returns
Type Description
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
Name Description
index int
builderForValue TagValue.Builder
Returns
Type Description
ListTagValuesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTagValuesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTagValuesResponse.Builder
Overrides