Class ListEffectiveTagsResponse.Builder (1.46.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.resourcemanager.v3.EffectiveTag>
Returns
Type Description
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
Name Description
value EffectiveTag
Returns
Type Description
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
Name Description
builderForValue EffectiveTag.Builder
Returns
Type Description
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
Name Description
index int
value EffectiveTag
Returns
Type Description
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
Name Description
index int
builderForValue EffectiveTag.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
EffectiveTag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEffectiveTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListEffectiveTagsResponse.Builder
Overrides

build()

public ListEffectiveTagsResponse build()
Returns
Type Description
ListEffectiveTagsResponse

buildPartial()

public ListEffectiveTagsResponse buildPartial()
Returns
Type Description
ListEffectiveTagsResponse

clear()

public ListEffectiveTagsResponse.Builder clear()
Returns
Type Description
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
Type Description
ListEffectiveTagsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEffectiveTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListEffectiveTagsResponse.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ListEffectiveTagsResponse getDefaultInstanceForType()
Returns
Type Description
ListEffectiveTagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEffectiveTagsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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