Class Node (2.63.0)

  public 
  
 final 
  
 class 
 Node 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 NodeOrBuilder 
 

A TPU instance.

Protobuf type google.cloud.tpu.v2.Node

Implements

NodeOrBuilder

Static Fields

ACCELERATOR_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ACCELERATOR_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int

ACCELERATOR_TYPE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ACCELERATOR_TYPE_FIELD_NUMBER 
 
Field Value
Type
Description
int

API_VERSION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 API_VERSION_FIELD_NUMBER 
 
Field Value
Type
Description
int

CIDR_BLOCK_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CIDR_BLOCK_FIELD_NUMBER 
 
Field Value
Type
Description
int

CREATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CREATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

DATA_DISKS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DATA_DISKS_FIELD_NUMBER 
 
Field Value
Type
Description
int

DESCRIPTION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DESCRIPTION_FIELD_NUMBER 
 
Field Value
Type
Description
int

HEALTH_DESCRIPTION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 HEALTH_DESCRIPTION_FIELD_NUMBER 
 
Field Value
Type
Description
int

HEALTH_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 HEALTH_FIELD_NUMBER 
 
Field Value
Type
Description
int

ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

LABELS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 LABELS_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 METADATA_FIELD_NUMBER 
 
Field Value
Type
Description
int

MULTISLICE_NODE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 MULTISLICE_NODE_FIELD_NUMBER 
 
Field Value
Type
Description
int

NAME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

NETWORK_CONFIGS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NETWORK_CONFIGS_FIELD_NUMBER 
 
Field Value
Type
Description
int

NETWORK_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NETWORK_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int

NETWORK_ENDPOINTS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 NETWORK_ENDPOINTS_FIELD_NUMBER 
 
Field Value
Type
Description
int

QUEUED_RESOURCE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 QUEUED_RESOURCE_FIELD_NUMBER 
 
Field Value
Type
Description
int

RUNTIME_VERSION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 RUNTIME_VERSION_FIELD_NUMBER 
 
Field Value
Type
Description
int

SCHEDULING_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SCHEDULING_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 SERVICE_ACCOUNT_FIELD_NUMBER 
 
Field Value
Type
Description
int

SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int

STATE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 STATE_FIELD_NUMBER 
 
Field Value
Type
Description
int

SYMPTOMS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SYMPTOMS_FIELD_NUMBER 
 
Field Value
Type
Description
int

