Class ListTagBindingsResponse.Builder (1.49.0)

public static final class ListTagBindingsResponse.Builder extends GeneratedMessageV3.Builder<ListTagBindingsResponse.Builder> implements ListTagBindingsResponseOrBuilder

The ListTagBindings response.

Protobuf type google.cloud.resourcemanager.v3.ListTagBindingsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTagBindings(Iterable<? extends TagBinding> values)

public ListTagBindingsResponse.Builder addAllTagBindings(Iterable<? extends TagBinding> values)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.resourcemanager.v3.TagBinding>
Returns
Type Description
ListTagBindingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTagBindings(TagBinding value)

public ListTagBindingsResponse.Builder addTagBindings(TagBinding value)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
value TagBinding
Returns
Type Description
ListTagBindingsResponse.Builder

addTagBindings(TagBinding.Builder builderForValue)

public ListTagBindingsResponse.Builder addTagBindings(TagBinding.Builder builderForValue)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
builderForValue TagBinding.Builder
Returns
Type Description
ListTagBindingsResponse.Builder

addTagBindings(int index, TagBinding value)

public ListTagBindingsResponse.Builder addTagBindings(int index, TagBinding value)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameters
Name Description
index int
value TagBinding
Returns
Type Description
ListTagBindingsResponse.Builder

addTagBindings(int index, TagBinding.Builder builderForValue)

public ListTagBindingsResponse.Builder addTagBindings(int index, TagBinding.Builder builderForValue)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameters
Name Description
index int
builderForValue TagBinding.Builder
Returns
Type Description
ListTagBindingsResponse.Builder

addTagBindingsBuilder()

public TagBinding.Builder addTagBindingsBuilder()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
TagBinding.Builder

addTagBindingsBuilder(int index)

public TagBinding.Builder addTagBindingsBuilder(int index)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
TagBinding.Builder

build()

public ListTagBindingsResponse build()
Returns
Type Description
ListTagBindingsResponse

buildPartial()

public ListTagBindingsResponse buildPartial()
Returns
Type Description
ListTagBindingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTagBindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTagBindingsResponse.Builder
Overrides

clearNextPageToken()

public ListTagBindingsResponse.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
ListTagBindingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagBindings()

public ListTagBindingsResponse.Builder clearTagBindings()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
ListTagBindingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListTagBindingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getTagBindings(int index)

public TagBinding getTagBindings(int index)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
TagBinding

getTagBindingsBuilder(int index)

public TagBinding.Builder getTagBindingsBuilder(int index)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
TagBinding.Builder

getTagBindingsBuilderList()

public List<TagBinding.Builder> getTagBindingsBuilderList()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
List<Builder>

getTagBindingsCount()

public int getTagBindingsCount()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
int

getTagBindingsList()

public List<TagBinding> getTagBindingsList()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
List<TagBinding>

getTagBindingsOrBuilder(int index)

public TagBindingOrBuilder getTagBindingsOrBuilder(int index)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
TagBindingOrBuilder

getTagBindingsOrBuilderList()

public List<? extends TagBindingOrBuilder> getTagBindingsOrBuilderList()

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Returns
Type Description
List<? extends com.google.cloud.resourcemanager.v3.TagBindingOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTagBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagBindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTagBindingsResponse.Builder
Overrides

removeTagBindings(int index)

public ListTagBindingsResponse.Builder removeTagBindings(int index)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTagBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTagBindingsResponse.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
ListTagBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTagBindingsResponse.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
ListTagBindingsResponse.Builder

This builder for chaining.

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

public ListTagBindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTagBindingsResponse.Builder
Overrides

setTagBindings(int index, TagBinding value)

public ListTagBindingsResponse.Builder setTagBindings(int index, TagBinding value)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameters
Name Description
index int
value TagBinding
Returns
Type Description
ListTagBindingsResponse.Builder

setTagBindings(int index, TagBinding.Builder builderForValue)

public ListTagBindingsResponse.Builder setTagBindings(int index, TagBinding.Builder builderForValue)

A possibly paginated list of TagBindings for the specified resource.

repeated .google.cloud.resourcemanager.v3.TagBinding tag_bindings = 1;

Parameters
Name Description
index int
builderForValue TagBinding.Builder
Returns
Type Description
ListTagBindingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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