Class ListTagHoldsResponse.Builder (1.44.0)

public static final class ListTagHoldsResponse.Builder extends GeneratedMessageV3.Builder<ListTagHoldsResponse.Builder> implements ListTagHoldsResponseOrBuilder

The ListTagHolds response.

Protobuf type google.cloud.resourcemanager.v3.ListTagHoldsResponse

Static Methods

getDescriptor()

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

Methods

addAllTagHolds(Iterable<? extends TagHold> values)

public ListTagHoldsResponse.Builder addAllTagHolds(Iterable<? extends TagHold> values)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTagHolds(TagHold value)

public ListTagHoldsResponse.Builder addTagHolds(TagHold value)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
value TagHold
Returns
Type Description
ListTagHoldsResponse.Builder

addTagHolds(TagHold.Builder builderForValue)

public ListTagHoldsResponse.Builder addTagHolds(TagHold.Builder builderForValue)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
builderForValue TagHold.Builder
Returns
Type Description
ListTagHoldsResponse.Builder

addTagHolds(int index, TagHold value)

public ListTagHoldsResponse.Builder addTagHolds(int index, TagHold value)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameters
Name Description
index int
value TagHold
Returns
Type Description
ListTagHoldsResponse.Builder

addTagHolds(int index, TagHold.Builder builderForValue)

public ListTagHoldsResponse.Builder addTagHolds(int index, TagHold.Builder builderForValue)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameters
Name Description
index int
builderForValue TagHold.Builder
Returns
Type Description
ListTagHoldsResponse.Builder

addTagHoldsBuilder()

public TagHold.Builder addTagHoldsBuilder()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Returns
Type Description
TagHold.Builder

addTagHoldsBuilder(int index)

public TagHold.Builder addTagHoldsBuilder(int index)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
index int
Returns
Type Description
TagHold.Builder

build()

public ListTagHoldsResponse build()
Returns
Type Description
ListTagHoldsResponse

buildPartial()

public ListTagHoldsResponse buildPartial()
Returns
Type Description
ListTagHoldsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagHolds()

public ListTagHoldsResponse.Builder clearTagHolds()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Returns
Type Description
ListTagHoldsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagHoldsResponse getDefaultInstanceForType()
Returns
Type Description
ListTagHoldsResponse

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.

getTagHolds(int index)

public TagHold getTagHolds(int index)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
index int
Returns
Type Description
TagHold

getTagHoldsBuilder(int index)

public TagHold.Builder getTagHoldsBuilder(int index)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
index int
Returns
Type Description
TagHold.Builder

getTagHoldsBuilderList()

public List<TagHold.Builder> getTagHoldsBuilderList()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Returns
Type Description
List<Builder>

getTagHoldsCount()

public int getTagHoldsCount()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Returns
Type Description
int

getTagHoldsList()

public List<TagHold> getTagHoldsList()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Returns
Type Description
List<TagHold>

getTagHoldsOrBuilder(int index)

public TagHoldOrBuilder getTagHoldsOrBuilder(int index)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
index int
Returns
Type Description
TagHoldOrBuilder

getTagHoldsOrBuilderList()

public List<? extends TagHoldOrBuilder> getTagHoldsOrBuilderList()

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTagHoldsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTagHolds(int index)

public ListTagHoldsResponse.Builder removeTagHolds(int index)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTagHoldsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setTagHolds(int index, TagHold value)

public ListTagHoldsResponse.Builder setTagHolds(int index, TagHold value)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameters
Name Description
index int
value TagHold
Returns
Type Description
ListTagHoldsResponse.Builder

setTagHolds(int index, TagHold.Builder builderForValue)

public ListTagHoldsResponse.Builder setTagHolds(int index, TagHold.Builder builderForValue)

A possibly paginated list of TagHolds.

repeated .google.cloud.resourcemanager.v3.TagHold tag_holds = 1;

Parameters
Name Description
index int
builderForValue TagHold.Builder
Returns
Type Description
ListTagHoldsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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