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.GeneratedMessage.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.GeneratedMessage.Builder<Node.Builder>
implements NodeOrBuilder
A TPU instance.Protobuf type
google.cloud.tpu.v2.Node-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataDisks(Iterable<? extends AttachedDisk> values) The additional data disks for the Node.addAllNetworkConfigs(Iterable<? extends NetworkConfig> values) Optional.addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values) Output only.addAllSymptoms(Iterable<? extends Symptom> values) Output only.addAllTags(Iterable<String> values) Tags to apply to the TPU Node.addDataDisks(int index, AttachedDisk value) The additional data disks for the Node.addDataDisks(int index, AttachedDisk.Builder builderForValue) The additional data disks for the Node.addDataDisks(AttachedDisk value) The additional data disks for the Node.addDataDisks(AttachedDisk.Builder builderForValue) The additional data disks for the Node.The additional data disks for the Node.addDataDisksBuilder(int index) The additional data disks for the Node.addNetworkConfigs(int index, NetworkConfig value) Optional.addNetworkConfigs(int index, NetworkConfig.Builder builderForValue) Optional.addNetworkConfigs(NetworkConfig value) Optional.addNetworkConfigs(NetworkConfig.Builder builderForValue) Optional.Optional.addNetworkConfigsBuilder(int index) Optional.addNetworkEndpoints(int index, NetworkEndpoint value) Output only.addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue) Output only.Output only.addNetworkEndpoints(NetworkEndpoint.Builder builderForValue) Output only.Output only.addNetworkEndpointsBuilder(int index) Output only.addSymptoms(int index, Symptom value) Output only.addSymptoms(int index, Symptom.Builder builderForValue) Output only.addSymptoms(Symptom value) Output only.addSymptoms(Symptom.Builder builderForValue) Output only.Output only.addSymptomsBuilder(int index) Output only.Tags to apply to the TPU Node.addTagsBytes(com.google.protobuf.ByteString value) Tags to apply to the TPU Node.build()clear()The AccleratorConfig for the TPU Node.Optional.Output only.The CIDR block that the TPU node will use when selecting an IP address.Output only.The additional data disks for the Node.The user-supplied description of the TPU.The health status of the TPU node.Output only.clearId()Output only.Output only.Output only.Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.Optional.Output only.Output only.Required.The scheduling options for this node.The Google Cloud Platform Service Account to be used by the TPU node VMs.Shielded Instance options.Output only.Output only.Tags to apply to the TPU Node.booleancontainsLabels(String key) Resource labels to represent user-provided metadata.booleancontainsMetadata(String key) Custom metadata to apply to the TPU Node.The AccleratorConfig for the TPU Node.The AccleratorConfig for the TPU Node.The AccleratorConfig for the TPU Node.Optional.com.google.protobuf.ByteStringOptional.Output only.intOutput only.The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteStringThe CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDataDisks(int index) The additional data disks for the Node.getDataDisksBuilder(int index) The additional data disks for the Node.The additional data disks for the Node.intThe additional data disks for the Node.The additional data disks for the Node.getDataDisksOrBuilder(int index) The additional data disks for the Node.List<? extends AttachedDiskOrBuilder>The additional data disks for the Node.The user-supplied description of the TPU.com.google.protobuf.ByteStringThe user-supplied description of the TPU.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe health status of the TPU node.Output only.com.google.protobuf.ByteStringOutput only.intThe health status of the TPU node.longgetId()Output only.Deprecated.intResource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.getLabelsOrDefault(String key, String defaultValue) Resource labels to represent user-provided metadata.getLabelsOrThrow(String key) Resource labels to represent user-provided metadata.Deprecated.intCustom metadata to apply to the TPU Node.Custom metadata to apply to the TPU Node.getMetadataOrDefault(String key, String defaultValue) Custom metadata to apply to the TPU Node.getMetadataOrThrow(String key) Custom metadata to apply to the TPU Node.booleanOutput only.Deprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.getNetworkConfigs(int index) Optional.getNetworkConfigsBuilder(int index) Optional.Optional.intOptional.Optional.getNetworkConfigsOrBuilder(int index) Optional.List<? extends NetworkConfigOrBuilder>Optional.getNetworkEndpoints(int index) Output only.getNetworkEndpointsBuilder(int index) Output only.Output only.intOutput only.Output only.getNetworkEndpointsOrBuilder(int index) Output only.List<? extends NetworkEndpointOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.The scheduling options for this node.The scheduling options for this node.The scheduling options for this node.The Google Cloud Platform Service Account to be used by the TPU node VMs.The Google Cloud Platform Service Account to be used by the TPU node VMs.The Google Cloud Platform Service Account to be used by the TPU node VMs.Shielded Instance options.Shielded Instance options.Shielded Instance options.getState()Output only.intOutput only.getSymptoms(int index) Output only.getSymptomsBuilder(int index) Output only.Output only.intOutput only.Output only.getSymptomsOrBuilder(int index) Output only.List<? extends SymptomOrBuilder>Output only.getTags(int index) Tags to apply to the TPU Node.com.google.protobuf.ByteStringgetTagsBytes(int index) Tags to apply to the TPU Node.intTags to apply to the TPU Node.com.google.protobuf.ProtocolStringListTags to apply to the TPU Node.booleanThe AccleratorConfig for the TPU Node.booleanOutput only.booleanNetwork configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.booleanThe scheduling options for this node.booleanThe Google Cloud Platform Service Account to be used by the TPU node VMs.booleanShielded Instance options.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanThe AccleratorConfig for the TPU Node.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNetworkConfig(NetworkConfig value) Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.The scheduling options for this node.The Google Cloud Platform Service Account to be used by the TPU node VMs.Shielded Instance options.putAllLabels(Map<String, String> values) Resource labels to represent user-provided metadata.putAllMetadata(Map<String, String> values) Custom metadata to apply to the TPU Node.Resource labels to represent user-provided metadata.putMetadata(String key, String value) Custom metadata to apply to the TPU Node.removeDataDisks(int index) The additional data disks for the Node.removeLabels(String key) Resource labels to represent user-provided metadata.removeMetadata(String key) Custom metadata to apply to the TPU Node.removeNetworkConfigs(int index) Optional.removeNetworkEndpoints(int index) Output only.removeSymptoms(int index) Output only.The AccleratorConfig for the TPU Node.setAcceleratorConfig(AcceleratorConfig.Builder builderForValue) The AccleratorConfig for the TPU Node.setAcceleratorType(String value) Optional.setAcceleratorTypeBytes(com.google.protobuf.ByteString value) Optional.setApiVersion(Node.ApiVersion value) Output only.setApiVersionValue(int value) Output only.setCidrBlock(String value) The CIDR block that the TPU node will use when selecting an IP address.setCidrBlockBytes(com.google.protobuf.ByteString value) The CIDR block that the TPU node will use when selecting an IP address.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDataDisks(int index, AttachedDisk value) The additional data disks for the Node.setDataDisks(int index, AttachedDisk.Builder builderForValue) The additional data disks for the Node.setDescription(String value) The user-supplied description of the TPU.setDescriptionBytes(com.google.protobuf.ByteString value) The user-supplied description of the TPU.setHealth(Node.Health value) The health status of the TPU node.setHealthDescription(String value) Output only.setHealthDescriptionBytes(com.google.protobuf.ByteString value) Output only.setHealthValue(int value) The health status of the TPU node.setId(long value) Output only.setMultisliceNode(boolean value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNetworkConfig(NetworkConfig value) Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.setNetworkConfig(NetworkConfig.Builder builderForValue) Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them.setNetworkConfigs(int index, NetworkConfig value) Optional.setNetworkConfigs(int index, NetworkConfig.Builder builderForValue) Optional.setNetworkEndpoints(int index, NetworkEndpoint value) Output only.setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue) Output only.setQueuedResource(String value) Output only.setQueuedResourceBytes(com.google.protobuf.ByteString value) Output only.setRuntimeVersion(String value) Required.setRuntimeVersionBytes(com.google.protobuf.ByteString value) Required.The scheduling options for this node.setSchedulingConfig(SchedulingConfig.Builder builderForValue) The scheduling options for this node.setServiceAccount(ServiceAccount value) The Google Cloud Platform Service Account to be used by the TPU node VMs.setServiceAccount(ServiceAccount.Builder builderForValue) The Google Cloud Platform Service Account to be used by the TPU node VMs.Shielded Instance options.setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) Shielded Instance options.setState(Node.State value) Output only.setStateValue(int value) Output only.setSymptoms(int index, Symptom value) Output only.setSymptoms(int index, Symptom.Builder builderForValue) Output only.Tags to apply to the TPU Node.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Node.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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
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
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
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
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
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Required. The runtime version running in the Node.
string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setRuntimeVersionBytes
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. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
hasNetworkConfigin interfaceNodeOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
getNetworkConfigin interfaceNodeOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36; -
setNetworkConfig
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36; -
mergeNetworkConfig
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36; -
clearNetworkConfig
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36; -
getNetworkConfigBuilder
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36; -
getNetworkConfigOrBuilder
Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
.google.cloud.tpu.v2.NetworkConfig network_config = 36;- Specified by:
getNetworkConfigOrBuilderin interfaceNodeOrBuilder
-
getNetworkConfigsList
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigsListin interfaceNodeOrBuilder
-
getNetworkConfigsCount
public int getNetworkConfigsCount()Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigsCountin interfaceNodeOrBuilder
-
getNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigsin interfaceNodeOrBuilder
-
setNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
setNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addAllNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
clearNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
removeNetworkConfigs
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkConfigsBuilder
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkConfigsOrBuilder
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigsOrBuilderin interfaceNodeOrBuilder
-
getNetworkConfigsOrBuilderList
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigsOrBuilderListin interfaceNodeOrBuilder
-
addNetworkConfigsBuilder
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
addNetworkConfigsBuilder
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkConfigsBuilderList
Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL]; -
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
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
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
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
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
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
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
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
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
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
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
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigin interfaceNodeOrBuilder- Returns:
- The schedulingConfig.
-
setSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17; -
setSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17; -
mergeSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17; -
clearSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17; -
getSchedulingConfigBuilder
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17; -
getSchedulingConfigOrBuilder
The scheduling options for this node.
.google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigOrBuilderin interfaceNodeOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
The health status of the TPU node.
.google.cloud.tpu.v2.Node.Health health = 22;- Specified by:
getHealthin interfaceNodeOrBuilder- Returns:
- The health.
-
setHealth
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
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
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
containsLabelsin interfaceNodeOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeOrBuilder
-
getLabelsMap
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsMapin interfaceNodeOrBuilder
-
getLabelsOrDefault
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrDefaultin interfaceNodeOrBuilder
-
getLabelsOrThrow
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrThrowin interfaceNodeOrBuilder
-
clearLabels
-
removeLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 24; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 24; -
putAllLabels
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
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.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceNodeOrBuilder
-
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
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
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
-
removeMetadata
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
map<string, string> metadata = 34; -
putAllMetadata
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
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
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
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
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
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
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
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
Output only. The unique identifier for the TPU Node.
int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksin interfaceNodeOrBuilder
-
setDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
setDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addAllDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
clearDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
removeDataDisks
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
getDataDisksBuilder
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
getDataDisksOrBuilder
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksOrBuilderin interfaceNodeOrBuilder
-
getDataDisksOrBuilderList
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;- Specified by:
getDataDisksOrBuilderListin interfaceNodeOrBuilder
-
addDataDisksBuilder
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
addDataDisksBuilder
The additional data disks for the Node.
repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41; -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;- Specified by:
getShieldedInstanceConfigin interfaceNodeOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45; -
setShieldedInstanceConfig
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45; -
mergeShieldedInstanceConfig
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45; -
clearShieldedInstanceConfig
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45; -
getShieldedInstanceConfigBuilder
Shielded Instance options.
.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45; -
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
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;- Specified by:
getAcceleratorConfigin interfaceNodeOrBuilder- Returns:
- The acceleratorConfig.
-
setAcceleratorConfig
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46; -
setAcceleratorConfig
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46; -
mergeAcceleratorConfig
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46; -
clearAcceleratorConfig
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46; -
getAcceleratorConfigBuilder
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46; -
getAcceleratorConfigOrBuilder
The AccleratorConfig for the TPU Node.
.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;- Specified by:
getAcceleratorConfigOrBuilderin interfaceNodeOrBuilder
-
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
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
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
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
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
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.
-