Class ListQueuedResourcesResponse.Builder (2.46.0)

public static final class ListQueuedResourcesResponse.Builder extends GeneratedMessageV3.Builder<ListQueuedResourcesResponse.Builder> implements ListQueuedResourcesResponseOrBuilder

Response for ListQueuedResources.

Protobuf type google.cloud.tpu.v2alpha1.ListQueuedResourcesResponse

Static Methods

getDescriptor()

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

Methods

addAllQueuedResources(Iterable<? extends QueuedResource> values)

public ListQueuedResourcesResponse.Builder addAllQueuedResources(Iterable<? extends QueuedResource> values)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v2alpha1.QueuedResource>
Returns
Type Description
ListQueuedResourcesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListQueuedResourcesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

addQueuedResources(QueuedResource value)

public ListQueuedResourcesResponse.Builder addQueuedResources(QueuedResource value)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
value QueuedResource
Returns
Type Description
ListQueuedResourcesResponse.Builder

addQueuedResources(QueuedResource.Builder builderForValue)

public ListQueuedResourcesResponse.Builder addQueuedResources(QueuedResource.Builder builderForValue)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
builderForValue QueuedResource.Builder
Returns
Type Description
ListQueuedResourcesResponse.Builder

addQueuedResources(int index, QueuedResource value)

public ListQueuedResourcesResponse.Builder addQueuedResources(int index, QueuedResource value)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameters
Name Description
index int
value QueuedResource
Returns
Type Description
ListQueuedResourcesResponse.Builder

addQueuedResources(int index, QueuedResource.Builder builderForValue)

public ListQueuedResourcesResponse.Builder addQueuedResources(int index, QueuedResource.Builder builderForValue)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameters
Name Description
index int
builderForValue QueuedResource.Builder
Returns
Type Description
ListQueuedResourcesResponse.Builder

addQueuedResourcesBuilder()

public QueuedResource.Builder addQueuedResourcesBuilder()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
QueuedResource.Builder

addQueuedResourcesBuilder(int index)

public QueuedResource.Builder addQueuedResourcesBuilder(int index)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListQueuedResourcesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListQueuedResourcesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

build()

public ListQueuedResourcesResponse build()
Returns
Type Description
ListQueuedResourcesResponse

buildPartial()

public ListQueuedResourcesResponse buildPartial()
Returns
Type Description
ListQueuedResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListQueuedResourcesResponse.Builder clearNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQueuedResources()

public ListQueuedResourcesResponse.Builder clearQueuedResources()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
ListQueuedResourcesResponse.Builder

clearUnreachable()

public ListQueuedResourcesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListQueuedResourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListQueuedResourcesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next page token or empty if none.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getQueuedResources(int index)

public QueuedResource getQueuedResources(int index)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResource

getQueuedResourcesBuilder(int index)

public QueuedResource.Builder getQueuedResourcesBuilder(int index)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResource.Builder

getQueuedResourcesBuilderList()

public List<QueuedResource.Builder> getQueuedResourcesBuilderList()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
List<Builder>

getQueuedResourcesCount()

public int getQueuedResourcesCount()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
int

getQueuedResourcesList()

public List<QueuedResource> getQueuedResourcesList()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
List<QueuedResource>

getQueuedResourcesOrBuilder(int index)

public QueuedResourceOrBuilder getQueuedResourcesOrBuilder(int index)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResourceOrBuilder

getQueuedResourcesOrBuilderList()

public List<? extends QueuedResourceOrBuilder> getQueuedResourcesOrBuilderList()

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Returns
Type Description
List<? extends com.google.cloud.tpu.v2alpha1.QueuedResourceOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListQueuedResourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeQueuedResources(int index)

public ListQueuedResourcesResponse.Builder removeQueuedResources(int index)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListQueuedResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListQueuedResourcesResponse.Builder setNextPageToken(String value)

The next page token or empty if none.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListQueuedResourcesResponse.Builder setNextPageTokenBytes(ByteString value)

The next page token or empty if none.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.

setQueuedResources(int index, QueuedResource value)

public ListQueuedResourcesResponse.Builder setQueuedResources(int index, QueuedResource value)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameters
Name Description
index int
value QueuedResource
Returns
Type Description
ListQueuedResourcesResponse.Builder

setQueuedResources(int index, QueuedResource.Builder builderForValue)

public ListQueuedResourcesResponse.Builder setQueuedResources(int index, QueuedResource.Builder builderForValue)

The listed queued resources.

repeated .google.cloud.tpu.v2alpha1.QueuedResource queued_resources = 1;

Parameters
Name Description
index int
builderForValue QueuedResource.Builder
Returns
Type Description
ListQueuedResourcesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListQueuedResourcesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListQueuedResourcesResponse.Builder

This builder for chaining.