Package com.google.cloud.tpu.v1
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.v1.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.v1.Node-
Method Summary
Modifier and TypeMethodDescriptionaddAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values) Output only.addAllSymptoms(Iterable<? extends Symptom> values) Output only.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.build()clear()Required.Output only.The CIDR block that the TPU node will use when selecting an IP address.Output only.The user-supplied description of the TPU.The health status of the TPU node.Output only.Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Output only.The name of a network they wish to peer the TPU node to.Output only.Deprecated.google.cloud.tpu.v1.Node.port is deprecated.The scheduling options for this node.Output only.Output only.Output only.Required.Whether the VPC peering for the node is set up through Service Networking API.booleancontainsLabels(String key) Resource labels to represent user-provided metadata.Required.com.google.protobuf.ByteStringRequired.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.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.Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.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.getName()Output only.com.google.protobuf.ByteStringOutput only.The name of a network they wish to peer the TPU node to.com.google.protobuf.ByteStringThe name of a network they wish to peer the TPU node to.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.getPort()Deprecated.google.cloud.tpu.v1.Node.port is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.tpu.v1.Node.port is deprecated.The scheduling options for this node.The scheduling options for this node.The scheduling options for this node.Output only.com.google.protobuf.ByteStringOutput only.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.Required.com.google.protobuf.ByteStringRequired.booleanWhether the VPC peering for the node is set up through Service Networking API.booleanOutput only.booleanThe scheduling options for this node.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The scheduling options for this node.putAllLabels(Map<String, String> values) Resource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.removeLabels(String key) Resource labels to represent user-provided metadata.removeNetworkEndpoints(int index) Output only.removeSymptoms(int index) Output only.setAcceleratorType(String value) Required.setAcceleratorTypeBytes(com.google.protobuf.ByteString value) Required.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.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.setIpAddress(String value) Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.setIpAddressBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNetwork(String value) The name of a network they wish to peer the TPU node to.setNetworkBytes(com.google.protobuf.ByteString value) The name of a network they wish to peer the TPU node to.setNetworkEndpoints(int index, NetworkEndpoint value) Output only.setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue) Output only.Deprecated.google.cloud.tpu.v1.Node.port is deprecated.setPortBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.tpu.v1.Node.port is deprecated.The scheduling options for this node.setSchedulingConfig(SchedulingConfig.Builder builderForValue) The scheduling options for this node.setServiceAccount(String value) Output only.setServiceAccountBytes(com.google.protobuf.ByteString value) Output only.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.setTensorflowVersion(String value) Required.setTensorflowVersionBytes(com.google.protobuf.ByteString value) Required.setUseServiceNetworking(boolean value) Whether the VPC peering for the node is set up through Service Networking API.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) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- 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) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- 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) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- 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) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- 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
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAcceleratorTypein interfaceNodeOrBuilder- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
public com.google.protobuf.ByteString getAcceleratorTypeBytes()Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAcceleratorTypeBytesin interfaceNodeOrBuilder- Returns:
- The bytes for acceleratorType.
-
setAcceleratorType
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The acceleratorType to set.- Returns:
- This builder for chaining.
-
clearAcceleratorType
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setAcceleratorTypeBytes
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for acceleratorType to set.- Returns:
- This builder for chaining.
-
getIpAddress
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Specified by:
getIpAddressin interfaceNodeOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Specified by:
getIpAddressBytesin interfaceNodeOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Returns:
- This builder for chaining.
-
setIpAddressBytes
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getPort
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Specified by:
getPortin interfaceNodeOrBuilder- Returns:
- The port.
-
getPortBytes
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Specified by:
getPortBytesin interfaceNodeOrBuilder- Returns:
- The bytes for port.
-
setPort
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Returns:
- This builder for chaining.
-
setPortBytes
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Parameters:
value- The bytes for port to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. The current state for the TPU Node.
.google.cloud.tpu.v1.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.v1.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.v1.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.v1.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.v1.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.
-
getTensorflowVersion
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTensorflowVersionin interfaceNodeOrBuilder- Returns:
- The tensorflowVersion.
-
getTensorflowVersionBytes
public com.google.protobuf.ByteString getTensorflowVersionBytes()Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTensorflowVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for tensorflowVersion.
-
setTensorflowVersion
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The tensorflowVersion to set.- Returns:
- This builder for chaining.
-
clearTensorflowVersion
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTensorflowVersionBytes
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for tensorflowVersion to set.- Returns:
- This builder for chaining.
-
getNetwork
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Specified by:
getNetworkin interfaceNodeOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Specified by:
getNetworkBytesin interfaceNodeOrBuilder- Returns:
- The bytes for network.
-
setNetwork
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Returns:
- This builder for chaining.
-
setNetworkBytes
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
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.
-
getServiceAccount
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAccountin interfaceNodeOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAccountBytesin interfaceNodeOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setServiceAccountBytes
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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.v1.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.v1.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigin interfaceNodeOrBuilder- Returns:
- The schedulingConfig.
-
setSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17; -
setSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17; -
mergeSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17; -
clearSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17; -
getSchedulingConfigBuilder
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17; -
getSchedulingConfigOrBuilder
The scheduling options for this node.
.google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.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 Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHealthValue
public int getHealthValue()The health status of the TPU node.
.google.cloud.tpu.v1.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.v1.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.v1.Node.Health health = 22;- Specified by:
getHealthin interfaceNodeOrBuilder- Returns:
- The health.
-
setHealth
The health status of the TPU node.
.google.cloud.tpu.v1.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.v1.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; -
getUseServiceNetworking
public boolean getUseServiceNetworking()Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
bool use_service_networking = 27;- Specified by:
getUseServiceNetworkingin interfaceNodeOrBuilder- Returns:
- The useServiceNetworking.
-
setUseServiceNetworking
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
bool use_service_networking = 27;- Parameters:
value- The useServiceNetworking to set.- Returns:
- This builder for chaining.
-
clearUseServiceNetworking
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
bool use_service_networking = 27;- Returns:
- This builder for chaining.
-
getApiVersionValue
public int getApiVersionValue()Output only. The API version that created this Node.
.google.cloud.tpu.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
-