Class ListTagBindingsResponse.Builder (1.25.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.TagBinding>
Returns
TypeDescription
ListTagBindingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTagBindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTagBinding
Returns
TypeDescription
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
NameDescription
builderForValueTagBinding.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTagBinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagBinding.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TagBinding.Builder

build()

public ListTagBindingsResponse build()
Returns
TypeDescription
ListTagBindingsResponse

buildPartial()

public ListTagBindingsResponse buildPartial()
Returns
TypeDescription
ListTagBindingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTagBindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTagBindingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTagBindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListTagBindingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagBindingsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTagBindingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.TagBindingOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagBindingsResponse other)

public ListTagBindingsResponse.Builder mergeFrom(ListTagBindingsResponse other)
Parameter
NameDescription
otherListTagBindingsResponse
Returns
TypeDescription
ListTagBindingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagBindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListTagBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTagBindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTagBinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagBinding.Builder
Returns
TypeDescription
ListTagBindingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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