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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder
A TPU instance.
Protobuf typegoogle.cloud.tpu.v1.Node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Node.BuilderaddAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)Output only.Node.BuilderaddAllSymptoms(Iterable<? extends Symptom> values)Output only.Node.BuilderaddNetworkEndpoints(int index, NetworkEndpoint value)Output only.Node.BuilderaddNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)Output only.Node.BuilderaddNetworkEndpoints(NetworkEndpoint value)Output only.Node.BuilderaddNetworkEndpoints(NetworkEndpoint.Builder builderForValue)Output only.NetworkEndpoint.BuilderaddNetworkEndpointsBuilder()Output only.NetworkEndpoint.BuilderaddNetworkEndpointsBuilder(int index)Output only.Node.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Node.BuilderaddSymptoms(int index, Symptom value)Output only.Node.BuilderaddSymptoms(int index, Symptom.Builder builderForValue)Output only.Node.BuilderaddSymptoms(Symptom value)Output only.Node.BuilderaddSymptoms(Symptom.Builder builderForValue)Output only.Symptom.BuilderaddSymptomsBuilder()Output only.Symptom.BuilderaddSymptomsBuilder(int index)Output only.Nodebuild()NodebuildPartial()Node.Builderclear()Node.BuilderclearAcceleratorType()Required.Node.BuilderclearApiVersion()Output only.Node.BuilderclearCidrBlock()The CIDR block that the TPU node will use when selecting an IP address.Node.BuilderclearCreateTime()Output only.Node.BuilderclearDescription()The user-supplied description of the TPU.Node.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Node.BuilderclearHealth()The health status of the TPU node.Node.BuilderclearHealthDescription()Output only.Node.BuilderclearIpAddress()Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.BuilderclearLabels()Node.BuilderclearName()Output only.Node.BuilderclearNetwork()The name of a network they wish to peer the TPU node to.Node.BuilderclearNetworkEndpoints()Output only.Node.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Node.BuilderclearPort()Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.BuilderclearSchedulingConfig()The scheduling options for this node.Node.BuilderclearServiceAccount()Output only.Node.BuilderclearState()Output only.Node.BuilderclearSymptoms()Output only.Node.BuilderclearTensorflowVersion()Required.Node.BuilderclearUseServiceNetworking()Whether the VPC peering for the node is set up through Service Networking API.Node.Builderclone()booleancontainsLabels(String key)Resource labels to represent user-provided metadata.StringgetAcceleratorType()Required.com.google.protobuf.ByteStringgetAcceleratorTypeBytes()Required.Node.ApiVersiongetApiVersion()Output only.intgetApiVersionValue()Output only.StringgetCidrBlock()The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteStringgetCidrBlockBytes()The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.NodegetDefaultInstanceForType()StringgetDescription()The user-supplied description of the TPU.com.google.protobuf.ByteStringgetDescriptionBytes()The user-supplied description of the TPU.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Node.HealthgetHealth()The health status of the TPU node.StringgetHealthDescription()Output only.com.google.protobuf.ByteStringgetHealthDescriptionBytes()Output only.intgetHealthValue()The health status of the TPU node.StringgetIpAddress()Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.com.google.protobuf.ByteStringgetIpAddressBytes()Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Resource labels to represent user-provided metadata.Map<String,String>getLabelsMap()Resource labels to represent user-provided metadata.StringgetLabelsOrDefault(String key, String defaultValue)Resource labels to represent user-provided metadata.StringgetLabelsOrThrow(String key)Resource labels to represent user-provided metadata.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNetwork()The name of a network they wish to peer the TPU node to.com.google.protobuf.ByteStringgetNetworkBytes()The name of a network they wish to peer the TPU node to.NetworkEndpointgetNetworkEndpoints(int index)Output only.NetworkEndpoint.BuildergetNetworkEndpointsBuilder(int index)Output only.List<NetworkEndpoint.Builder>getNetworkEndpointsBuilderList()Output only.intgetNetworkEndpointsCount()Output only.List<NetworkEndpoint>getNetworkEndpointsList()Output only.NetworkEndpointOrBuildergetNetworkEndpointsOrBuilder(int index)Output only.List<? extends NetworkEndpointOrBuilder>getNetworkEndpointsOrBuilderList()Output only.StringgetPort()Deprecated.google.cloud.tpu.v1.Node.port is deprecated.com.google.protobuf.ByteStringgetPortBytes()Deprecated.google.cloud.tpu.v1.Node.port is deprecated.SchedulingConfiggetSchedulingConfig()The scheduling options for this node.SchedulingConfig.BuildergetSchedulingConfigBuilder()The scheduling options for this node.SchedulingConfigOrBuildergetSchedulingConfigOrBuilder()The scheduling options for this node.StringgetServiceAccount()Output only.com.google.protobuf.ByteStringgetServiceAccountBytes()Output only.Node.StategetState()Output only.intgetStateValue()Output only.SymptomgetSymptoms(int index)Output only.Symptom.BuildergetSymptomsBuilder(int index)Output only.List<Symptom.Builder>getSymptomsBuilderList()Output only.intgetSymptomsCount()Output only.List<Symptom>getSymptomsList()Output only.SymptomOrBuildergetSymptomsOrBuilder(int index)Output only.List<? extends SymptomOrBuilder>getSymptomsOrBuilderList()Output only.StringgetTensorflowVersion()Required.com.google.protobuf.ByteStringgetTensorflowVersionBytes()Required.booleangetUseServiceNetworking()Whether the VPC peering for the node is set up through Service Networking API.booleanhasCreateTime()Output only.booleanhasSchedulingConfig()The scheduling options for this node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Node.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Node.BuildermergeFrom(Node other)Node.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Node.BuildermergeFrom(com.google.protobuf.Message other)Node.BuildermergeSchedulingConfig(SchedulingConfig value)The scheduling options for this node.Node.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Node.BuilderputAllLabels(Map<String,String> values)Resource labels to represent user-provided metadata.Node.BuilderputLabels(String key, String value)Resource labels to represent user-provided metadata.Node.BuilderremoveLabels(String key)Resource labels to represent user-provided metadata.Node.BuilderremoveNetworkEndpoints(int index)Output only.Node.BuilderremoveSymptoms(int index)Output only.Node.BuildersetAcceleratorType(String value)Required.Node.BuildersetAcceleratorTypeBytes(com.google.protobuf.ByteString value)Required.Node.BuildersetApiVersion(Node.ApiVersion value)Output only.Node.BuildersetApiVersionValue(int value)Output only.Node.BuildersetCidrBlock(String value)The CIDR block that the TPU node will use when selecting an IP address.Node.BuildersetCidrBlockBytes(com.google.protobuf.ByteString value)The CIDR block that the TPU node will use when selecting an IP address.Node.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Node.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Node.BuildersetDescription(String value)The user-supplied description of the TPU.Node.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The user-supplied description of the TPU.Node.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Node.BuildersetHealth(Node.Health value)The health status of the TPU node.Node.BuildersetHealthDescription(String value)Output only.Node.BuildersetHealthDescriptionBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetHealthValue(int value)The health status of the TPU node.Node.BuildersetIpAddress(String value)Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.BuildersetName(String value)Output only.Node.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetNetwork(String value)The name of a network they wish to peer the TPU node to.Node.BuildersetNetworkBytes(com.google.protobuf.ByteString value)The name of a network they wish to peer the TPU node to.Node.BuildersetNetworkEndpoints(int index, NetworkEndpoint value)Output only.Node.BuildersetNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)Output only.Node.BuildersetPort(String value)Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.BuildersetPortBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Node.BuildersetSchedulingConfig(SchedulingConfig value)The scheduling options for this node.Node.BuildersetSchedulingConfig(SchedulingConfig.Builder builderForValue)The scheduling options for this node.Node.BuildersetServiceAccount(String value)Output only.Node.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)Output only.Node.BuildersetState(Node.State value)Output only.Node.BuildersetStateValue(int value)Output only.Node.BuildersetSymptoms(int index, Symptom value)Output only.Node.BuildersetSymptoms(int index, Symptom.Builder builderForValue)Output only.Node.BuildersetTensorflowVersion(String value)Required.Node.BuildersetTensorflowVersionBytes(com.google.protobuf.ByteString value)Required.Node.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Node.BuildersetUseServiceNetworking(boolean value)Whether the VPC peering for the node is set up through Service Networking API.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clear
public Node.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Node build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Node buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Node.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setField
public Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearField
public Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearOneof
public Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setRepeatedField
public Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
addRepeatedField
public Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = 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
public Node.Builder setName(String value)
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
public Node.Builder 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
public Node.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String getDescription()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionin interfaceNodeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Node.Builder setDescription(String value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Node.Builder clearDescription()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Node.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAcceleratorType
public String getAcceleratorType()
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
public Node.Builder setAcceleratorType(String value)
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
public Node.Builder 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
public Node.Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value)
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 public String getIpAddress()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279Output 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 public com.google.protobuf.ByteString getIpAddressBytes()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279Output 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 public Node.Builder setIpAddress(String value)
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279Output 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 public Node.Builder clearIpAddress()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279Output 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 public Node.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279Output 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 public String getPort()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283Output 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 public com.google.protobuf.ByteString getPortBytes()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283Output 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 public Node.Builder setPort(String value)
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283Output 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 public Node.Builder clearPort()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283Output 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 public Node.Builder setPortBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283Output 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
public Node.Builder setStateValue(int value)
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
public Node.State 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
public Node.Builder setState(Node.State value)
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
public Node.Builder 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
public String getHealthDescription()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionin interfaceNodeOrBuilder- Returns:
- The healthDescription.
-
getHealthDescriptionBytes
public com.google.protobuf.ByteString getHealthDescriptionBytes()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for healthDescription.
-
setHealthDescription
public Node.Builder setHealthDescription(String value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The healthDescription to set.- Returns:
- This builder for chaining.
-
clearHealthDescription
public Node.Builder clearHealthDescription()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setHealthDescriptionBytes
public Node.Builder setHealthDescriptionBytes(com.google.protobuf.ByteString value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for healthDescription to set.- Returns:
- This builder for chaining.
-
getTensorflowVersion
public String 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
public Node.Builder setTensorflowVersion(String value)
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
public Node.Builder 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
public Node.Builder setTensorflowVersionBytes(com.google.protobuf.ByteString value)
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
public String 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
public Node.Builder setNetwork(String value)
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
public Node.Builder 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
public Node.Builder setNetworkBytes(com.google.protobuf.ByteString value)
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
public String getCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockin interfaceNodeOrBuilder- Returns:
- The cidrBlock.
-
getCidrBlockBytes
public com.google.protobuf.ByteString getCidrBlockBytes()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockBytesin interfaceNodeOrBuilder- Returns:
- The bytes for cidrBlock.
-
setCidrBlock
public Node.Builder setCidrBlock(String value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Parameters:
value- The cidrBlock to set.- Returns:
- This builder for chaining.
-
clearCidrBlock
public Node.Builder clearCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Returns:
- This builder for chaining.
-
setCidrBlockBytes
public Node.Builder setCidrBlockBytes(com.google.protobuf.ByteString value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Parameters:
value- The bytes for cidrBlock to set.- Returns:
- This builder for chaining.
-
getServiceAccount
public String 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
public Node.Builder setServiceAccount(String value)
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
public Node.Builder 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
public Node.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
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
public Node.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Node.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Node.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Node.Builder clearCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceNodeOrBuilder
-
hasSchedulingConfig
public boolean hasSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
hasSchedulingConfigin interfaceNodeOrBuilder- Returns:
- Whether the schedulingConfig field is set.
-
getSchedulingConfig
public SchedulingConfig getSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigin interfaceNodeOrBuilder- Returns:
- The schedulingConfig.
-
setSchedulingConfig
public Node.Builder setSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
-
setSchedulingConfig
public Node.Builder setSchedulingConfig(SchedulingConfig.Builder builderForValue)
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
-
mergeSchedulingConfig
public Node.Builder mergeSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
-
clearSchedulingConfig
public Node.Builder clearSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
-
getSchedulingConfigBuilder
public SchedulingConfig.Builder getSchedulingConfigBuilder()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
-
getSchedulingConfigOrBuilder
public SchedulingConfigOrBuilder getSchedulingConfigOrBuilder()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigOrBuilderin interfaceNodeOrBuilder
-
getNetworkEndpointsList
public List<NetworkEndpoint> getNetworkEndpointsList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public NetworkEndpoint getNetworkEndpoints(int index)
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
public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder addNetworkEndpoints(NetworkEndpoint value)
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
public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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
public Node.Builder 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
public Node.Builder removeNetworkEndpoints(int index)
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
public NetworkEndpoint.Builder getNetworkEndpointsBuilder(int index)
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
public NetworkEndpointOrBuilder getNetworkEndpointsOrBuilder(int index)
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
public List<? extends NetworkEndpointOrBuilder> 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
public NetworkEndpoint.Builder 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
public NetworkEndpoint.Builder addNetworkEndpointsBuilder(int index)
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
public List<NetworkEndpoint.Builder> 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
public Node.Builder setHealthValue(int value)
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
public Node.Health getHealth()
The health status of the TPU node.
.google.cloud.tpu.v1.Node.Health health = 22;- Specified by:
getHealthin interfaceNodeOrBuilder- Returns:
- The health.
-
setHealth
public Node.Builder setHealth(Node.Health value)
The health status of the TPU node.
.google.cloud.tpu.v1.Node.Health health = 22;- Parameters:
value- The health to set.- Returns:
- This builder for chaining.
-
clearHealth
public Node.Builder clearHealth()
The health status of the TPU node.
.google.cloud.tpu.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
public boolean containsLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
containsLabelsin interfaceNodeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsMapin interfaceNodeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrDefaultin interfaceNodeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrThrowin interfaceNodeOrBuilder
-
clearLabels
public Node.Builder clearLabels()
-
removeLabels
public Node.Builder removeLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Node.Builder putLabels(String key, String value)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
putAllLabels
public Node.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
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
public Node.Builder setUseServiceNetworking(boolean value)
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
public Node.Builder 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
public Node.Builder setApiVersionValue(int value)
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
public Node.ApiVersion 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
public Node.Builder setApiVersion(Node.ApiVersion value)
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
public Node.Builder 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
public List<Symptom> 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
public Symptom getSymptoms(int index)
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
public Node.Builder setSymptoms(int index, Symptom value)
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
public Node.Builder setSymptoms(int index, Symptom.Builder builderForValue)
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
public Node.Builder addSymptoms(Symptom value)
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
public Node.Builder addSymptoms(int index, Symptom value)
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
public Node.Builder addSymptoms(Symptom.Builder builderForValue)
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
public Node.Builder addSymptoms(int index, Symptom.Builder builderForValue)
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
public Node.Builder addAllSymptoms(Iterable<? extends Symptom> values)
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
public Node.Builder 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
public Node.Builder removeSymptoms(int index)
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
public Symptom.Builder getSymptomsBuilder(int index)
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
public SymptomOrBuilder getSymptomsOrBuilder(int index)
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
public List<? extends SymptomOrBuilder> 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
public Symptom.Builder 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
public Symptom.Builder addSymptomsBuilder(int index)
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
public List<Symptom.Builder> 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];
-
setUnknownFields
public final Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeUnknownFields
public final Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
-