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.Builder
addAllDataDisks(Iterable<? extends AttachedDisk> values)
The additional data disks for the Node.Node.Builder
addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)
Output only.Node.Builder
addAllSymptoms(Iterable<? extends Symptom> values)
Output only.Node.Builder
addAllTags(Iterable<String> values)
Tags to apply to the TPU Node.Node.Builder
addDataDisks(int index, AttachedDisk value)
The additional data disks for the Node.Node.Builder
addDataDisks(int index, AttachedDisk.Builder builderForValue)
The additional data disks for the Node.Node.Builder
addDataDisks(AttachedDisk value)
The additional data disks for the Node.Node.Builder
addDataDisks(AttachedDisk.Builder builderForValue)
The additional data disks for the Node.AttachedDisk.Builder
addDataDisksBuilder()
The additional data disks for the Node.AttachedDisk.Builder
addDataDisksBuilder(int index)
The additional data disks for the Node.Node.Builder
addNetworkEndpoints(int index, NetworkEndpoint value)
Output only.Node.Builder
addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only.Node.Builder
addNetworkEndpoints(NetworkEndpoint value)
Output only.Node.Builder
addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)
Output only.NetworkEndpoint.Builder
addNetworkEndpointsBuilder()
Output only.NetworkEndpoint.Builder
addNetworkEndpointsBuilder(int index)
Output only.Node.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Node.Builder
addSymptoms(int index, Symptom value)
Output only.Node.Builder
addSymptoms(int index, Symptom.Builder builderForValue)
Output only.Node.Builder
addSymptoms(Symptom value)
Output only.Node.Builder
addSymptoms(Symptom.Builder builderForValue)
Output only.Symptom.Builder
addSymptomsBuilder()
Output only.Symptom.Builder
addSymptomsBuilder(int index)
Output only.Node.Builder
addTags(String value)
Tags to apply to the TPU Node.Node.Builder
addTagsBytes(com.google.protobuf.ByteString value)
Tags to apply to the TPU Node.Node
build()
Node
buildPartial()
Node.Builder
clear()
Node.Builder
clearAcceleratorConfig()
The AccleratorConfig for the TPU Node.Node.Builder
clearAcceleratorType()
Optional.Node.Builder
clearApiVersion()
Output only.Node.Builder
clearCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
clearCreateTime()
Output only.Node.Builder
clearDataDisks()
The additional data disks for the Node.Node.Builder
clearDescription()
The user-supplied description of the TPU.Node.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Node.Builder
clearHealth()
The health status of the TPU node.Node.Builder
clearHealthDescription()
Output only.Node.Builder
clearId()
Output only.Node.Builder
clearLabels()
Node.Builder
clearMetadata()
Node.Builder
clearMultisliceNode()
Output only.Node.Builder
clearName()
Output only.Node.Builder
clearNetworkConfig()
Network configurations for the TPU node.Node.Builder
clearNetworkEndpoints()
Output only.Node.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Node.Builder
clearQueuedResource()
Output only.Node.Builder
clearRuntimeVersion()
Required.Node.Builder
clearSchedulingConfig()
The scheduling options for this node.Node.Builder
clearServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.Builder
clearShieldedInstanceConfig()
Shielded Instance options.Node.Builder
clearState()
Output only.Node.Builder
clearSymptoms()
Output only.Node.Builder
clearTags()
Tags to apply to the TPU Node.Node.Builder
clone()
boolean
containsLabels(String key)
Resource labels to represent user-provided metadata.boolean
containsMetadata(String key)
Custom metadata to apply to the TPU Node.AcceleratorConfig
getAcceleratorConfig()
The AccleratorConfig for the TPU Node.AcceleratorConfig.Builder
getAcceleratorConfigBuilder()
The AccleratorConfig for the TPU Node.AcceleratorConfigOrBuilder
getAcceleratorConfigOrBuilder()
The AccleratorConfig for the TPU Node.String
getAcceleratorType()
Optional.com.google.protobuf.ByteString
getAcceleratorTypeBytes()
Optional.Node.ApiVersion
getApiVersion()
Output only.int
getApiVersionValue()
Output only.String
getCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteString
getCidrBlockBytes()
The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.AttachedDisk
getDataDisks(int index)
The additional data disks for the Node.AttachedDisk.Builder
getDataDisksBuilder(int index)
The additional data disks for the Node.List<AttachedDisk.Builder>
getDataDisksBuilderList()
The additional data disks for the Node.int
getDataDisksCount()
The additional data disks for the Node.List<AttachedDisk>
getDataDisksList()
The additional data disks for the Node.AttachedDiskOrBuilder
getDataDisksOrBuilder(int index)
The additional data disks for the Node.List<? extends AttachedDiskOrBuilder>
getDataDisksOrBuilderList()
The additional data disks for the Node.Node
getDefaultInstanceForType()
String
getDescription()
The user-supplied description of the TPU.com.google.protobuf.ByteString
getDescriptionBytes()
The user-supplied description of the TPU.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Node.Health
getHealth()
The health status of the TPU node.String
getHealthDescription()
Output only.com.google.protobuf.ByteString
getHealthDescriptionBytes()
Output only.int
getHealthValue()
The health status of the TPU node.long
getId()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Resource labels to represent user-provided metadata.Map<String,String>
getLabelsMap()
Resource labels to represent user-provided metadata.String
getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.String
getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
Custom metadata to apply to the TPU Node.Map<String,String>
getMetadataMap()
Custom metadata to apply to the TPU Node.String
getMetadataOrDefault(String key, String defaultValue)
Custom metadata to apply to the TPU Node.String
getMetadataOrThrow(String key)
Custom metadata to apply to the TPU Node.boolean
getMultisliceNode()
Output only.Map<String,String>
getMutableLabels()
Deprecated.Map<String,String>
getMutableMetadata()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.NetworkConfig
getNetworkConfig()
Network configurations for the TPU node.NetworkConfig.Builder
getNetworkConfigBuilder()
Network configurations for the TPU node.NetworkConfigOrBuilder
getNetworkConfigOrBuilder()
Network configurations for the TPU node.NetworkEndpoint
getNetworkEndpoints(int index)
Output only.NetworkEndpoint.Builder
getNetworkEndpointsBuilder(int index)
Output only.List<NetworkEndpoint.Builder>
getNetworkEndpointsBuilderList()
Output only.int
getNetworkEndpointsCount()
Output only.List<NetworkEndpoint>
getNetworkEndpointsList()
Output only.NetworkEndpointOrBuilder
getNetworkEndpointsOrBuilder(int index)
Output only.List<? extends NetworkEndpointOrBuilder>
getNetworkEndpointsOrBuilderList()
Output only.String
getQueuedResource()
Output only.com.google.protobuf.ByteString
getQueuedResourceBytes()
Output only.String
getRuntimeVersion()
Required.com.google.protobuf.ByteString
getRuntimeVersionBytes()
Required.SchedulingConfig
getSchedulingConfig()
The scheduling options for this node.SchedulingConfig.Builder
getSchedulingConfigBuilder()
The scheduling options for this node.SchedulingConfigOrBuilder
getSchedulingConfigOrBuilder()
The scheduling options for this node.ServiceAccount
getServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs.ServiceAccount.Builder
getServiceAccountBuilder()
The Google Cloud Platform Service Account to be used by the TPU node VMs.ServiceAccountOrBuilder
getServiceAccountOrBuilder()
The Google Cloud Platform Service Account to be used by the TPU node VMs.ShieldedInstanceConfig
getShieldedInstanceConfig()
Shielded Instance options.ShieldedInstanceConfig.Builder
getShieldedInstanceConfigBuilder()
Shielded Instance options.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Shielded Instance options.Node.State
getState()
Output only.int
getStateValue()
Output only.Symptom
getSymptoms(int index)
Output only.Symptom.Builder
getSymptomsBuilder(int index)
Output only.List<Symptom.Builder>
getSymptomsBuilderList()
Output only.int
getSymptomsCount()
Output only.List<Symptom>
getSymptomsList()
Output only.SymptomOrBuilder
getSymptomsOrBuilder(int index)
Output only.List<? extends SymptomOrBuilder>
getSymptomsOrBuilderList()
Output only.String
getTags(int index)
Tags to apply to the TPU Node.com.google.protobuf.ByteString
getTagsBytes(int index)
Tags to apply to the TPU Node.int
getTagsCount()
Tags to apply to the TPU Node.com.google.protobuf.ProtocolStringList
getTagsList()
Tags to apply to the TPU Node.boolean
hasAcceleratorConfig()
The AccleratorConfig for the TPU Node.boolean
hasCreateTime()
Output only.boolean
hasNetworkConfig()
Network configurations for the TPU node.boolean
hasSchedulingConfig()
The scheduling options for this node.boolean
hasServiceAccount()
The Google Cloud Platform Service Account to be used by the TPU node VMs.boolean
hasShieldedInstanceConfig()
Shielded Instance options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Node.Builder
mergeAcceleratorConfig(AcceleratorConfig value)
The AccleratorConfig for the TPU Node.Node.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Node.Builder
mergeFrom(Node other)
Node.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Node.Builder
mergeFrom(com.google.protobuf.Message other)
Node.Builder
mergeNetworkConfig(NetworkConfig value)
Network configurations for the TPU node.Node.Builder
mergeSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.Node.Builder
mergeServiceAccount(ServiceAccount value)
The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.Builder
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.Node.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Node.Builder
putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.Node.Builder
putAllMetadata(Map<String,String> values)
Custom metadata to apply to the TPU Node.Node.Builder
putLabels(String key, String value)
Resource labels to represent user-provided metadata.Node.Builder
putMetadata(String key, String value)
Custom metadata to apply to the TPU Node.Node.Builder
removeDataDisks(int index)
The additional data disks for the Node.Node.Builder
removeLabels(String key)
Resource labels to represent user-provided metadata.Node.Builder
removeMetadata(String key)
Custom metadata to apply to the TPU Node.Node.Builder
removeNetworkEndpoints(int index)
Output only.Node.Builder
removeSymptoms(int index)
Output only.Node.Builder
setAcceleratorConfig(AcceleratorConfig value)
The AccleratorConfig for the TPU Node.Node.Builder
setAcceleratorConfig(AcceleratorConfig.Builder builderForValue)
The AccleratorConfig for the TPU Node.Node.Builder
setAcceleratorType(String value)
Optional.Node.Builder
setAcceleratorTypeBytes(com.google.protobuf.ByteString value)
Optional.Node.Builder
setApiVersion(Node.ApiVersion value)
Output only.Node.Builder
setApiVersionValue(int value)
Output only.Node.Builder
setCidrBlock(String value)
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
setCidrBlockBytes(com.google.protobuf.ByteString value)
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Node.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Node.Builder
setDataDisks(int index, AttachedDisk value)
The additional data disks for the Node.Node.Builder
setDataDisks(int index, AttachedDisk.Builder builderForValue)
The additional data disks for the Node.Node.Builder
setDescription(String value)
The user-supplied description of the TPU.Node.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the TPU.Node.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Node.Builder
setHealth(Node.Health value)
The health status of the TPU node.Node.Builder
setHealthDescription(String value)
Output only.Node.Builder
setHealthDescriptionBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setHealthValue(int value)
The health status of the TPU node.Node.Builder
setId(long value)
Output only.Node.Builder
setMultisliceNode(boolean value)
Output only.Node.Builder
setName(String value)
Output only.Node.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setNetworkConfig(NetworkConfig value)
Network configurations for the TPU node.Node.Builder
setNetworkConfig(NetworkConfig.Builder builderForValue)
Network configurations for the TPU node.Node.Builder
setNetworkEndpoints(int index, NetworkEndpoint value)
Output only.Node.Builder
setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only.Node.Builder
setQueuedResource(String value)
Output only.Node.Builder
setQueuedResourceBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Node.Builder
setRuntimeVersion(String value)
Required.Node.Builder
setRuntimeVersionBytes(com.google.protobuf.ByteString value)
Required.Node.Builder
setSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.Node.Builder
setSchedulingConfig(SchedulingConfig.Builder builderForValue)
The scheduling options for this node.Node.Builder
setServiceAccount(ServiceAccount value)
The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.Builder
setServiceAccount(ServiceAccount.Builder builderForValue)
The Google Cloud Platform Service Account to be used by the TPU node VMs.Node.Builder
setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.Node.Builder
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.Node.Builder
setState(Node.State value)
Output only.Node.Builder
setStateValue(int value)
Output only.Node.Builder
setSymptoms(int index, Symptom value)
Output only.Node.Builder
setSymptoms(int index, Symptom.Builder builderForValue)
Output only.Node.Builder
setTags(int index, String value)
Tags to apply to the TPU Node.Node.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clear
public Node.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Node build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Node buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Node.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setField
public Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearField
public Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearOneof
public Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setRepeatedField
public Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
addRepeatedField
public Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getAcceleratorType
in 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:
getAcceleratorTypeBytes
in 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:
getStateValue
in 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:
getState
in 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:
getHealthDescription
in 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:
getHealthDescriptionBytes
in 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:
getRuntimeVersion
in 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:
getRuntimeVersionBytes
in 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:
hasNetworkConfig
in 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:
getNetworkConfig
in 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:
getNetworkConfigOrBuilder
in 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:
getCidrBlock
in 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:
getCidrBlockBytes
in 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:
hasServiceAccount
in 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:
getServiceAccount
in 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:
getServiceAccountOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceNodeOrBuilder
-
hasSchedulingConfig
public boolean hasSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
- Specified by:
hasSchedulingConfig
in 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:
getSchedulingConfig
in 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:
getSchedulingConfigOrBuilder
in 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:
getNetworkEndpointsList
in 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:
getNetworkEndpointsCount
in 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:
getNetworkEndpoints
in 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:
getNetworkEndpointsOrBuilder
in 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:
getNetworkEndpointsOrBuilderList
in 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:
getHealthValue
in 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:
getHealth
in 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:NodeOrBuilder
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsCount
in interfaceNodeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
containsLabels
in interfaceNodeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceNodeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsMap
in interfaceNodeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsOrDefault
in interfaceNodeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsOrThrow
in 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:NodeOrBuilder
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34;
- Specified by:
getMetadataCount
in 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:
containsMetadata
in interfaceNodeOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in 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:
getMetadataMap
in 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:
getMetadataOrDefault
in 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:
getMetadataOrThrow
in 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:
getTagsList
in 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:
getTagsCount
in 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:
getTags
in 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:
getTagsBytes
in 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:
getId
in 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:
getDataDisksList
in interfaceNodeOrBuilder
-
getDataDisksCount
public int getDataDisksCount()
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
- Specified by:
getDataDisksCount
in 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:
getDataDisks
in 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:
getDataDisksOrBuilder
in 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:
getDataDisksOrBuilderList
in 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:
getApiVersionValue
in 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:
getApiVersion
in 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:
getSymptomsList
in 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:
getSymptomsCount
in 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:
getSymptoms
in 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:
getSymptomsOrBuilder
in 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:
getSymptomsOrBuilderList
in 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:
hasShieldedInstanceConfig
in 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:
getShieldedInstanceConfig
in 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:
getShieldedInstanceConfigOrBuilder
in interfaceNodeOrBuilder
-
hasAcceleratorConfig
public boolean hasAcceleratorConfig()
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
- Specified by:
hasAcceleratorConfig
in 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:
getAcceleratorConfig
in 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:
getAcceleratorConfigOrBuilder
in 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:
getQueuedResource
in 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:
getQueuedResourceBytes
in 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:
getMultisliceNode
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeUnknownFields
public final Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
-