public static final class QueuedResource.Tpu.Builder extends GeneratedMessageV3.Builder<QueuedResource.Tpu.Builder> implements QueuedResource.TpuOrBuilder
Details of the TPU resource(s) being requested.
Protobuf type google.cloud.tpu.v2alpha1.QueuedResource.Tpu
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllNodeSpec(Iterable<? extends QueuedResource.Tpu.NodeSpec> values)
public QueuedResource.Tpu.Builder addAllNodeSpec(Iterable<? extends QueuedResource.Tpu.NodeSpec> values)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec>
|
Returns
addNodeSpec(QueuedResource.Tpu.NodeSpec value)
public QueuedResource.Tpu.Builder addNodeSpec(QueuedResource.Tpu.NodeSpec value)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
addNodeSpec(QueuedResource.Tpu.NodeSpec.Builder builderForValue)
public QueuedResource.Tpu.Builder addNodeSpec(QueuedResource.Tpu.NodeSpec.Builder builderForValue)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
addNodeSpec(int index, QueuedResource.Tpu.NodeSpec value)
public QueuedResource.Tpu.Builder addNodeSpec(int index, QueuedResource.Tpu.NodeSpec value)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameters
Returns
addNodeSpec(int index, QueuedResource.Tpu.NodeSpec.Builder builderForValue)
public QueuedResource.Tpu.Builder addNodeSpec(int index, QueuedResource.Tpu.NodeSpec.Builder builderForValue)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameters
Returns
addNodeSpecBuilder()
public QueuedResource.Tpu.NodeSpec.Builder addNodeSpecBuilder()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
addNodeSpecBuilder(int index)
public QueuedResource.Tpu.NodeSpec.Builder addNodeSpecBuilder(int index)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Tpu.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public QueuedResource.Tpu build()
Returns
buildPartial()
public QueuedResource.Tpu buildPartial()
Returns
clear()
public QueuedResource.Tpu.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueuedResource.Tpu.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNodeSpec()
public QueuedResource.Tpu.Builder clearNodeSpec()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public QueuedResource.Tpu.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public QueuedResource.Tpu.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public QueuedResource.Tpu getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNodeSpec(int index)
public QueuedResource.Tpu.NodeSpec getNodeSpec(int index)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
getNodeSpecBuilder(int index)
public QueuedResource.Tpu.NodeSpec.Builder getNodeSpecBuilder(int index)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
getNodeSpecBuilderList()
public List<QueuedResource.Tpu.NodeSpec.Builder> getNodeSpecBuilderList()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
getNodeSpecCount()
public int getNodeSpecCount()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
getNodeSpecList()
public List<QueuedResource.Tpu.NodeSpec> getNodeSpecList()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
getNodeSpecOrBuilder(int index)
public QueuedResource.Tpu.NodeSpecOrBuilder getNodeSpecOrBuilder(int index)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
getNodeSpecOrBuilderList()
public List<? extends QueuedResource.Tpu.NodeSpecOrBuilder> getNodeSpecOrBuilderList()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns
Type | Description |
List<? extends com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpecOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(QueuedResource.Tpu other)
public QueuedResource.Tpu.Builder mergeFrom(QueuedResource.Tpu other)
Parameter
Returns
public QueuedResource.Tpu.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueuedResource.Tpu.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Tpu.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNodeSpec(int index)
public QueuedResource.Tpu.Builder removeNodeSpec(int index)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Tpu.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNodeSpec(int index, QueuedResource.Tpu.NodeSpec value)
public QueuedResource.Tpu.Builder setNodeSpec(int index, QueuedResource.Tpu.NodeSpec value)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameters
Returns
setNodeSpec(int index, QueuedResource.Tpu.NodeSpec.Builder builderForValue)
public QueuedResource.Tpu.Builder setNodeSpec(int index, QueuedResource.Tpu.NodeSpec.Builder builderForValue)
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueuedResource.Tpu.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Tpu.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides