Class Node.Builder (2.43.0)

public static final class Node.Builder extends GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder

A TPU instance.

Protobuf type google.cloud.tpu.v1.Node

Implements

NodeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v1.NetworkEndpoint>
Returns
Type Description
Node.Builder

addAllSymptoms(Iterable<? extends Symptom> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v1.Symptom>
Returns
Type Description
Node.Builder

addNetworkEndpoints(NetworkEndpoint value)

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];

Parameter
Name Description
value NetworkEndpoint
Returns
Type Description
Node.Builder

addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)

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];

Parameter
Name Description
builderForValue NetworkEndpoint.Builder
Returns
Type Description
Node.Builder

addNetworkEndpoints(int index, NetworkEndpoint value)

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];

Parameters
Name Description
index int
value NetworkEndpoint
Returns
Type Description
Node.Builder

addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue NetworkEndpoint.Builder
Returns
Type Description
Node.Builder

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];

Returns
Type Description
NetworkEndpoint.Builder

addNetworkEndpointsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Node.Builder
Overrides

addSymptoms(Symptom value)

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];

Parameter
Name Description
value Symptom
Returns
Type Description
Node.Builder

addSymptoms(Symptom.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Symptom.Builder
Returns
Type Description
Node.Builder

addSymptoms(int index, Symptom value)

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];

Parameters
Name Description
index int
value Symptom
Returns
Type Description
Node.Builder

addSymptoms(int index, Symptom.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Symptom.Builder
Returns
Type Description
Node.Builder

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];

Returns
Type Description
Symptom.Builder

addSymptomsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Symptom.Builder

build()

public Node build()
Returns
Type Description
Node

buildPartial()

public Node buildPartial()
Returns
Type Description
Node

clear()

public Node.Builder clear()
Returns
Type Description
Node.Builder
Overrides

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
Type Description
Node.Builder

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
Type Description
Node.Builder

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
Type Description
Node.Builder

This builder for chaining.

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];

Returns
Type Description
Node.Builder

clearDescription()

public Node.Builder clearDescription()

The user-supplied description of the TPU. Maximum of 512 characters.

string description = 3;

Returns
Type Description
Node.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Node.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Node.Builder
Overrides

clearHealth()

public Node.Builder clearHealth()

The health status of the TPU node.

.google.cloud.tpu.v1.Node.Health health = 22;

Returns
Type Description
Node.Builder

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
Type Description
Node.Builder

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=279

Output 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
Type Description
Node.Builder

This builder for chaining.

clearLabels()

public Node.Builder clearLabels()
Returns
Type Description
Node.Builder

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
Type Description
Node.Builder

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
Type Description
Node.Builder

This builder for chaining.

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];

Returns
Type Description
Node.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Node.Builder
Overrides

clearPort() (deprecated)

public Node.Builder clearPort()

Deprecated. google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283

Output 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
Type Description
Node.Builder

This builder for chaining.

clearSchedulingConfig()

public Node.Builder clearSchedulingConfig()

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Returns
Type Description
Node.Builder

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
Type Description
Node.Builder

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
Type Description
Node.Builder

This builder for chaining.

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];

Returns
Type Description
Node.Builder

clearTensorflowVersion()

public Node.Builder clearTensorflowVersion()

Required. The version of Tensorflow running in the Node.

string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Node.Builder

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
Type Description
Node.Builder

This builder for chaining.

clone()

public Node.Builder clone()
Returns
Type Description
Node.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAcceleratorType()

public String getAcceleratorType()

Required. The type of hardware accelerators associated with this node.

string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The acceleratorType.

getAcceleratorTypeBytes()

public ByteString getAcceleratorTypeBytes()

Required. The type of hardware accelerators associated with this node.

string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for acceleratorType.

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];

Returns
Type Description
Node.ApiVersion

The apiVersion.

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];

Returns
Type Description
int

The enum numeric value on the wire for apiVersion.

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;

Returns
Type Description
String

The cidrBlock.

getCidrBlockBytes()

public 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;

Returns
Type Description
ByteString

The bytes for cidrBlock.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Node getDefaultInstanceForType()
Returns
Type Description
Node

getDescription()

public String getDescription()

