Class ListTagHoldsResponse.Builder (1.42.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.TagHold>
Returns
TypeDescription
ListTagHoldsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTagHoldsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTagHold
Returns
TypeDescription
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
NameDescription
builderForValueTagHold.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTagHold
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagHold.Builder
Returns
TypeDescription
ListTagHoldsResponse.Builder

addTagHoldsBuilder()

public TagHold.Builder addTagHoldsBuilder()

A possibly paginated list of TagHolds.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TagHold.Builder

build()

public ListTagHoldsResponse build()
Returns
TypeDescription
ListTagHoldsResponse

buildPartial()

public ListTagHoldsResponse buildPartial()
Returns
TypeDescription
ListTagHoldsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagHolds()

public ListTagHoldsResponse.Builder clearTagHolds()

A possibly paginated list of TagHolds.

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

Returns
TypeDescription
ListTagHoldsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTagHoldsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTagHoldsResponse

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.

getTagHolds(int index)

public TagHold getTagHolds(int index)

A possibly paginated list of TagHolds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TagHold.Builder

getTagHoldsBuilderList()

public List<TagHold.Builder> getTagHoldsBuilderList()

A possibly paginated list of TagHolds.

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

Returns
TypeDescription
List<Builder>

getTagHoldsCount()

public int getTagHoldsCount()

A possibly paginated list of TagHolds.

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

Returns
TypeDescription
int

getTagHoldsList()

public List<TagHold> getTagHoldsList()

A possibly paginated list of TagHolds.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TagHoldOrBuilder

getTagHoldsOrBuilderList()

public List<? extends TagHoldOrBuilder> getTagHoldsOrBuilderList()

A possibly paginated list of TagHolds.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagHoldsResponse other)

public ListTagHoldsResponse.Builder mergeFrom(ListTagHoldsResponse other)
Parameter
NameDescription
otherListTagHoldsResponse
Returns
TypeDescription
ListTagHoldsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTagHold
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTagHold.Builder
Returns
TypeDescription
ListTagHoldsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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