Class ListRuntimeVersionsResponse.Builder (2.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.tpu.v2alpha1.RuntimeVersion>
Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRuntimeVersionsBuilder()

public RuntimeVersion.Builder addRuntimeVersionsBuilder()

The listed nodes.

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

Returns
TypeDescription
RuntimeVersion.Builder

addRuntimeVersionsBuilder(int index)

public RuntimeVersion.Builder addRuntimeVersionsBuilder(int index)

The listed nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RuntimeVersion.Builder

addUnreachable(String value)

public ListRuntimeVersionsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

This builder for chaining.

build()

public ListRuntimeVersionsResponse build()
Returns
TypeDescription
ListRuntimeVersionsResponse

buildPartial()

public ListRuntimeVersionsResponse buildPartial()
Returns
TypeDescription
ListRuntimeVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListRuntimeVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListRuntimeVersionsResponse.Builder
Overrides

clearNextPageToken()

public ListRuntimeVersionsResponse.Builder clearNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimeVersions()

public ListRuntimeVersionsResponse.Builder clearRuntimeVersions()

The listed nodes.

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

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

clearUnreachable()

public ListRuntimeVersionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRuntimeVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRuntimeVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next page token or empty if none.

string next_page_token = 2;

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

getRuntimeVersionsBuilder(int index)

public RuntimeVersion.Builder getRuntimeVersionsBuilder(int index)

The listed nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RuntimeVersion.Builder

getRuntimeVersionsBuilderList()

public List<RuntimeVersion.Builder> getRuntimeVersionsBuilderList()

The listed nodes.

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

Returns
TypeDescription
List<Builder>

getRuntimeVersionsCount()

public int getRuntimeVersionsCount()

The listed nodes.

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

Returns
TypeDescription
int

getRuntimeVersionsList()

public List<RuntimeVersion> getRuntimeVersionsList()

The listed nodes.

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

Returns
TypeDescription
List<RuntimeVersion>

getRuntimeVersionsOrBuilder(int index)

public RuntimeVersionOrBuilder getRuntimeVersionsOrBuilder(int index)

The listed nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RuntimeVersionOrBuilder

getRuntimeVersionsOrBuilderList()

public List<? extends RuntimeVersionOrBuilder> getRuntimeVersionsOrBuilderList()

The listed nodes.

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

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRuntimeVersionsResponse other)

public ListRuntimeVersionsResponse.Builder mergeFrom(ListRuntimeVersionsResponse other)
Parameter
NameDescription
otherListRuntimeVersionsResponse
Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRuntimeVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRuntimeVersion.Builder
Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListRuntimeVersionsResponse.Builder

This builder for chaining.