Package com.google.cloud.tpu.v2
Class Node.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
- com.google.cloud.tpu.v2.Node.Builder
-
- All Implemented Interfaces:
NodeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Node
public static final class Node.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder
A TPU instance.
Protobuf typegoogle.cloud.tpu.v2.Node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Node.BuilderaddAllDataDisks(Iterable<? extends AttachedDisk> values)The additional data disks for the Node.Node.BuilderaddAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)Output only.Node.BuilderaddAllSymptoms(Iterable<? extends Symptom> values)Output only.Node.BuilderaddAllTags(Iterable<String> values)Tags to apply to the TPU Node.Node.BuilderaddDataDisks(int index, AttachedDisk value)The additional data disks for the Node.Node.BuilderaddDataDisks(int index, AttachedDisk.Builder builderForValue)The additional data disks for the Node.Node.BuilderaddDataDisks(AttachedDisk value)The additional data disks for the Node.Node.BuilderaddDataDisks(AttachedDisk.Builder builderForValue)The additional data disks for the Node.AttachedDisk.BuilderaddDataDisksBuilder()The additional data disks for the Node.AttachedDisk.BuilderaddDataDisksBuilder(int index)The additional data disks for the Node.Node.BuilderaddNetworkEndpoints(int index, NetworkEndpoint value)Output only.Node.BuilderaddNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)Output only.Node.BuilderaddNetworkEndpoints(NetworkEndpoint value)Output only.Node.BuilderaddNetworkEndpoints(NetworkEndpoint.Builder builderForValue)Output only.NetworkEndpoint.BuilderaddNetworkEndpointsBuilder()Output only.NetworkEndpoint.BuilderaddNetworkEndpointsBuilder(int index)Output only.Node.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Node.BuilderaddSymptoms(int index, Symptom value)Output only.Node.BuilderaddSymptoms(int index, Symptom.Builder builderForValue)Output only.Node.BuilderaddSymptoms(Symptom value)Output only.Node.BuilderaddSymptoms(Symptom.Builder builderForValue)Output only.Symptom.BuilderaddSymptomsBuilder()Output only.Symptom.BuilderaddSymptomsBuilder(int index)Output only.Node.BuilderaddTags(String value)Tags to apply to the TPU Node.Node.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Tags to apply to the TPU Node.Nodebuild()NodebuildPartial()Node.Builderclear()Node.BuilderclearAcceleratorConfig()The AccleratorConfig for the TPU Node.Node.BuilderclearAcceleratorType()Optional.Node.BuilderclearApiVersion()Output only.Node.BuilderclearCidrBlock()The CIDR block that the TPU node will use when selecting an IP address.Node.BuilderclearCreateTime()Output only.Node.BuilderclearDataDisks()The additional data disks for the Node.Node.BuilderclearDescription()The user-supplied description of the TPU.Node.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Node.BuilderclearHealth()The health status of the TPU node.Node.BuilderclearHealthDescription()Output only.Node.BuilderclearId()Output only.Node.BuilderclearLabels()Node.BuilderclearMetadata()Node.BuilderclearMultisliceNode()Output only.Node.BuilderclearName()Output only.Node.BuilderclearNetworkConfig()Network configurations for the TPU node.Node.BuilderclearNetworkEndpoints()Output only.Node.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Node.BuilderclearQueuedResource()Output only.Node.BuilderclearRuntimeVersion()Required.Node.BuilderclearSchedulingConfig()The scheduling options for this node.Node.BuilderclearServiceAccount()The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.BuilderclearShieldedInstanceConfig()Shielded Instance options.Node.BuilderclearState()Output only.Node.BuilderclearSymptoms()Output only.Node.BuilderclearTags()Tags to apply to the TPU Node.Node.Builderclone()booleancontainsLabels(String key)Resource labels to represent user-provided metadata.booleancontainsMetadata(String key)Custom metadata to apply to the TPU Node.AcceleratorConfiggetAcceleratorConfig()The AccleratorConfig for the TPU Node.AcceleratorConfig.BuildergetAcceleratorConfigBuilder()The AccleratorConfig for the TPU Node.AcceleratorConfigOrBuildergetAcceleratorConfigOrBuilder()The AccleratorConfig for the TPU Node.StringgetAcceleratorType()Optional.com.google.protobuf.ByteStringgetAcceleratorTypeBytes()Optional.Node.ApiVersiongetApiVersion()Output only.intgetApiVersionValue()Output only.StringgetCidrBlock()The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteStringgetCidrBlockBytes()The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.AttachedDiskgetDataDisks(int index)The additional data disks for the Node.AttachedDisk.BuildergetDataDisksBuilder(int index)The additional data disks for the Node.List<AttachedDisk.Builder>getDataDisksBuilderList()The additional data disks for the Node.intgetDataDisksCount()The additional data disks for the Node.List<AttachedDisk>getDataDisksList()The additional data disks for the Node.AttachedDiskOrBuildergetDataDisksOrBuilder(int index)The additional data disks for the Node.List<? extends AttachedDiskOrBuilder>getDataDisksOrBuilderList()The additional data disks for the Node.NodegetDefaultInstanceForType()StringgetDescription()The user-supplied description of the TPU.com.google.protobuf.ByteStringgetDescriptionBytes()The user-supplied description of the TPU.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Node.HealthgetHealth()The health status of the TPU node.StringgetHealthDescription()Output only.com.google.protobuf.ByteStringgetHealthDescriptionBytes()Output only.intgetHealthValue()The health status of the TPU node.longgetId()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Resource labels to represent user-provided metadata.Map<String,String>getLabelsMap()Resource labels to represent user-provided metadata.StringgetLabelsOrDefault(String key, String defaultValue)Resource labels to represent user-provided metadata.StringgetLabelsOrThrow(String key)Resource labels to represent user-provided metadata.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()Custom metadata to apply to the TPU Node.Map<String,String>getMetadataMap()Custom metadata to apply to the TPU Node.StringgetMetadataOrDefault(String key, String defaultValue)Custom metadata to apply to the TPU Node.StringgetMetadataOrThrow(String key)Custom metadata to apply to the TPU Node.booleangetMultisliceNode()Output only.Map<String,String>getMutableLabels()Deprecated.Map<String,String>getMutableMetadata()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NetworkConfiggetNetworkConfig()Network configurations for the TPU node.NetworkConfig.BuildergetNetworkConfigBuilder()Network configurations for the TPU node.NetworkConfigOrBuildergetNetworkConfigOrBuilder()Network configurations for the TPU node.NetworkEndpointgetNetworkEndpoints(int index)Output only.NetworkEndpoint.BuildergetNetworkEndpointsBuilder(int index)Output only.List<NetworkEndpoint.Builder>getNetworkEndpointsBuilderList()Output only.intgetNetworkEndpointsCount()Output only.List<NetworkEndpoint>getNetworkEndpointsList()Output only.NetworkEndpointOrBuildergetNetworkEndpointsOrBuilder(int index)Output only.List<? extends NetworkEndpointOrBuilder>getNetworkEndpointsOrBuilderList()Output only.StringgetQueuedResource()Output only.com.google.protobuf.ByteStringgetQueuedResourceBytes()Output only.StringgetRuntimeVersion()Required.com.google.protobuf.ByteStringgetRuntimeVersionBytes()Required.SchedulingConfiggetSchedulingConfig()The scheduling options for this node.SchedulingConfig.BuildergetSchedulingConfigBuilder()The scheduling options for this node.SchedulingConfigOrBuildergetSchedulingConfigOrBuilder()The scheduling options for this node.ServiceAccountgetServiceAccount()The Google Cloud Platform Service Account to be used by the TPU node VMs.ServiceAccount.BuildergetServiceAccountBuilder()The Google Cloud Platform Service Account to be used by the TPU node VMs.ServiceAccountOrBuildergetServiceAccountOrBuilder()The Google Cloud Platform Service Account to be used by the TPU node VMs.ShieldedInstanceConfiggetShieldedInstanceConfig()Shielded Instance options.ShieldedInstanceConfig.BuildergetShieldedInstanceConfigBuilder()Shielded Instance options.ShieldedInstanceConfigOrBuildergetShieldedInstanceConfigOrBuilder()Shielded Instance options.Node.StategetState()Output only.intgetStateValue()Output only.SymptomgetSymptoms(int index)Output only.Symptom.BuildergetSymptomsBuilder(int index)Output only.List<Symptom.Builder>getSymptomsBuilderList()Output only.intgetSymptomsCount()Output only.List<Symptom>getSymptomsList()Output only.SymptomOrBuildergetSymptomsOrBuilder(int index)Output only.List<? extends SymptomOrBuilder>getSymptomsOrBuilderList()Output only.StringgetTags(int index)Tags to apply to the TPU Node.com.google.protobuf.ByteStringgetTagsBytes(int index)Tags to apply to the TPU Node.intgetTagsCount()Tags to apply to the TPU Node.com.google.protobuf.ProtocolStringListgetTagsList()Tags to apply to the TPU Node.booleanhasAcceleratorConfig()The AccleratorConfig for the TPU Node.booleanhasCreateTime()Output only.booleanhasNetworkConfig()Network configurations for the TPU node.booleanhasSchedulingConfig()The scheduling options for this node.booleanhasServiceAccount()The Google Cloud Platform Service Account to be used by the TPU node VMs.booleanhasShieldedInstanceConfig()Shielded Instance options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Node.BuildermergeAcceleratorConfig(AcceleratorConfig value)The AccleratorConfig for the TPU Node.Node.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Node.BuildermergeFrom(Node other)Node.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Node.BuildermergeFrom(com.google.protobuf.Message other)Node.BuildermergeNetworkConfig(NetworkConfig value)Network configurations for the TPU node.Node.BuildermergeSchedulingConfig(SchedulingConfig value)The scheduling options for this node.Node.BuildermergeServiceAccount(ServiceAccount value)The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.BuildermergeShieldedInstanceConfig(ShieldedInstanceConfig value)Shielded Instance options.Node.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Node.BuilderputAllLabels(Map<String,String> values)Resource labels to represent user-provided metadata.Node.BuilderputAllMetadata(Map<String,String> values)Custom metadata to apply to the TPU Node.Node.BuilderputLabels(String key, String value)Resource labels to represent user-provided metadata.Node.BuilderputMetadata(String key, String value)Custom metadata to apply to the TPU Node.Node.BuilderremoveDataDisks(int index)The additional data disks for the Node.Node.BuilderremoveLabels(String key)Resource labels to represent user-provided metadata.Node.BuilderremoveMetadata(String key)Custom metadata to apply to the TPU Node.Node.BuilderremoveNetworkEndpoints(int index)Output only.Node.BuilderremoveSymptoms(int index)Output only.Node.BuildersetAcceleratorConfig(AcceleratorConfig value)The AccleratorConfig for the TPU Node.Node.BuildersetAcceleratorConfig(AcceleratorConfig.Builder builderForValue)The AccleratorConfig for the TPU Node.Node.BuildersetAcceleratorType(String value)Optional.Node.BuildersetAcceleratorTypeBytes(com.google.protobuf.ByteString value)Optional.Node.BuildersetApiVersion(Node.ApiVersion value)Output only.Node.BuildersetApiVersionValue(int value)Output only.Node.BuildersetCidrBlock(String value)The CIDR block that the TPU node will use when selecting an IP address.Node.BuildersetCidrBlockBytes(com.google.protobuf.ByteString value)The CIDR block that the TPU node will use when selecting an IP address.Node.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Node.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Node.BuildersetDataDisks(int index, AttachedDisk value)The additional data disks for the Node.Node.BuildersetDataDisks(int index, AttachedDisk.Builder builderForValue)The additional data disks for the Node.Node.BuildersetDescription(String value)The user-supplied description of the TPU.Node.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The user-supplied description of the TPU.Node.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Node.BuildersetHealth(Node.Health value)The health status of the TPU node.Node.BuildersetHealthDescription(String value)Output only.Node.BuildersetHealthDescriptionBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetHealthValue(int value)The health status of the TPU node.Node.BuildersetId(long value)Output only.Node.BuildersetMultisliceNode(boolean value)Output only.Node.BuildersetName(String value)Output only.Node.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetNetworkConfig(NetworkConfig value)Network configurations for the TPU node.Node.BuildersetNetworkConfig(NetworkConfig.Builder builderForValue)Network configurations for the TPU node.Node.BuildersetNetworkEndpoints(int index, NetworkEndpoint value)Output only.Node.BuildersetNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)Output only.Node.BuildersetQueuedResource(String value)Output only.Node.BuildersetQueuedResourceBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Node.BuildersetRuntimeVersion(String value)Required.Node.BuildersetRuntimeVersionBytes(com.google.protobuf.ByteString value)Required.Node.BuildersetSchedulingConfig(SchedulingConfig value)The scheduling options for this node.Node.BuildersetSchedulingConfig(SchedulingConfig.Builder builderForValue)The scheduling options for this node.Node.BuildersetServiceAccount(ServiceAccount value)The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.BuildersetServiceAccount(ServiceAccount.Builder builderForValue)The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.BuildersetShieldedInstanceConfig(ShieldedInstanceConfig value)Shielded Instance options.Node.BuildersetShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)Shielded Instance options.Node.BuildersetState(Node.State value)Output only.Node.BuildersetStateValue(int value)Output only.Node.BuildersetSymptoms(int index, Symptom value)Output only.Node.BuildersetSymptoms(int index, Symptom.Builder builderForValue)Output only.Node.BuildersetTags(int index, String value)Tags to apply to the TPU Node.Node.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clear
public Node.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Node build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Node buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Node.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setField
public Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearField
public Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearOneof
public Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setRepeatedField
public Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
addRepeatedField
public Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. Immutable. The name of the TPU.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceNodeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Immutable. The name of the TPU.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for name.
-
setName
public Node.Builder setName(String value)
Output only. Immutable. The name of the TPU.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Node.Builder clearName()
Output only. Immutable. The name of the TPU.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
public Node.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Immutable. The name of the TPU.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionin interfaceNodeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Node.Builder setDescription(String value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Node.Builder clearDescription()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Node.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAcceleratorType
public String getAcceleratorType()
Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAcceleratorTypein interfaceNodeOrBuilder- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
public com.google.protobuf.ByteString getAcceleratorTypeBytes()
Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAcceleratorTypeBytesin interfaceNodeOrBuilder- Returns:
- The bytes for acceleratorType.
-
setAcceleratorType
public Node.Builder setAcceleratorType(String value)
Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The acceleratorType to set.- Returns:
- This builder for chaining.
-
clearAcceleratorType
public Node.Builder clearAcceleratorType()
Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAcceleratorTypeBytes
public Node.Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value)
Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for acceleratorType to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. The current state for the TPU Node.
.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Node.Builder setStateValue(int value)
Output only. The current state for the TPU Node.
.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Node.State getState()
Output only. The current state for the TPU Node.
.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceNodeOrBuilder- Returns:
- The state.
-
setState
public Node.Builder setState(Node.State value)
Output only. The current state for the TPU Node.
.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Node.Builder clearState()
Output only. The current state for the TPU Node.
.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getHealthDescription
public String getHealthDescription()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionin interfaceNodeOrBuilder- Returns:
- The healthDescription.
-
getHealthDescriptionBytes
public com.google.protobuf.ByteString getHealthDescriptionBytes()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for healthDescription.
-
setHealthDescription
public Node.Builder setHealthDescription(String value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The healthDescription to set.- Returns:
- This builder for chaining.
-
clearHealthDescription
public Node.Builder clearHealthDescription()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setHealthDescriptionBytes
public Node.Builder setHealthDescriptionBytes(com.google.protobuf.ByteString value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for healthDescription to set.- Returns:
- This builder for chaining.
-
getRuntimeVersion
public String getRuntimeVersion()
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRuntimeVersionin interfaceNodeOrBuilder- Returns:
- The runtimeVersion.
-
getRuntimeVersionBytes
public com.google.protobuf.ByteString getRuntimeVersionBytes()
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRuntimeVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for runtimeVersion.
-
setRuntimeVersion
public Node.Builder setRuntimeVersion(String value)
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The runtimeVersion to set.- Returns:
- This builder for chaining.
-
clearRuntimeVersion
public Node.Builder clearRuntimeVersion()
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setRuntimeVersionBytes
public Node.Builder setRuntimeVersionBytes(com.google.protobuf.ByteString value)
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for runtimeVersion to set.- Returns:
- This builder for chaining.
-
hasNetworkConfig
public boolean hasNetworkConfig()
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
hasNetworkConfigin interfaceNodeOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
public NetworkConfig getNetworkConfig()
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
getNetworkConfigin interfaceNodeOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
public Node.Builder setNetworkConfig(NetworkConfig value)
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;
-
setNetworkConfig
public Node.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;
-
mergeNetworkConfig
public Node.Builder mergeNetworkConfig(NetworkConfig value)
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;
-
clearNetworkConfig
public Node.Builder clearNetworkConfig()
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;
-
getNetworkConfigBuilder
public NetworkConfig.Builder getNetworkConfigBuilder()
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;
-
getNetworkConfigOrBuilder
public NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Network configurations for the TPU node.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
getNetworkConfigOrBuilderin interfaceNodeOrBuilder
-
getCidrBlock
public String getCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockin interfaceNodeOrBuilder- Returns:
- The cidrBlock.
-
getCidrBlockBytes
public com.google.protobuf.ByteString getCidrBlockBytes()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockBytesin interfaceNodeOrBuilder- Returns:
- The bytes for cidrBlock.
-
setCidrBlock
public Node.Builder setCidrBlock(String value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Parameters:
value- The cidrBlock to set.- Returns:
- This builder for chaining.
-
clearCidrBlock
public Node.Builder clearCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Returns:
- This builder for chaining.
-
setCidrBlockBytes
public Node.Builder setCidrBlockBytes(com.google.protobuf.ByteString value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Parameters:
value- The bytes for cidrBlock to set.- Returns:
- This builder for chaining.
-
hasServiceAccount
public boolean hasServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;- Specified by:
hasServiceAccountin interfaceNodeOrBuilder- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
public ServiceAccount getServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;- Specified by:
getServiceAccountin interfaceNodeOrBuilder- Returns:
- The serviceAccount.
-
setServiceAccount
public Node.Builder setServiceAccount(ServiceAccount value)
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;
-
setServiceAccount
public Node.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;
-
mergeServiceAccount
public Node.Builder mergeServiceAccount(ServiceAccount value)
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;
-
clearServiceAccount
public Node.Builder clearServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;
-
getServiceAccountBuilder
public ServiceAccount.Builder getServiceAccountBuilder()
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;
-
getServiceAccountOrBuilder
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
.google.cloud.tpu.v2.ServiceAccount service_account = 37;- Specified by:
getServiceAccountOrBuilderin interfaceNodeOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceNodeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceNodeOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Node.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Node.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Node.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Node.Builder clearCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceNodeOrBuilder
-
hasSchedulingConfig
public boolean hasSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;- Specified by:
hasSchedulingConfigin interfaceNodeOrBuilder- Returns:
- Whether the schedulingConfig field is set.
-
getSchedulingConfig
public SchedulingConfig getSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigin interfaceNodeOrBuilder- Returns:
- The schedulingConfig.
-
setSchedulingConfig
public Node.Builder setSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
-
setSchedulingConfig
public Node.Builder setSchedulingConfig(SchedulingConfig.Builder builderForValue)
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
-
mergeSchedulingConfig
public Node.Builder mergeSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
-
clearSchedulingConfig
public Node.Builder clearSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
-
getSchedulingConfigBuilder
public SchedulingConfig.Builder getSchedulingConfigBuilder()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
-
getSchedulingConfigOrBuilder
public SchedulingConfigOrBuilder getSchedulingConfigOrBuilder()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigOrBuilderin interfaceNodeOrBuilder
-
getNetworkEndpointsList
public List<NetworkEndpoint> getNetworkEndpointsList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsListin interfaceNodeOrBuilder
-
getNetworkEndpointsCount
public int getNetworkEndpointsCount()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsCountin interfaceNodeOrBuilder
-
getNetworkEndpoints
public NetworkEndpoint getNetworkEndpoints(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsin interfaceNodeOrBuilder
-
setNetworkEndpoints
public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setNetworkEndpoints
public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworkEndpoints
public Node.Builder addNetworkEndpoints(NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworkEndpoints
public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworkEndpoints
public Node.Builder addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworkEndpoints
public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllNetworkEndpoints
public Node.Builder addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearNetworkEndpoints
public Node.Builder clearNetworkEndpoints()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeNetworkEndpoints
public Node.Builder removeNetworkEndpoints(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNetworkEndpointsBuilder
public NetworkEndpoint.Builder getNetworkEndpointsBuilder(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNetworkEndpointsOrBuilder
public NetworkEndpointOrBuilder getNetworkEndpointsOrBuilder(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsOrBuilderin interfaceNodeOrBuilder
-
getNetworkEndpointsOrBuilderList
public List<? extends NetworkEndpointOrBuilder> getNetworkEndpointsOrBuilderList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsOrBuilderListin interfaceNodeOrBuilder
-
addNetworkEndpointsBuilder
public NetworkEndpoint.Builder addNetworkEndpointsBuilder()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworkEndpointsBuilder
public NetworkEndpoint.Builder addNetworkEndpointsBuilder(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNetworkEndpointsBuilderList
public List<NetworkEndpoint.Builder> getNetworkEndpointsBuilderList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getHealthValue
public int getHealthValue()
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Specified by:
getHealthValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for health.
-
setHealthValue
public Node.Builder setHealthValue(int value)
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Parameters:
value- The enum numeric value on the wire for health to set.- Returns:
- This builder for chaining.
-
getHealth
public Node.Health getHealth()
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Specified by:
getHealthin interfaceNodeOrBuilder- Returns:
- The health.
-
setHealth
public Node.Builder setHealth(Node.Health value)
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Parameters:
value- The health to set.- Returns:
- This builder for chaining.
-
clearHealth
public Node.Builder clearHealth()
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NodeOrBuilderResource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsCountin interfaceNodeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
containsLabelsin interfaceNodeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsMapin interfaceNodeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrDefaultin interfaceNodeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrThrowin interfaceNodeOrBuilder
-
clearLabels
public Node.Builder clearLabels()
-
removeLabels
public Node.Builder removeLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Node.Builder putLabels(String key, String value)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
putAllLabels
public Node.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:NodeOrBuilderCustom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;- Specified by:
getMetadataCountin interfaceNodeOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;- Specified by:
containsMetadatain interfaceNodeOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceNodeOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;- Specified by:
getMetadataMapin interfaceNodeOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;- Specified by:
getMetadataOrDefaultin interfaceNodeOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;- Specified by:
getMetadataOrThrowin interfaceNodeOrBuilder
-
clearMetadata
public Node.Builder clearMetadata()
-
removeMetadata
public Node.Builder removeMetadata(String key)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public Node.Builder putMetadata(String key, String value)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;
-
putAllMetadata
public Node.Builder putAllMetadata(Map<String,String> values)
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Specified by:
getTagsListin interfaceNodeOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Specified by:
getTagsCountin interfaceNodeOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Specified by:
getTagsin interfaceNodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Specified by:
getTagsBytesin interfaceNodeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public Node.Builder setTags(int index, String value)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public Node.Builder addTags(String value)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public Node.Builder addAllTags(Iterable<String> values)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public Node.Builder clearTags()
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Returns:
- This builder for chaining.
-
addTagsBytes
public Node.Builder addTagsBytes(com.google.protobuf.ByteString value)
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
repeated string tags = 40;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getId
public long getId()
Output only. The unique identifier for the TPU Node.
int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceNodeOrBuilder- Returns:
- The id.
-
setId
public Node.Builder setId(long value)
Output only. The unique identifier for the TPU Node.
int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Node.Builder clearId()
Output only. The unique identifier for the TPU Node.
int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDataDisksList
public List<AttachedDisk> getDataDisksList()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksListin interfaceNodeOrBuilder
-
getDataDisksCount
public int getDataDisksCount()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksCountin interfaceNodeOrBuilder
-
getDataDisks
public AttachedDisk getDataDisks(int index)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksin interfaceNodeOrBuilder
-
setDataDisks
public Node.Builder setDataDisks(int index, AttachedDisk value)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
setDataDisks
public Node.Builder setDataDisks(int index, AttachedDisk.Builder builderForValue)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addDataDisks
public Node.Builder addDataDisks(AttachedDisk value)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addDataDisks
public Node.Builder addDataDisks(int index, AttachedDisk value)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addDataDisks
public Node.Builder addDataDisks(AttachedDisk.Builder builderForValue)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addDataDisks
public Node.Builder addDataDisks(int index, AttachedDisk.Builder builderForValue)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addAllDataDisks
public Node.Builder addAllDataDisks(Iterable<? extends AttachedDisk> values)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
clearDataDisks
public Node.Builder clearDataDisks()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
removeDataDisks
public Node.Builder removeDataDisks(int index)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
getDataDisksBuilder
public AttachedDisk.Builder getDataDisksBuilder(int index)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
getDataDisksOrBuilder
public AttachedDiskOrBuilder getDataDisksOrBuilder(int index)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksOrBuilderin interfaceNodeOrBuilder
-
getDataDisksOrBuilderList
public List<? extends AttachedDiskOrBuilder> getDataDisksOrBuilderList()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksOrBuilderListin interfaceNodeOrBuilder
-
addDataDisksBuilder
public AttachedDisk.Builder addDataDisksBuilder()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
addDataDisksBuilder
public AttachedDisk.Builder addDataDisksBuilder(int index)
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
getDataDisksBuilderList
public List<AttachedDisk.Builder> getDataDisksBuilderList()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
-
getApiVersionValue
public int getApiVersionValue()
Output only. The API version that created this Node.
.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for apiVersion.
-
setApiVersionValue
public Node.Builder setApiVersionValue(int value)
Output only. The API version that created this Node.
.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for apiVersion to set.- Returns:
- This builder for chaining.
-
getApiVersion
public Node.ApiVersion getApiVersion()
Output only. The API version that created this Node.
.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionin interfaceNodeOrBuilder- Returns:
- The apiVersion.
-
setApiVersion
public Node.Builder setApiVersion(Node.ApiVersion value)
Output only. The API version that created this Node.
.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The apiVersion to set.- Returns:
- This builder for chaining.
-
clearApiVersion
public Node.Builder clearApiVersion()
Output only. The API version that created this Node.
.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSymptomsList
public List<Symptom> getSymptomsList()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsListin interfaceNodeOrBuilder
-
getSymptomsCount
public int getSymptomsCount()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsCountin interfaceNodeOrBuilder
-
getSymptoms
public Symptom getSymptoms(int index)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsin interfaceNodeOrBuilder
-
setSymptoms
public Node.Builder setSymptoms(int index, Symptom value)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setSymptoms
public Node.Builder setSymptoms(int index, Symptom.Builder builderForValue)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addSymptoms
public Node.Builder addSymptoms(Symptom value)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addSymptoms
public Node.Builder addSymptoms(int index, Symptom value)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addSymptoms
public Node.Builder addSymptoms(Symptom.Builder builderForValue)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addSymptoms
public Node.Builder addSymptoms(int index, Symptom.Builder builderForValue)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllSymptoms
public Node.Builder addAllSymptoms(Iterable<? extends Symptom> values)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearSymptoms
public Node.Builder clearSymptoms()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeSymptoms
public Node.Builder removeSymptoms(int index)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSymptomsBuilder
public Symptom.Builder getSymptomsBuilder(int index)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSymptomsOrBuilder
public SymptomOrBuilder getSymptomsOrBuilder(int index)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsOrBuilderin interfaceNodeOrBuilder
-
getSymptomsOrBuilderList
public List<? extends SymptomOrBuilder> getSymptomsOrBuilderList()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsOrBuilderListin interfaceNodeOrBuilder
-
addSymptomsBuilder
public Symptom.Builder addSymptomsBuilder()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addSymptomsBuilder
public Symptom.Builder addSymptomsBuilder(int index)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSymptomsBuilderList
public List<Symptom.Builder> getSymptomsBuilderList()
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;- Specified by:
hasShieldedInstanceConfigin interfaceNodeOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;- Specified by:
getShieldedInstanceConfigin interfaceNodeOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
public Node.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
-
setShieldedInstanceConfig
public Node.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
-
mergeShieldedInstanceConfig
public Node.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
-
clearShieldedInstanceConfig
public Node.Builder clearShieldedInstanceConfig()
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
-
getShieldedInstanceConfigBuilder
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
-
getShieldedInstanceConfigOrBuilder
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceNodeOrBuilder
-
hasAcceleratorConfig
public boolean hasAcceleratorConfig()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;- Specified by:
hasAcceleratorConfigin interfaceNodeOrBuilder- Returns:
- Whether the acceleratorConfig field is set.
-
getAcceleratorConfig
public AcceleratorConfig getAcceleratorConfig()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;- Specified by:
getAcceleratorConfigin interfaceNodeOrBuilder- Returns:
- The acceleratorConfig.
-
setAcceleratorConfig
public Node.Builder setAcceleratorConfig(AcceleratorConfig value)
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
-
setAcceleratorConfig
public Node.Builder setAcceleratorConfig(AcceleratorConfig.Builder builderForValue)
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
-
mergeAcceleratorConfig
public Node.Builder mergeAcceleratorConfig(AcceleratorConfig value)
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
-
clearAcceleratorConfig
public Node.Builder clearAcceleratorConfig()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
-
getAcceleratorConfigBuilder
public AcceleratorConfig.Builder getAcceleratorConfigBuilder()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
-
getAcceleratorConfigOrBuilder
public AcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;- Specified by:
getAcceleratorConfigOrBuilderin interfaceNodeOrBuilder
-
getQueuedResource
public String getQueuedResource()
Output only. The qualified name of the QueuedResource that requested this Node.
string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getQueuedResourcein interfaceNodeOrBuilder- Returns:
- The queuedResource.
-
getQueuedResourceBytes
public com.google.protobuf.ByteString getQueuedResourceBytes()
Output only. The qualified name of the QueuedResource that requested this Node.
string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getQueuedResourceBytesin interfaceNodeOrBuilder- Returns:
- The bytes for queuedResource.
-
setQueuedResource
public Node.Builder setQueuedResource(String value)
Output only. The qualified name of the QueuedResource that requested this Node.
string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The queuedResource to set.- Returns:
- This builder for chaining.
-
clearQueuedResource
public Node.Builder clearQueuedResource()
Output only. The qualified name of the QueuedResource that requested this Node.
string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setQueuedResourceBytes
public Node.Builder setQueuedResourceBytes(com.google.protobuf.ByteString value)
Output only. The qualified name of the QueuedResource that requested this Node.
string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for queuedResource to set.- Returns:
- This builder for chaining.
-
getMultisliceNode
public boolean getMultisliceNode()
Output only. Whether the Node belongs to a Multislice group.
bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMultisliceNodein interfaceNodeOrBuilder- Returns:
- The multisliceNode.
-
setMultisliceNode
public Node.Builder setMultisliceNode(boolean value)
Output only. Whether the Node belongs to a Multislice group.
bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The multisliceNode to set.- Returns:
- This builder for chaining.
-
clearMultisliceNode
public Node.Builder clearMultisliceNode()
Output only. Whether the Node belongs to a Multislice group.
bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeUnknownFields
public final Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
-