Class ListTensorFlowVersionsResponse.Builder (2.56.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.tpu.v1.TensorFlowVersion>
Returns
Type Description
ListTensorFlowVersionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTensorFlowVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value TensorFlowVersion
Returns
Type Description
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
Name Description
builderForValue TensorFlowVersion.Builder
Returns
Type Description
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
Name Description
index int
value TensorFlowVersion
Returns
Type Description
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
Name Description
index int
builderForValue TensorFlowVersion.Builder
Returns
Type Description
ListTensorFlowVersionsResponse.Builder

addTensorflowVersionsBuilder()

public TensorFlowVersion.Builder addTensorflowVersionsBuilder()

The listed nodes.

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

Returns
Type Description
TensorFlowVersion.Builder

addTensorflowVersionsBuilder(int index)

public TensorFlowVersion.Builder addTensorflowVersionsBuilder(int index)

The listed nodes.

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

Parameter
Name Description
index int
Returns
Type Description
TensorFlowVersion.Builder

addUnreachable(String value)

public ListTensorFlowVersionsResponse.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
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

build()

public ListTensorFlowVersionsResponse build()
Returns
Type Description
ListTensorFlowVersionsResponse

buildPartial()

public ListTensorFlowVersionsResponse buildPartial()
Returns
Type Description
ListTensorFlowVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTensorFlowVersionsResponse.Builder clearNextPageToken()

The next page token or empty if none.

string next_page_token = 2;

Returns
Type Description
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorflowVersions()

public ListTensorFlowVersionsResponse.Builder clearTensorflowVersions()

The listed nodes.

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

Returns
Type Description
ListTensorFlowVersionsResponse.Builder

clearUnreachable()

public ListTensorFlowVersionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListTensorFlowVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTensorFlowVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListTensorFlowVersionsResponse

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.

getTensorflowVersions(int index)

public TensorFlowVersion getTensorflowVersions(int index)

The listed nodes.

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

Parameter
Name Description
index int
Returns
Type Description
TensorFlowVersion

getTensorflowVersionsBuilder(int index)

public TensorFlowVersion.Builder getTensorflowVersionsBuilder(int index)

The listed nodes.

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

Parameter
Name Description
index int
Returns
Type Description
TensorFlowVersion.Builder

getTensorflowVersionsBuilderList()

public List<TensorFlowVersion.Builder> getTensorflowVersionsBuilderList()

The listed nodes.

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

Returns
Type Description
List<Builder>

getTensorflowVersionsCount()

public int getTensorflowVersionsCount()

The listed nodes.

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

Returns
Type Description
int

getTensorflowVersionsList()

public List<TensorFlowVersion> getTensorflowVersionsList()

The listed nodes.

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

Returns
Type Description
List<TensorFlowVersion>

getTensorflowVersionsOrBuilder(int index)

public TensorFlowVersionOrBuilder getTensorflowVersionsOrBuilder(int index)

The listed nodes.

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

Parameter
Name Description
index int
Returns
Type Description
TensorFlowVersionOrBuilder

getTensorflowVersionsOrBuilderList()

public List<? extends TensorFlowVersionOrBuilder> getTensorflowVersionsOrBuilderList()

The listed nodes.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTensorFlowVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListTensorFlowVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTensorFlowVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value TensorFlowVersion
Returns
Type Description
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
Name Description
index int
builderForValue TensorFlowVersion.Builder
Returns
Type Description
ListTensorFlowVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTensorFlowVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListTensorFlowVersionsResponse.Builder

This builder for chaining.