Class Node

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v2.Node
All Implemented Interfaces:
NodeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Node extends com.google.protobuf.GeneratedMessage implements NodeOrBuilder
 A TPU instance.
 
Protobuf type google.cloud.tpu.v2.Node
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • ACCELERATOR_TYPE_FIELD_NUMBER

      public static final int ACCELERATOR_TYPE_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • HEALTH_DESCRIPTION_FIELD_NUMBER

      public static final int HEALTH_DESCRIPTION_FIELD_NUMBER
      See Also:
    • RUNTIME_VERSION_FIELD_NUMBER

      public static final int RUNTIME_VERSION_FIELD_NUMBER
      See Also:
    • NETWORK_CONFIG_FIELD_NUMBER

      public static final int NETWORK_CONFIG_FIELD_NUMBER
      See Also:
    • NETWORK_CONFIGS_FIELD_NUMBER

      public static final int NETWORK_CONFIGS_FIELD_NUMBER
      See Also:
    • CIDR_BLOCK_FIELD_NUMBER

      public static final int CIDR_BLOCK_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • SCHEDULING_CONFIG_FIELD_NUMBER

      public static final int SCHEDULING_CONFIG_FIELD_NUMBER
      See Also:
    • NETWORK_ENDPOINTS_FIELD_NUMBER

      public static final int NETWORK_ENDPOINTS_FIELD_NUMBER
      See Also:
    • HEALTH_FIELD_NUMBER

      public static final int HEALTH_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • TAGS_FIELD_NUMBER

      public static final int TAGS_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • DATA_DISKS_FIELD_NUMBER

      public static final int DATA_DISKS_FIELD_NUMBER
      See Also:
    • API_VERSION_FIELD_NUMBER

      public static final int API_VERSION_FIELD_NUMBER
      See Also:
    • SYMPTOMS_FIELD_NUMBER

      public static final int SYMPTOMS_FIELD_NUMBER
      See Also:
    • SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER

      public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
      See Also:
    • ACCELERATOR_CONFIG_FIELD_NUMBER

      public static final int ACCELERATOR_CONFIG_FIELD_NUMBER
      See Also:
    • QUEUED_RESOURCE_FIELD_NUMBER

      public static final int QUEUED_RESOURCE_FIELD_NUMBER
      See Also:
    • MULTISLICE_NODE_FIELD_NUMBER

      public static final int MULTISLICE_NODE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getName in interface NodeOrBuilder
      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) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface NodeOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
       The user-supplied description of the TPU. Maximum of 512 characters.
       
      string description = 3;
      Specified by:
      getDescription in interface NodeOrBuilder
      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 interface NodeOrBuilder
      Returns:
      The bytes for description.
    • getAcceleratorType

      public String getAcceleratorType()
       Optional. The type of hardware accelerators associated with this node.
       
      string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAcceleratorType in interface NodeOrBuilder
      Returns:
      The acceleratorType.
    • getAcceleratorTypeBytes

      public com.google.protobuf.ByteString getAcceleratorTypeBytes()
       Optional. The type of hardware accelerators associated with this node.
       
      string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAcceleratorTypeBytes in interface NodeOrBuilder
      Returns:
      The bytes for acceleratorType.
    • 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];
      Specified by:
      getStateValue in interface NodeOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • 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];
      Specified by:
      getState in interface NodeOrBuilder
      Returns:
      The state.
    • 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 interface NodeOrBuilder
      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 interface NodeOrBuilder
      Returns:
      The bytes for healthDescription.
    • getRuntimeVersion

      public String getRuntimeVersion()
       Required. The runtime version running in the Node.
       
      string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRuntimeVersion in interface NodeOrBuilder
      Returns:
      The runtimeVersion.
    • getRuntimeVersionBytes

      public com.google.protobuf.ByteString getRuntimeVersionBytes()
       Required. The runtime version running in the Node.
       
      string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRuntimeVersionBytes in interface NodeOrBuilder
      Returns:
      The bytes for runtimeVersion.
    • 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;
      Specified by:
      hasNetworkConfig in interface NodeOrBuilder
      Returns:
      Whether the networkConfig field is set.
    • 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;
      Specified by:
      getNetworkConfig in interface NodeOrBuilder
      Returns:
      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;
      Specified by:
      getNetworkConfigOrBuilder in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkConfigsList in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkConfigsOrBuilderList in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkConfigsCount in interface NodeOrBuilder
    • getNetworkConfigs

      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];
      Specified by:
      getNetworkConfigs in interface NodeOrBuilder
    • getNetworkConfigsOrBuilder

      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];
      Specified by:
      getNetworkConfigsOrBuilder in interface NodeOrBuilder
    • 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 interface NodeOrBuilder
      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 interface NodeOrBuilder
      Returns:
      The bytes for cidrBlock.
    • 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;
      Specified by:
      hasServiceAccount in interface NodeOrBuilder
      Returns:
      Whether the serviceAccount field is set.
    • 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;
      Specified by:
      getServiceAccount in interface NodeOrBuilder
      Returns:
      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;
      Specified by:
      getServiceAccountOrBuilder in interface NodeOrBuilder
    • 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 interface NodeOrBuilder
      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 interface NodeOrBuilder
      Returns:
      The createTime.
    • 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 interface NodeOrBuilder
    • hasSchedulingConfig

      public boolean hasSchedulingConfig()
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
      Specified by:
      hasSchedulingConfig in interface NodeOrBuilder
      Returns:
      Whether the schedulingConfig field is set.
    • getSchedulingConfig

      public SchedulingConfig getSchedulingConfig()
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
      Specified by:
      getSchedulingConfig in interface NodeOrBuilder
      Returns:
      The schedulingConfig.
    • getSchedulingConfigOrBuilder

      public SchedulingConfigOrBuilder getSchedulingConfigOrBuilder()
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
      Specified by:
      getSchedulingConfigOrBuilder in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkEndpointsList in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkEndpointsOrBuilderList in interface NodeOrBuilder
    • 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];
      Specified by:
      getNetworkEndpointsCount in interface NodeOrBuilder
    • getNetworkEndpoints

      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];
      Specified by:
      getNetworkEndpoints in interface NodeOrBuilder
    • getNetworkEndpointsOrBuilder

      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];
      Specified by:
      getNetworkEndpointsOrBuilder in interface NodeOrBuilder
    • getHealthValue

      public int getHealthValue()
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Specified by:
      getHealthValue in interface NodeOrBuilder
      Returns:
      The enum numeric value on the wire for health.
    • getHealth

      public Node.Health getHealth()
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Specified by:
      getHealth in interface NodeOrBuilder
      Returns:
      The health.
    • 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 interface NodeOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
      Specified by:
      containsLabels in interface NodeOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface NodeOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
      Specified by:
      getLabelsMap in interface NodeOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
      Specified by:
      getLabelsOrDefault in interface NodeOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
      Specified by:
      getLabelsOrThrow in interface NodeOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: NodeOrBuilder
       Custom metadata to apply to the TPU Node.
       Can set startup-script and shutdown-script
       
      map<string, string> metadata = 34;
      Specified by:
      getMetadataCount in interface NodeOrBuilder
    • containsMetadata

      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;
      Specified by:
      containsMetadata in interface NodeOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface NodeOrBuilder
    • 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;
      Specified by:
      getMetadataMap in interface NodeOrBuilder
    • getMetadataOrDefault

      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;
      Specified by:
      getMetadataOrDefault in interface NodeOrBuilder
    • getMetadataOrThrow

      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;
      Specified by:
      getMetadataOrThrow in interface NodeOrBuilder
    • getTagsList

      public com.google.protobuf.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;
      Specified by:
      getTagsList in interface NodeOrBuilder
      Returns:
      A list containing the tags.
    • 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;
      Specified by:
      getTagsCount in interface NodeOrBuilder
      Returns:
      The count of tags.
    • getTags

      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;
      Specified by:
      getTags in interface NodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.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;
      Specified by:
      getTagsBytes in interface NodeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getId

      public long getId()
       Output only. The unique identifier for the TPU Node.
       
      int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface NodeOrBuilder
      Returns:
      The id.
    • getDataDisksList

      public List<AttachedDisk> getDataDisksList()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
      Specified by:
      getDataDisksList in interface NodeOrBuilder
    • getDataDisksOrBuilderList

      public List<? extends AttachedDiskOrBuilder> getDataDisksOrBuilderList()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
      Specified by:
      getDataDisksOrBuilderList in interface NodeOrBuilder
    • getDataDisksCount

      public int getDataDisksCount()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
      Specified by:
      getDataDisksCount in interface NodeOrBuilder
    • getDataDisks

      public AttachedDisk getDataDisks(int index)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
      Specified by:
      getDataDisks in interface NodeOrBuilder
    • getDataDisksOrBuilder

      public AttachedDiskOrBuilder getDataDisksOrBuilder(int index)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
      Specified by:
      getDataDisksOrBuilder in interface NodeOrBuilder
    • 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];
      Specified by:
      getApiVersionValue in interface NodeOrBuilder
      Returns:
      The enum numeric value on the wire for apiVersion.
    • 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];
      Specified by:
      getApiVersion in interface NodeOrBuilder
      Returns:
      The apiVersion.
    • 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];
      Specified by:
      getSymptomsList in interface NodeOrBuilder
    • 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];
      Specified by:
      getSymptomsOrBuilderList in interface NodeOrBuilder
    • 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];
      Specified by:
      getSymptomsCount in interface NodeOrBuilder
    • getSymptoms

      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];
      Specified by:
      getSymptoms in interface NodeOrBuilder
    • getSymptomsOrBuilder

      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];
      Specified by:
      getSymptomsOrBuilder in interface NodeOrBuilder
    • hasShieldedInstanceConfig

      public boolean hasShieldedInstanceConfig()
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
      Specified by:
      hasShieldedInstanceConfig in interface NodeOrBuilder
      Returns:
      Whether the shieldedInstanceConfig field is set.
    • getShieldedInstanceConfig

      public ShieldedInstanceConfig getShieldedInstanceConfig()
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
      Specified by:
      getShieldedInstanceConfig in interface NodeOrBuilder
      Returns:
      The shieldedInstanceConfig.
    • getShieldedInstanceConfigOrBuilder

      public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
      Specified by:
      getShieldedInstanceConfigOrBuilder in interface NodeOrBuilder
    • hasAcceleratorConfig

      public boolean hasAcceleratorConfig()
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
      Specified by:
      hasAcceleratorConfig in interface NodeOrBuilder
      Returns:
      Whether the acceleratorConfig field is set.
    • getAcceleratorConfig

      public AcceleratorConfig getAcceleratorConfig()
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
      Specified by:
      getAcceleratorConfig in interface NodeOrBuilder
      Returns:
      The acceleratorConfig.
    • getAcceleratorConfigOrBuilder

      public AcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
      Specified by:
      getAcceleratorConfigOrBuilder in interface NodeOrBuilder
    • 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];
      Specified by:
      getQueuedResource in interface NodeOrBuilder
      Returns:
      The queuedResource.
    • getQueuedResourceBytes

      public com.google.protobuf.ByteString getQueuedResourceBytes()
       Output only. The qualified name of the QueuedResource that requested this
       Node.
       
      string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQueuedResourceBytes in interface NodeOrBuilder
      Returns:
      The bytes for queuedResource.
    • getMultisliceNode

      public boolean getMultisliceNode()
       Output only. Whether the Node belongs to a Multislice group.
       
      bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMultisliceNode in interface NodeOrBuilder
      Returns:
      The multisliceNode.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Node parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Node.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Node.Builder newBuilder()
    • newBuilder

      public static Node.Builder newBuilder(Node prototype)
    • toBuilder

      public Node.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Node.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Node getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Node> parser()
    • getParserForType

      public com.google.protobuf.Parser<Node> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Node getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder