Class ListEffectiveTagsResponse.Builder (1.43.0)

public static final class ListEffectiveTagsResponse.Builder extends GeneratedMessageV3.Builder<ListEffectiveTagsResponse.Builder> implements ListEffectiveTagsResponseOrBuilder

The response of ListEffectiveTags.

Protobuf type google.cloud.resourcemanager.v3.ListEffectiveTagsResponse

Static Methods

getDescriptor()

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

Methods

addAllEffectiveTags(Iterable<? extends EffectiveTag> values)

public ListEffectiveTagsResponse.Builder addAllEffectiveTags(Iterable<? extends EffectiveTag> values)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

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

addEffectiveTags(EffectiveTag value)

public ListEffectiveTagsResponse.Builder addEffectiveTags(EffectiveTag value)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
valueEffectiveTag
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

addEffectiveTags(EffectiveTag.Builder builderForValue)

public ListEffectiveTagsResponse.Builder addEffectiveTags(EffectiveTag.Builder builderForValue)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
builderForValueEffectiveTag.Builder
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

addEffectiveTags(int index, EffectiveTag value)

public ListEffectiveTagsResponse.Builder addEffectiveTags(int index, EffectiveTag value)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameters
NameDescription
indexint
valueEffectiveTag
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

addEffectiveTags(int index, EffectiveTag.Builder builderForValue)

public ListEffectiveTagsResponse.Builder addEffectiveTags(int index, EffectiveTag.Builder builderForValue)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameters
NameDescription
indexint
builderForValueEffectiveTag.Builder
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

addEffectiveTagsBuilder()

public EffectiveTag.Builder addEffectiveTagsBuilder()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Returns
TypeDescription
EffectiveTag.Builder

addEffectiveTagsBuilder(int index)

public EffectiveTag.Builder addEffectiveTagsBuilder(int index)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEffectiveTagsResponse build()
Returns
TypeDescription
ListEffectiveTagsResponse

buildPartial()

public ListEffectiveTagsResponse buildPartial()
Returns
TypeDescription
ListEffectiveTagsResponse

clear()

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

clearEffectiveTags()

public ListEffectiveTagsResponse.Builder clearEffectiveTags()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Returns
TypeDescription
ListEffectiveTagsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEffectiveTagsResponse.Builder clearNextPageToken()

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

string next_page_token = 2;

Returns
TypeDescription
ListEffectiveTagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEffectiveTagsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEffectiveTagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEffectiveTags(int index)

public EffectiveTag getEffectiveTags(int index)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTag

getEffectiveTagsBuilder(int index)

public EffectiveTag.Builder getEffectiveTagsBuilder(int index)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTag.Builder

getEffectiveTagsBuilderList()

public List<EffectiveTag.Builder> getEffectiveTagsBuilderList()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Returns
TypeDescription
List<Builder>

getEffectiveTagsCount()

public int getEffectiveTagsCount()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Returns
TypeDescription
int

getEffectiveTagsList()

public List<EffectiveTag> getEffectiveTagsList()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Returns
TypeDescription
List<EffectiveTag>

getEffectiveTagsOrBuilder(int index)

public EffectiveTagOrBuilder getEffectiveTagsOrBuilder(int index)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTagOrBuilder

getEffectiveTagsOrBuilderList()

public List<? extends EffectiveTagOrBuilder> getEffectiveTagsOrBuilderList()

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

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

getNextPageToken()

public String getNextPageToken()

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEffectiveTagsResponse other)

public ListEffectiveTagsResponse.Builder mergeFrom(ListEffectiveTagsResponse other)
Parameter
NameDescription
otherListEffectiveTagsResponse
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEffectiveTags(int index)

public ListEffectiveTagsResponse.Builder removeEffectiveTags(int index)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

setEffectiveTags(int index, EffectiveTag value)

public ListEffectiveTagsResponse.Builder setEffectiveTags(int index, EffectiveTag value)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameters
NameDescription
indexint
valueEffectiveTag
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

setEffectiveTags(int index, EffectiveTag.Builder builderForValue)

public ListEffectiveTagsResponse.Builder setEffectiveTags(int index, EffectiveTag.Builder builderForValue)

A possibly paginated list of effective tags for the specified resource.

repeated .google.cloud.resourcemanager.v3.EffectiveTag effective_tags = 1;

Parameters
NameDescription
indexint
builderForValueEffectiveTag.Builder
Returns
TypeDescription
ListEffectiveTagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEffectiveTagsResponse.Builder setNextPageToken(String value)

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListEffectiveTagsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEffectiveTagsResponse.Builder setNextPageTokenBytes(ByteString value)

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListEffectiveTagsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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