Class ListTensorFlowVersionsResponse.Builder (2.17.0)

public static final class ListTensorFlowVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListTensorFlowVersionsResponse.Builder> implements ListTensorFlowVersionsResponseOrBuilder

Response for ListTensorFlowVersions.

Protobuf type google.cloud.tpu.v1.ListTensorFlowVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTensorflowVersions(Iterable<? extends TensorFlowVersion> values)

public ListTensorFlowVersionsResponse.Builder addAllTensorflowVersions(Iterable<? extends TensorFlowVersion> values)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.tpu.v1.TensorFlowVersion>
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTensorFlowVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder
Overrides

addTensorflowVersions(TensorFlowVersion value)

public ListTensorFlowVersionsResponse.Builder addTensorflowVersions(TensorFlowVersion value)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
valueTensorFlowVersion
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

addTensorflowVersions(TensorFlowVersion.Builder builderForValue)

public ListTensorFlowVersionsResponse.Builder addTensorflowVersions(TensorFlowVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
builderForValueTensorFlowVersion.Builder
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

addTensorflowVersions(int index, TensorFlowVersion value)

public ListTensorFlowVersionsResponse.Builder addTensorflowVersions(int index, TensorFlowVersion value)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameters
NameDescription
indexint
valueTensorFlowVersion
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

addTensorflowVersions(int index, TensorFlowVersion.Builder builderForValue)

public ListTensorFlowVersionsResponse.Builder addTensorflowVersions(int index, TensorFlowVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameters
NameDescription
indexint
builderForValueTensorFlowVersion.Builder
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

addTensorflowVersionsBuilder()

public TensorFlowVersion.Builder addTensorflowVersionsBuilder()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
TensorFlowVersion.Builder

addTensorflowVersionsBuilder(int index)

public TensorFlowVersion.Builder addTensorflowVersionsBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TensorFlowVersion.Builder

addUnreachable(String value)

public ListTensorFlowVersionsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListTensorFlowVersionsResponse build()
Returns
TypeDescription
ListTensorFlowVersionsResponse

buildPartial()

public ListTensorFlowVersionsResponse buildPartial()
Returns
TypeDescription
ListTensorFlowVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTensorFlowVersionsResponse.Builder clearNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorflowVersions()

public ListTensorFlowVersionsResponse.Builder clearTensorflowVersions()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

clearUnreachable()

public ListTensorFlowVersionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTensorFlowVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTensorFlowVersionsResponse

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.

getTensorflowVersions(int index)

public TensorFlowVersion getTensorflowVersions(int index)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TensorFlowVersion

getTensorflowVersionsBuilder(int index)

public TensorFlowVersion.Builder getTensorflowVersionsBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TensorFlowVersion.Builder

getTensorflowVersionsBuilderList()

public List<TensorFlowVersion.Builder> getTensorflowVersionsBuilderList()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
List<Builder>

getTensorflowVersionsCount()

public int getTensorflowVersionsCount()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
int

getTensorflowVersionsList()

public List<TensorFlowVersion> getTensorflowVersionsList()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
List<TensorFlowVersion>

getTensorflowVersionsOrBuilder(int index)

public TensorFlowVersionOrBuilder getTensorflowVersionsOrBuilder(int index)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TensorFlowVersionOrBuilder

getTensorflowVersionsOrBuilderList()

public List<? extends TensorFlowVersionOrBuilder> getTensorflowVersionsOrBuilderList()

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.tpu.v1.TensorFlowVersionOrBuilder>

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

public ListTensorFlowVersionsResponse.Builder mergeFrom(ListTensorFlowVersionsResponse other)
Parameter
NameDescription
otherListTensorFlowVersionsResponse
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTensorFlowVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder
Overrides

removeTensorflowVersions(int index)

public ListTensorFlowVersionsResponse.Builder removeTensorflowVersions(int index)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTensorFlowVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListTensorFlowVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder
Overrides

setTensorflowVersions(int index, TensorFlowVersion value)

public ListTensorFlowVersionsResponse.Builder setTensorflowVersions(int index, TensorFlowVersion value)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameters
NameDescription
indexint
valueTensorFlowVersion
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

setTensorflowVersions(int index, TensorFlowVersion.Builder builderForValue)

public ListTensorFlowVersionsResponse.Builder setTensorflowVersions(int index, TensorFlowVersion.Builder builderForValue)

The listed nodes.

repeated .google.cloud.tpu.v1.TensorFlowVersion tensorflow_versions = 1;

Parameters
NameDescription
indexint
builderForValueTensorFlowVersion.Builder
Returns
TypeDescription
ListTensorFlowVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.