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.Builder
addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)
Output only.Node.Builder
addAllSymptoms(Iterable<? extends Symptom> values)
Output only.Node.Builder
addNetworkEndpoints(int index, NetworkEndpoint value)
Output only.Node.Builder
addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only.Node.Builder
addNetworkEndpoints(NetworkEndpoint value)
Output only.Node.Builder
addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)
Output only.NetworkEndpoint.Builder
addNetworkEndpointsBuilder()
Output only.NetworkEndpoint.Builder
addNetworkEndpointsBuilder(int index)
Output only.Node.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Node.Builder
addSymptoms(int index, Symptom value)
Output only.Node.Builder
addSymptoms(int index, Symptom.Builder builderForValue)
Output only.Node.Builder
addSymptoms(Symptom value)
Output only.Node.Builder
addSymptoms(Symptom.Builder builderForValue)
Output only.Symptom.Builder
addSymptomsBuilder()
Output only.Symptom.Builder
addSymptomsBuilder(int index)
Output only.Node
build()
Node
buildPartial()
Node.Builder
clear()
Node.Builder
clearAcceleratorType()
Required.Node.Builder
clearApiVersion()
Output only.Node.Builder
clearCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
clearCreateTime()
Output only.Node.Builder
clearDescription()
The user-supplied description of the TPU.Node.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Node.Builder
clearHealth()
The health status of the TPU node.Node.Builder
clearHealthDescription()
Output only.Node.Builder
clearIpAddress()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.Builder
clearLabels()
Node.Builder
clearName()
Output only.Node.Builder
clearNetwork()
The name of a network they wish to peer the TPU node to.Node.Builder
clearNetworkEndpoints()
Output only.Node.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Node.Builder
clearPort()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.Builder
clearSchedulingConfig()
The scheduling options for this node.Node.Builder
clearServiceAccount()
Output only.Node.Builder
clearState()
Output only.Node.Builder
clearSymptoms()
Output only.Node.Builder
clearTensorflowVersion()
Required.Node.Builder
clearUseServiceNetworking()
Whether the VPC peering for the node is set up through Service Networking API.Node.Builder
clone()
boolean
containsLabels(String key)
Resource labels to represent user-provided metadata.String
getAcceleratorType()
Required.com.google.protobuf.ByteString
getAcceleratorTypeBytes()
Required.Node.ApiVersion
getApiVersion()
Output only.int
getApiVersionValue()
Output only.String
getCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteString
getCidrBlockBytes()
The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Node
getDefaultInstanceForType()
String
getDescription()
The user-supplied description of the TPU.com.google.protobuf.ByteString
getDescriptionBytes()
The user-supplied description of the TPU.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Node.Health
getHealth()
The health status of the TPU node.String
getHealthDescription()
Output only.com.google.protobuf.ByteString
getHealthDescriptionBytes()
Output only.int
getHealthValue()
The health status of the TPU node.String
getIpAddress()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.com.google.protobuf.ByteString
getIpAddressBytes()
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Resource labels to represent user-provided metadata.Map<String,String>
getLabelsMap()
Resource labels to represent user-provided metadata.String
getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.String
getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNetwork()
The name of a network they wish to peer the TPU node to.com.google.protobuf.ByteString
getNetworkBytes()
The name of a network they wish to peer the TPU node to.NetworkEndpoint
getNetworkEndpoints(int index)
Output only.NetworkEndpoint.Builder
getNetworkEndpointsBuilder(int index)
Output only.List<NetworkEndpoint.Builder>
getNetworkEndpointsBuilderList()
Output only.int
getNetworkEndpointsCount()
Output only.List<NetworkEndpoint>
getNetworkEndpointsList()
Output only.NetworkEndpointOrBuilder
getNetworkEndpointsOrBuilder(int index)
Output only.List<? extends NetworkEndpointOrBuilder>
getNetworkEndpointsOrBuilderList()
Output only.String
getPort()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated.com.google.protobuf.ByteString
getPortBytes()
Deprecated.google.cloud.tpu.v1.Node.port is deprecated.SchedulingConfig
getSchedulingConfig()
The scheduling options for this node.SchedulingConfig.Builder
getSchedulingConfigBuilder()
The scheduling options for this node.SchedulingConfigOrBuilder
getSchedulingConfigOrBuilder()
The scheduling options for this node.String
getServiceAccount()
Output only.com.google.protobuf.ByteString
getServiceAccountBytes()
Output only.Node.State
getState()
Output only.int
getStateValue()
Output only.Symptom
getSymptoms(int index)
Output only.Symptom.Builder
getSymptomsBuilder(int index)
Output only.List<Symptom.Builder>
getSymptomsBuilderList()
Output only.int
getSymptomsCount()
Output only.List<Symptom>
getSymptomsList()
Output only.SymptomOrBuilder
getSymptomsOrBuilder(int index)
Output only.List<? extends SymptomOrBuilder>
getSymptomsOrBuilderList()
Output only.String
getTensorflowVersion()
Required.com.google.protobuf.ByteString
getTensorflowVersionBytes()
Required.boolean
getUseServiceNetworking()
Whether the VPC peering for the node is set up through Service Networking API.boolean
hasCreateTime()
Output only.boolean
hasSchedulingConfig()
The scheduling options for this node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Node.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Node.Builder
mergeFrom(Node other)
Node.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Node.Builder
mergeFrom(com.google.protobuf.Message other)
Node.Builder
mergeSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.Node.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Node.Builder
putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.Node.Builder
putLabels(String key, String value)
Resource labels to represent user-provided metadata.Node.Builder
removeLabels(String key)
Resource labels to represent user-provided metadata.Node.Builder
removeNetworkEndpoints(int index)
Output only.Node.Builder
removeSymptoms(int index)
Output only.Node.Builder
setAcceleratorType(String value)
Required.Node.Builder
setAcceleratorTypeBytes(com.google.protobuf.ByteString value)
Required.Node.Builder
setApiVersion(Node.ApiVersion value)
Output only.Node.Builder
setApiVersionValue(int value)
Output only.Node.Builder
setCidrBlock(String value)
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
setCidrBlockBytes(com.google.protobuf.ByteString value)
The CIDR block that the TPU node will use when selecting an IP address.Node.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Node.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Node.Builder
setDescription(String value)
The user-supplied description of the TPU.Node.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the TPU.Node.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Node.Builder
setHealth(Node.Health value)
The health status of the TPU node.Node.Builder
setHealthDescription(String value)
Output only.Node.Builder
setHealthDescriptionBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setHealthValue(int value)
The health status of the TPU node.Node.Builder
setIpAddress(String value)
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Node.Builder
setName(String value)
Output only.Node.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setNetwork(String value)
The name of a network they wish to peer the TPU node to.Node.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
The name of a network they wish to peer the TPU node to.Node.Builder
setNetworkEndpoints(int index, NetworkEndpoint value)
Output only.Node.Builder
setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
Output only.Node.Builder
setPort(String value)
Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.Builder
setPortBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.tpu.v1.Node.port is deprecated.Node.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Node.Builder
setSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.Node.Builder
setSchedulingConfig(SchedulingConfig.Builder builderForValue)
The scheduling options for this node.Node.Builder
setServiceAccount(String value)
Output only.Node.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
Output only.Node.Builder
setState(Node.State value)
Output only.Node.Builder
setStateValue(int value)
Output only.Node.Builder
setSymptoms(int index, Symptom value)
Output only.Node.Builder
setSymptoms(int index, Symptom.Builder builderForValue)
Output only.Node.Builder
setTensorflowVersion(String value)
Required.Node.Builder
setTensorflowVersionBytes(com.google.protobuf.ByteString value)
Required.Node.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Node.Builder
setUseServiceNetworking(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clear
public Node.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Node build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Node buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Node.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setField
public Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearField
public Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
clearOneof
public Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
setRepeatedField
public Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
addRepeatedField
public Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceNodeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceNodeOrBuilder
- Returns:
- The bytes for name.
-
setName
public Node.Builder setName(String value)
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = 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:
getDescription
in interfaceNodeOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceNodeOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Node.Builder setDescription(String value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Node.Builder clearDescription()
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Node.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAcceleratorType
public String getAcceleratorType()
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAcceleratorType
in 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:
getAcceleratorTypeBytes
in 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:
getIpAddress
in 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:
getIpAddressBytes
in 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:
getPort
in 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:
getPortBytes
in 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:
getStateValue
in interfaceNodeOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Node.Builder setStateValue(int value)
Output only. The current state for the TPU Node.
.google.cloud.tpu.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:
getState
in interfaceNodeOrBuilder
- Returns:
- The state.
-
setState
public Node.Builder setState(Node.State value)
Output only. The current state for the TPU Node.
.google.cloud.tpu.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:
getHealthDescription
in interfaceNodeOrBuilder
- Returns:
- The healthDescription.
-
getHealthDescriptionBytes
public com.google.protobuf.ByteString getHealthDescriptionBytes()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthDescriptionBytes
in interfaceNodeOrBuilder
- Returns:
- The bytes for healthDescription.
-
setHealthDescription
public Node.Builder setHealthDescription(String value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The healthDescription to set.- Returns:
- This builder for chaining.
-
clearHealthDescription
public Node.Builder clearHealthDescription()
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setHealthDescriptionBytes
public Node.Builder setHealthDescriptionBytes(com.google.protobuf.ByteString value)
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for healthDescription to set.- Returns:
- This builder for chaining.
-
getTensorflowVersion
public String getTensorflowVersion()
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTensorflowVersion
in 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:
getTensorflowVersionBytes
in 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:
getNetwork
in 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:
getNetworkBytes
in 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:
getCidrBlock
in interfaceNodeOrBuilder
- Returns:
- The cidrBlock.
-
getCidrBlockBytes
public com.google.protobuf.ByteString getCidrBlockBytes()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;
- Specified by:
getCidrBlockBytes
in interfaceNodeOrBuilder
- Returns:
- The bytes for cidrBlock.
-
setCidrBlock
public Node.Builder setCidrBlock(String value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;
- Parameters:
value
- The cidrBlock to set.- Returns:
- This builder for chaining.
-
clearCidrBlock
public Node.Builder clearCidrBlock()
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;
- Returns:
- This builder for chaining.
-
setCidrBlockBytes
public Node.Builder setCidrBlockBytes(com.google.protobuf.ByteString value)
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;
- Parameters:
value
- The bytes for cidrBlock to set.- Returns:
- This builder for chaining.
-
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:
getServiceAccount
in 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:
getServiceAccountBytes
in 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:
hasCreateTime
in interfaceNodeOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceNodeOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Node.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Node.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Node.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Node.Builder clearCreateTime()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceNodeOrBuilder
-
hasSchedulingConfig
public boolean hasSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
- Specified by:
hasSchedulingConfig
in interfaceNodeOrBuilder
- Returns:
- Whether the schedulingConfig field is set.
-
getSchedulingConfig
public SchedulingConfig getSchedulingConfig()
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;
- Specified by:
getSchedulingConfig
in interfaceNodeOrBuilder
- Returns:
- The schedulingConfig.
-
setSchedulingConfig
public Node.Builder setSchedulingConfig(SchedulingConfig value)
The scheduling options for this node.
.google.cloud.tpu.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:
getSchedulingConfigOrBuilder
in interfaceNodeOrBuilder
-
getNetworkEndpointsList
public List<NetworkEndpoint> getNetworkEndpointsList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getNetworkEndpointsList
in interfaceNodeOrBuilder
-
getNetworkEndpointsCount
public int getNetworkEndpointsCount()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getNetworkEndpointsCount
in interfaceNodeOrBuilder
-
getNetworkEndpoints
public NetworkEndpoint getNetworkEndpoints(int index)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getNetworkEndpoints
in interfaceNodeOrBuilder
-
setNetworkEndpoints
public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint value)
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getNetworkEndpointsOrBuilder
in interfaceNodeOrBuilder
-
getNetworkEndpointsOrBuilderList
public List<? extends NetworkEndpointOrBuilder> getNetworkEndpointsOrBuilderList()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getNetworkEndpointsOrBuilderList
in interfaceNodeOrBuilder
-
addNetworkEndpointsBuilder
public NetworkEndpoint.Builder addNetworkEndpointsBuilder()
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that 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:
getHealthValue
in interfaceNodeOrBuilder
- Returns:
- The enum numeric value on the wire for health.
-
setHealthValue
public Node.Builder setHealthValue(int value)
The health status of the TPU node.
.google.cloud.tpu.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:
getHealth
in 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:NodeOrBuilder
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsCount
in interfaceNodeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
containsLabels
in interfaceNodeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceNodeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsMap
in interfaceNodeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsOrDefault
in interfaceNodeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
- Specified by:
getLabelsOrThrow
in interfaceNodeOrBuilder
-
clearLabels
public Node.Builder clearLabels()
-
removeLabels
public Node.Builder removeLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Node.Builder putLabels(String key, String value)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
putAllLabels
public Node.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;
-
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:
getUseServiceNetworking
in 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:
getApiVersionValue
in interfaceNodeOrBuilder
- Returns:
- The enum numeric value on the wire for apiVersion.
-
setApiVersionValue
public Node.Builder setApiVersionValue(int value)
Output only. The API version that created this Node.
.google.cloud.tpu.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:
getApiVersion
in interfaceNodeOrBuilder
- Returns:
- The apiVersion.
-
setApiVersion
public Node.Builder setApiVersion(Node.ApiVersion value)
Output only. The API version that created this Node.
.google.cloud.tpu.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:
getSymptomsList
in 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:
getSymptomsCount
in 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:
getSymptoms
in interfaceNodeOrBuilder
-
setSymptoms
public Node.Builder setSymptoms(int index, Symptom value)
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.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:
getSymptomsOrBuilder
in 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:
getSymptomsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
mergeUnknownFields
public final Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Node.Builder>
-
-