TAGS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 TAGS_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Node 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 Node 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Node prototype)

  public 
  
 static 
  
 Node 
 . 
 Builder 
  
 newBuilder 
 ( 
 Node 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 Node 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Node 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<Node> 
  
 parser 
 () 
 
Returns
Type
Description
Parser < Node >

Methods

containsLabels(String key)

  public 
  
 boolean 
  
 containsLabels 
 ( 
 String 
  
 key 
 ) 
 

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name
Description
key
Returns
Type
Description
  public 
  
 boolean 
  
 containsMetadata 
 ( 
 String 
  
 key 
 ) 
 

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

map<string, string> metadata = 34;

Parameter
Name
Description
key
Returns
Type
Description

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getAcceleratorConfig()

  public 
  
 AcceleratorConfig 
  
 getAcceleratorConfig 
 () 
 

The AccleratorConfig for the TPU Node.

.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;

Returns
Type
Description

The acceleratorConfig.

getAcceleratorConfigOrBuilder()

  public 
  
 AcceleratorConfigOrBuilder 
  
 getAcceleratorConfigOrBuilder 
 () 
 

The AccleratorConfig for the TPU Node.

.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;

Returns
Type
Description

getAcceleratorType()

  public 
  
 String 
  
 getAcceleratorType 
 () 
 

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

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

Returns
Type
Description

The acceleratorType.

getAcceleratorTypeBytes()

  public 
  
 ByteString 
  
 getAcceleratorTypeBytes 
 () 
 

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

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

Returns
Type
Description

The bytes for acceleratorType.

getApiVersion()

  public 
  
 Node 
 . 
 ApiVersion 
  
 getApiVersion 
 () 
 

Output only. The API version that created this Node.

.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The apiVersion.

getApiVersionValue()

  public 
  
 int 
  
 getApiVersionValue 
 () 
 

Output only. The API version that created this Node.

.google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

The createTime.

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

getDataDisks(int index)

  public 
  
 AttachedDisk 
  
 getDataDisks 
 ( 
 int 
  
 index 
 ) 
 

The additional data disks for the Node.

repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;

Parameter
Name
Description
index
int
Returns
Type
Description

getDataDisksCount()

  public 
  
 int 
  
 getDataDisksCount 
 () 
 

The additional data disks for the Node.

repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;

Returns
Type
Description
int

getDataDisksList()

  public 
  
 List<AttachedDisk> 
  
 getDataDisksList 
 () 
 

The additional data disks for the Node.

repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;

Returns
Type
Description

getDataDisksOrBuilder(int index)

  public 
  
 AttachedDiskOrBuilder 
  
 getDataDisksOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

The additional data disks for the Node.

repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;

Parameter
Name
Description
index
int
Returns
Type
Description

getDataDisksOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 AttachedDiskOrBuilder 
>  
 getDataDisksOrBuilderList 
 () 
 

The additional data disks for the Node.

repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;

Returns
Type
Description
List < ? extends com.google.cloud.tpu.v2.AttachedDiskOrBuilder >

getDefaultInstanceForType()

  public 
  
 Node 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescription()

  public 
  
 String 
  
 getDescription 
 () 
 

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

string description = 3;

Returns
Type
Description

The description.

getDescriptionBytes()

  public 
  
 ByteString 
  
 getDescriptionBytes 
 () 
 

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

string description = 3;

Returns
Type
Description

The bytes for description.

getHealth()

  public 
  
 Node 
 . 
 Health 
  
 getHealth 
 () 
 

The health status of the TPU node.

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

Returns
Type
Description

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

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

The bytes for healthDescription.

getHealthValue()

  public 
  
 int 
  
 getHealthValue 
 () 
 

The health status of the TPU node.

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

Returns
Type
Description
int

The enum numeric value on the wire for health.

getId()

  public 
  
 long 
  
 getId 
 () 
 

Output only. The unique identifier for the TPU Node.

int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The id.

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
defaultValue
Returns
Type
Description

getLabelsOrThrow(String key)

  public 
  
 String 
  
 getLabelsOrThrow 
 ( 
 String 
  
 key 
 ) 
 

Resource labels to represent user-provided metadata.

map<string, string> labels = 24;

Parameter
Name
Description
key
Returns
Type
Description
  public 
  
 Map<String 
 , 
 String 
>  
 getMetadata 
 () 
 

Use #getMetadataMap() instead.

Returns
Type
Description
Map < String , String >

getMetadataCount()

  public 
  
 int 
  
 getMetadataCount 
 () 
 

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

map<string, string> metadata = 34;

Returns
Type
Description
int

getMetadataMap()

  public 
  
 Map<String 
 , 
 String 
>  
 getMetadataMap 
 () 
 

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

map<string, string> metadata = 34;

Returns
Type
Description
Map < String , String >

getMetadataOrDefault(String key, String defaultValue)

  public 
  
 String 
  
 getMetadataOrDefault 
 ( 
 String 
  
 key 
 , 
  
 String 
  
 defaultValue 
 ) 
 

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

map<string, string> metadata = 34;

Parameters
Name
Description
key
defaultValue
Returns
Type
Description

getMetadataOrThrow(String key)

  public 
  
 String 
  
 getMetadataOrThrow 
 ( 
 String 
  
 key 
 ) 
 

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

map<string, string> metadata = 34;

Parameter
Name
Description
key
Returns
Type
Description

getMultisliceNode()

  public 
  
 boolean 
  
 getMultisliceNode 
 () 
 

Output only. Whether the Node belongs to a Multislice group.

bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The multisliceNode.

getName()

  public 
  
 String 
  
 getName 
 () 
 

Output only. Immutable. The name of the TPU.

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

Returns
Type
Description

The name.

getNameBytes()

  public 
  
 ByteString 
  
 getNameBytes 
 () 
 

Output only. Immutable. The name of the TPU.

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

Returns
Type
Description

The bytes for name.

getNetworkConfig()

  public 
  
 NetworkConfig 
  
 getNetworkConfig 
 () 
 

Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

.google.cloud.tpu.v2.NetworkConfig network_config = 36;

Returns
Type
Description

The networkConfig.

getNetworkConfigOrBuilder()

  public 
  
 NetworkConfigOrBuilder 
  
 getNetworkConfigOrBuilder 
 () 
 

Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

.google.cloud.tpu.v2.NetworkConfig network_config = 36;

Returns
Type
Description

getNetworkConfigs(int index)

  public 
  
 NetworkConfig 
  
 getNetworkConfigs 
 ( 
 int 
  
 index 
 ) 
 

Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getNetworkConfigsCount()

  public 
  
 int 
  
 getNetworkConfigsCount 
 () 
 

Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

getNetworkConfigsList()

  public 
  
 List<NetworkConfig> 
  
 getNetworkConfigsList 
 () 
 

Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getNetworkConfigsOrBuilder(int index)

  public 
  
 NetworkConfigOrBuilder 
  
 getNetworkConfigsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getNetworkConfigsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 NetworkConfigOrBuilder 
>  
 getNetworkConfigsOrBuilderList 
 () 
 

Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

repeated .google.cloud.tpu.v2.NetworkConfig network_configs = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
List < ? extends com.google.cloud.tpu.v2.NetworkConfigOrBuilder >

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 runtime clients of the node reach out to the 0th entry in this map first.

repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
index
int
Returns
Type
Description

getNetworkEndpointsCount()

  public 
  
 int 
  
 getNetworkEndpointsCount 
 () 
 

Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.

repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 runtime clients of the node reach out to the 0th entry in this map first.

repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

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 runtime clients of the node reach out to the 0th entry in this map first.

repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
index
int
Returns
Type
Description

getNetworkEndpointsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 NetworkEndpointOrBuilder 
>  
 getNetworkEndpointsOrBuilderList 
 () 
 

Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.

repeated .google.cloud.tpu.v2.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getParserForType()

  public 
  
 Parser<Node> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Parser < Node >
Overrides

getQueuedResource()

  public 
  
 String 
  
 getQueuedResource 
 () 
 

Output only. The qualified name of the QueuedResource that requested this Node.

string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The queuedResource.

getQueuedResourceBytes()

  public 
  
 ByteString 
  
 getQueuedResourceBytes 
 () 
 

Output only. The qualified name of the QueuedResource that requested this Node.

string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The bytes for queuedResource.

getRuntimeVersion()

  public 
  
 String 
  
 getRuntimeVersion 
 () 
 

Required. The runtime version running in the Node.

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

Returns
Type
Description

The runtimeVersion.

getRuntimeVersionBytes()

  public 
  
 ByteString 
  
 getRuntimeVersionBytes 
 () 
 

Required. The runtime version running in the Node.

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

Returns
Type
Description

The bytes for runtimeVersion.

getSchedulingConfig()

  public 
  
 SchedulingConfig 
  
 getSchedulingConfig 
 () 
 

The scheduling options for this node.

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

Returns
Type
Description

The schedulingConfig.

getSchedulingConfigOrBuilder()

  public 
  
 SchedulingConfigOrBuilder 
  
 getSchedulingConfigOrBuilder 
 () 
 

The scheduling options for this node.

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

Returns
Type
Description

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getServiceAccount()

  public 
  
 ServiceAccount 
  
 getServiceAccount 
 () 
 

The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

.google.cloud.tpu.v2.ServiceAccount service_account = 37;

Returns
Type
Description

The serviceAccount.

getServiceAccountOrBuilder()

  public 
  
 ServiceAccountOrBuilder 
  
 getServiceAccountOrBuilder 
 () 
 

The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

.google.cloud.tpu.v2.ServiceAccount service_account = 37;

Returns
Type
Description

getShieldedInstanceConfig()

  public 
  
 ShieldedInstanceConfig 
  
 getShieldedInstanceConfig 
 () 
 

Shielded Instance options.

.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;

Returns
Type
Description

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

  public 
  
 ShieldedInstanceConfigOrBuilder 
  
 getShieldedInstanceConfigOrBuilder 
 () 
 

Shielded Instance options.

.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;

Returns
Type
Description

getState()

  public 
  
 Node 
 . 
 State 
  
 getState 
 () 
 

Output only. The current state for the TPU Node.

.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

The state.

getStateValue()

  public 
  
 int 
  
 getStateValue 
 () 
 

Output only. The current state for the TPU Node.

.google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
index
int
Returns
Type
Description

getSymptomsCount()

  public 
  
 int 
  
 getSymptomsCount 
 () 
 

Output only. The Symptoms that have occurred to the TPU Node.

repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
int

getSymptomsList()

  public 
  
 List<Symptom> 
  
 getSymptomsList 
 () 
 

Output only. The Symptoms that have occurred to the TPU Node.

repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description

getSymptomsOrBuilder(int index)

  public 
  
 SymptomOrBuilder 
  
 getSymptomsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Output only. The Symptoms that have occurred to the TPU Node.

repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
index
int
Returns
Type
Description

getSymptomsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 SymptomOrBuilder 
>  
 getSymptomsOrBuilderList 
 () 
 

Output only. The Symptoms that have occurred to the TPU Node.

repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getTags(int index)

  public 
  
 String 
  
 getTags 
 ( 
 int 
  
 index 
 ) 
 

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

repeated string tags = 40;

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The tags at the given index.

getTagsBytes(int index)

  public 
  
 ByteString 
  
 getTagsBytes 
 ( 
 int 
  
 index 
 ) 
 

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

repeated string tags = 40;

Parameter
Name
Description
index
int

The index of the value to return.

Returns
Type
Description

The bytes of the tags at the given index.

getTagsCount()

  public 
  
 int 
  
 getTagsCount 
 () 
 

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

repeated string tags = 40;

Returns
Type
Description
int

The count of tags.

getTagsList()

  public 
  
 ProtocolStringList 
  
 getTagsList 
 () 
 

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

repeated string tags = 40;

Returns
Type
Description

A list containing the tags.

hasAcceleratorConfig()

  public 
  
 boolean 
  
 hasAcceleratorConfig 
 () 
 

The AccleratorConfig for the TPU Node.

.google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;

Returns
Type
Description

Whether the acceleratorConfig field is set.

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

Whether the createTime field is set.

hasNetworkConfig()

  public 
  
 boolean 
  
 hasNetworkConfig 
 () 
 

Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

.google.cloud.tpu.v2.NetworkConfig network_config = 36;

Returns
Type
Description

Whether the networkConfig field is set.

hasSchedulingConfig()

  public 
  
 boolean 
  
 hasSchedulingConfig 
 () 
 

The scheduling options for this node.

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

Returns
Type
Description

Whether the schedulingConfig field is set.

hasServiceAccount()

  public 
  
 boolean 
  
 hasServiceAccount 
 () 
 

The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

.google.cloud.tpu.v2.ServiceAccount service_account = 37;

Returns
Type
Description

Whether the serviceAccount field is set.

hasShieldedInstanceConfig()

  public 
  
 boolean 
  
 hasShieldedInstanceConfig 
 () 
 

Shielded Instance options.

.google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;

Returns
Type
Description

Whether the shieldedInstanceConfig field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
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.internalGetMapFieldReflection(int)

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Node 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 Node 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 Node 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: