Class ListRuntimeVersionsResponse.Builder (2.45.0)

public static final class ListRuntimeVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListRuntimeVersionsResponse.Builder> implements ListRuntimeVersionsResponseOrBuilder

Response for ListRuntimeVersions.

Protobuf type google.cloud.tpu.v2alpha1.ListRuntimeVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllRuntimeVersions(Iterable<? extends RuntimeVersion> values)

public ListRuntimeVersionsResponse.Builder addAllRuntimeVersions(Iterable<? extends RuntimeVersion> values)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRuntimeVersions(RuntimeVersion value)

public ListRuntimeVersionsResponse.Builder addRuntimeVersions(RuntimeVersion value)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
value RuntimeVersion
Returns
Type Description
ListRuntimeVersionsResponse.Builder

addRuntimeVersions(RuntimeVersion.Builder builderForValue)

public ListRuntimeVersionsResponse.Builder addRuntimeVersions(RuntimeVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
builderForValue RuntimeVersion.Builder
Returns
Type Description
ListRuntimeVersionsResponse.Builder

addRuntimeVersions(int index, RuntimeVersion value)

public ListRuntimeVersionsResponse.Builder addRuntimeVersions(int index, RuntimeVersion value)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameters
Name Description
index int
value RuntimeVersion
Returns
Type Description
ListRuntimeVersionsResponse.Builder

addRuntimeVersions(int index, RuntimeVersion.Builder builderForValue)

public ListRuntimeVersionsResponse.Builder addRuntimeVersions(int index, RuntimeVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameters
Name Description
index int
builderForValue RuntimeVersion.Builder
Returns
Type Description
ListRuntimeVersionsResponse.Builder

addRuntimeVersionsBuilder()

public RuntimeVersion.Builder addRuntimeVersionsBuilder()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Returns
Type Description
RuntimeVersion.Builder

addRuntimeVersionsBuilder(int index)

public RuntimeVersion.Builder addRuntimeVersionsBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeVersion.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListRuntimeVersionsResponse build()
Returns
Type Description
ListRuntimeVersionsResponse

buildPartial()

public ListRuntimeVersionsResponse buildPartial()
Returns
Type Description
ListRuntimeVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRuntimeVersionsResponse.Builder clearNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
Type Description
ListRuntimeVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimeVersions()

public ListRuntimeVersionsResponse.Builder clearRuntimeVersions()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Returns
Type Description
ListRuntimeVersionsResponse.Builder

clearUnreachable()

public ListRuntimeVersionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRuntimeVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRuntimeVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListRuntimeVersionsResponse

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.

getRuntimeVersions(int index)

public RuntimeVersion getRuntimeVersions(int index)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeVersion

getRuntimeVersionsBuilder(int index)

public RuntimeVersion.Builder getRuntimeVersionsBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeVersion.Builder

getRuntimeVersionsBuilderList()

public List<RuntimeVersion.Builder> getRuntimeVersionsBuilderList()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Returns
Type Description
List<Builder>

getRuntimeVersionsCount()

public int getRuntimeVersionsCount()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Returns
Type Description
int

getRuntimeVersionsList()

public List<RuntimeVersion> getRuntimeVersionsList()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Returns
Type Description
List<RuntimeVersion>

getRuntimeVersionsOrBuilder(int index)

public RuntimeVersionOrBuilder getRuntimeVersionsOrBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeVersionOrBuilder

getRuntimeVersionsOrBuilderList()

public List<? extends RuntimeVersionOrBuilder> getRuntimeVersionsOrBuilderList()

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

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

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(ListRuntimeVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRuntimeVersions(int index)

public ListRuntimeVersionsResponse.Builder removeRuntimeVersions(int index)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRuntimeVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setRuntimeVersions(int index, RuntimeVersion value)

public ListRuntimeVersionsResponse.Builder setRuntimeVersions(int index, RuntimeVersion value)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameters
Name Description
index int
value RuntimeVersion
Returns
Type Description
ListRuntimeVersionsResponse.Builder

setRuntimeVersions(int index, RuntimeVersion.Builder builderForValue)

public ListRuntimeVersionsResponse.Builder setRuntimeVersions(int index, RuntimeVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v2alpha1.RuntimeVersion runtime_versions = 1;

Parameters
Name Description
index int
builderForValue RuntimeVersion.Builder
Returns
Type Description
ListRuntimeVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.