The user-supplied description of the TPU. Maximum of 512 characters.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The user-supplied description of the TPU. Maximum of 512 characters.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHealth()

public Node.Health getHealth()

The health status of the TPU node.

.google.cloud.tpu.v1.Node.Health health = 22;

Returns
Type Description
Node.Health

The health.

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];

Returns
Type Description
String

The healthDescription.

getHealthDescriptionBytes()

public 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];

Returns
Type Description
ByteString

The bytes for healthDescription.

getHealthValue()

public int getHealthValue()

The health status of the TPU node.

.google.cloud.tpu.v1.Node.Health health = 22;

Returns
Type Description
int

The enum numeric value on the wire for health.

getIpAddress() (deprecated)

public String getIpAddress()

Deprecated. google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279

Output 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
Type Description
String

The ipAddress.

getIpAddressBytes() (deprecated)

public ByteString getIpAddressBytes()

Deprecated. google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279

Output 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
Type Description
ByteString

The bytes for ipAddress.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Immutable. The name of the TPU

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

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;

Returns
Type Description
String

The network.

getNetworkBytes()

public 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;

Returns
Type Description
ByteString

The bytes for network.

getNetworkEndpoints(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint

getNetworkEndpointsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpoint.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<NetworkEndpoint>

getNetworkEndpointsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.tpu.v1.NetworkEndpointOrBuilder>

getPort() (deprecated)

public String getPort()

Deprecated. google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283

Output 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
Type Description
String

The port.

getPortBytes() (deprecated)

public ByteString getPortBytes()

Deprecated. google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283

Output 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
Type Description
ByteString

The bytes for port.

getSchedulingConfig()

public SchedulingConfig getSchedulingConfig()

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Returns
Type Description
SchedulingConfig

The schedulingConfig.

getSchedulingConfigBuilder()

public SchedulingConfig.Builder getSchedulingConfigBuilder()

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Returns
Type Description
SchedulingConfig.Builder

getSchedulingConfigOrBuilder()

public SchedulingConfigOrBuilder getSchedulingConfigOrBuilder()

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Returns
Type Description
SchedulingConfigOrBuilder

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];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public 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];

Returns
Type Description
ByteString

The bytes for serviceAccount.

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];

Returns
Type Description
Node.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSymptoms(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Symptom

getSymptomsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Symptom.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<Symptom>

getSymptomsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SymptomOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.tpu.v1.SymptomOrBuilder>

getTensorflowVersion()

public String getTensorflowVersion()

Required. The version of Tensorflow running in the Node.

string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tensorflowVersion.

getTensorflowVersionBytes()

public ByteString getTensorflowVersionBytes()

Required. The version of Tensorflow running in the Node.

string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tensorflowVersion.

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;

Returns
Type Description
boolean

The useServiceNetworking.

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];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSchedulingConfig()

public boolean hasSchedulingConfig()

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Returns
Type Description
boolean

Whether the schedulingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Node.Builder mergeCreateTime(Timestamp value)

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Node.Builder

mergeFrom(Node other)

public Node.Builder mergeFrom(Node other)
Parameter
Name Description
other Node
Returns
Type Description
Node.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Node.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Node.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Node.Builder
Overrides

mergeSchedulingConfig(SchedulingConfig value)

public Node.Builder mergeSchedulingConfig(SchedulingConfig value)

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Parameter
Name Description
value SchedulingConfig
Returns
Type Description
Node.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Node.Builder
Overrides

putAllLabels(Map<String,String> values)

public Node.Builder putAllLabels(Map<String,String> values)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Node.Builder

putLabels(String key, String value)

public Node.Builder putLabels(String key, String value)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameters
Name Description
key String
value String
Returns
Type Description
Node.Builder

removeLabels(String key)

public Node.Builder removeLabels(String key)

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name Description
key String
Returns
Type Description
Node.Builder

removeNetworkEndpoints(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Node.Builder

removeSymptoms(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Node.Builder

setAcceleratorType(String value)

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];

Parameter
Name Description
value String

The acceleratorType to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setAcceleratorTypeBytes(ByteString value)

public Node.Builder setAcceleratorTypeBytes(ByteString value)

Required. The type of hardware accelerators associated with this node.

string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for acceleratorType to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setApiVersion(Node.ApiVersion value)

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];

