Send feedback
Class QueuedResource.Tpu.Builder (2.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.24.0 keyboard_arrow_down
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 ()
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 >
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;
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;
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;
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;
addNodeSpecBuilder()
public QueuedResource . Tpu . NodeSpec . Builder addNodeSpecBuilder ()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
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 Name Description index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource . Tpu . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public QueuedResource . Tpu build ()
buildPartial()
public QueuedResource . Tpu buildPartial ()
clear()
public QueuedResource . Tpu . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueuedResource . Tpu . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNodeSpec()
public QueuedResource . Tpu . Builder clearNodeSpec ()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public QueuedResource . Tpu . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public QueuedResource . Tpu . Builder clone ()
Overrides
getDefaultInstanceForType()
public QueuedResource . Tpu getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 Name Description index
int
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 Name Description index
int
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;
getNodeSpecCount()
public int getNodeSpecCount ()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
Returns Type Description int
getNodeSpecList()
public List<QueuedResource . Tpu . NodeSpec > getNodeSpecList ()
The TPU node(s) being requested.
repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;
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 Name Description index
int
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(QueuedResource.Tpu other)
public QueuedResource . Tpu . Builder mergeFrom ( QueuedResource . Tpu other )
public QueuedResource . Tpu . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public QueuedResource . Tpu . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource . Tpu . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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 Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource . Tpu . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueuedResource . Tpu . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource . Tpu . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]