Parameter
Name Description
value Node.ApiVersion

The apiVersion to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setApiVersionValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for apiVersion to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setCidrBlock(String value)

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;

Parameter
Name Description
value String

The cidrBlock to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setCidrBlockBytes(ByteString value)

public Node.Builder setCidrBlockBytes(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;

Parameter
Name Description
value ByteString

The bytes for cidrBlock to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Node.Builder setCreateTime(Timestamp value)

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Node.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Node.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the node was created.

.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Node.Builder

setDescription(String value)

public Node.Builder setDescription(String value)

The user-supplied description of the TPU. Maximum of 512 characters.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Node.Builder setDescriptionBytes(ByteString value)

The user-supplied description of the TPU. Maximum of 512 characters.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Node.Builder
Overrides

setHealth(Node.Health value)

public Node.Builder setHealth(Node.Health value)

The health status of the TPU node.

.google.cloud.tpu.v1.Node.Health health = 22;

Parameter
Name Description
value Node.Health

The health to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setHealthDescription(String value)

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];

Parameter
Name Description
value String

The healthDescription to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setHealthDescriptionBytes(ByteString value)

public Node.Builder setHealthDescriptionBytes(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];

Parameter
Name Description
value ByteString

The bytes for healthDescription to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setHealthValue(int value)

public Node.Builder setHealthValue(int value)

The health status of the TPU node.

.google.cloud.tpu.v1.Node.Health health = 22;

Parameter
Name Description
value int

The enum numeric value on the wire for health to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setIpAddress(String value) (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=279

Output 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];

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setIpAddressBytes(ByteString value) (deprecated)

public Node.Builder setIpAddressBytes(ByteString value)

Deprecated. google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=279

Output 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];

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Node.Builder setNameBytes(ByteString value)

Output only. Immutable. The name of the TPU

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setNetwork(String value)

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;

Parameter
Name Description
value String

The network to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public Node.Builder setNetworkBytes(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;

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setNetworkEndpoints(int index, NetworkEndpoint value)

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];

Parameters
Name Description
index int
value NetworkEndpoint
Returns
Type Description
Node.Builder

setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue NetworkEndpoint.Builder
Returns
Type Description
Node.Builder

setPort(String value) (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=283

Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

string port = 14 [deprecated = true];

Parameter
Name Description
value String

The port to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setPortBytes(ByteString value) (deprecated)

public Node.Builder setPortBytes(ByteString value)

Deprecated. google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=283

Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

string port = 14 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for port to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Node.Builder
Overrides

setSchedulingConfig(SchedulingConfig value)

public Node.Builder setSchedulingConfig(SchedulingConfig value)

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Parameter
Name Description
value SchedulingConfig
Returns
Type Description
Node.Builder

setSchedulingConfig(SchedulingConfig.Builder builderForValue)

public Node.Builder setSchedulingConfig(SchedulingConfig.Builder builderForValue)

The scheduling options for this node.

.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;

Parameter
Name Description
builderForValue SchedulingConfig.Builder
Returns
Type Description
Node.Builder

setServiceAccount(String value)

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];

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Node.Builder setServiceAccountBytes(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];

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setState(Node.State value)

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];

Parameter
Name Description
value Node.State

The state to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setSymptoms(int index, Symptom value)

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];

Parameters
Name Description
index int
value Symptom
Returns
Type Description
Node.Builder

setSymptoms(int index, Symptom.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Symptom.Builder
Returns
Type Description
Node.Builder

setTensorflowVersion(String value)

public Node.Builder setTensorflowVersion(String value)

Required. The version of Tensorflow running in the Node.

string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tensorflowVersion to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setTensorflowVersionBytes(ByteString value)

public Node.Builder setTensorflowVersionBytes(ByteString value)

Required. The version of Tensorflow running in the Node.

string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tensorflowVersion to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Node.Builder
Overrides

setUseServiceNetworking(boolean value)

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;

Parameter
Name Description
value boolean

The useServiceNetworking to set.

Returns
Type Description
Node.Builder

This builder for chaining.