Class Node.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
com.google.cloud.tpu.v2.Node.Builder
All Implemented Interfaces:
NodeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Node

public static final class Node.Builder extends com.google.protobuf.GeneratedMessage.Builder<Node.Builder> implements NodeOrBuilder
 A TPU instance.
 
Protobuf type google.cloud.tpu.v2.Node
  • 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.Builder<Node.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • clear

      public Node.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • getDefaultInstanceForType

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

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

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

      public Node.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.Builder>
    • mergeFrom

      public Node.Builder mergeFrom(Node other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • mergeFrom

      public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Immutable. The name of the TPU.
       
      string name = 1 [(.google.api.field_behavior) = 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.
    • setName

      public Node.Builder setName(String value)
       Output only. Immutable. The name of the TPU.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Node.Builder clearName()
       Output only. Immutable. The name of the TPU.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Node.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The name of the TPU.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

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

      public Node.Builder setDescription(String value)
       The user-supplied description of the TPU. Maximum of 512 characters.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Node.Builder clearDescription()
       The user-supplied description of the TPU. Maximum of 512 characters.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Node.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The user-supplied description of the TPU. Maximum of 512 characters.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getAcceleratorType

      public String getAcceleratorType()
       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.
    • setAcceleratorType

      public Node.Builder setAcceleratorType(String value)
       Optional. The type of hardware accelerators associated with this node.
       
      string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The acceleratorType to set.
      Returns:
      This builder for chaining.
    • clearAcceleratorType

      public Node.Builder clearAcceleratorType()
       Optional. The type of hardware accelerators associated with this node.
       
      string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setAcceleratorTypeBytes

      public Node.Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value)
       Optional. The type of hardware accelerators associated with this node.
       
      string accelerator_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for acceleratorType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setStateValue

      public Node.Builder setStateValue(int value)
       Output only. The current state for the TPU Node.
       
      .google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Node.State getState()
       Output only. The current state for the TPU Node.
       
      .google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface NodeOrBuilder
      Returns:
      The state.
    • setState

      public Node.Builder setState(Node.State value)
       Output only. The current state for the TPU Node.
       
      .google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Node.Builder clearState()
       Output only. The current state for the TPU Node.
       
      .google.cloud.tpu.v2.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getHealthDescription

      public String getHealthDescription()
       Output only. If this field is populated, it contains a description of why
       the TPU Node is unhealthy.
       
      string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHealthDescription in 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.
    • setHealthDescription

      public Node.Builder setHealthDescription(String value)
       Output only. If this field is populated, it contains a description of why
       the TPU Node is unhealthy.
       
      string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The healthDescription to set.
      Returns:
      This builder for chaining.
    • clearHealthDescription

      public Node.Builder clearHealthDescription()
       Output only. If this field is populated, it contains a description of why
       the TPU Node is unhealthy.
       
      string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHealthDescriptionBytes

      public Node.Builder setHealthDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. If this field is populated, it contains a description of why
       the TPU Node is unhealthy.
       
      string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for healthDescription to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRuntimeVersion

      public Node.Builder setRuntimeVersion(String value)
       Required. The runtime version running in the Node.
       
      string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The runtimeVersion to set.
      Returns:
      This builder for chaining.
    • clearRuntimeVersion

      public Node.Builder clearRuntimeVersion()
       Required. The runtime version running in the Node.
       
      string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setRuntimeVersionBytes

      public Node.Builder setRuntimeVersionBytes(com.google.protobuf.ByteString value)
       Required. The runtime version running in the Node.
       
      string runtime_version = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for runtimeVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setNetworkConfig

      public Node.Builder setNetworkConfig(NetworkConfig value)
       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;
    • setNetworkConfig

      public Node.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)
       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;
    • mergeNetworkConfig

      public Node.Builder mergeNetworkConfig(NetworkConfig value)
       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;
    • clearNetworkConfig

      public Node.Builder clearNetworkConfig()
       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;
    • getNetworkConfigBuilder

      public NetworkConfig.Builder getNetworkConfigBuilder()
       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;
    • 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
    • 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
    • setNetworkConfigs

      public Node.Builder setNetworkConfigs(int index, NetworkConfig value)
       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];
    • setNetworkConfigs

      public Node.Builder setNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
       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];
    • addNetworkConfigs

      public Node.Builder addNetworkConfigs(NetworkConfig value)
       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];
    • addNetworkConfigs

      public Node.Builder addNetworkConfigs(int index, NetworkConfig value)
       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];
    • addNetworkConfigs

      public Node.Builder addNetworkConfigs(NetworkConfig.Builder builderForValue)
       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];
    • addNetworkConfigs

      public Node.Builder addNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
       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];
    • addAllNetworkConfigs

      public Node.Builder addAllNetworkConfigs(Iterable<? extends NetworkConfig> values)
       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];
    • clearNetworkConfigs

      public Node.Builder clearNetworkConfigs()
       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];
    • removeNetworkConfigs

      public Node.Builder removeNetworkConfigs(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];
    • getNetworkConfigsBuilder

      public NetworkConfig.Builder getNetworkConfigsBuilder(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];
    • 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
    • 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
    • addNetworkConfigsBuilder

      public NetworkConfig.Builder addNetworkConfigsBuilder()
       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];
    • addNetworkConfigsBuilder

      public NetworkConfig.Builder addNetworkConfigsBuilder(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];
    • getNetworkConfigsBuilderList

      public List<NetworkConfig.Builder> getNetworkConfigsBuilderList()
       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];
    • 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.
    • setCidrBlock

      public Node.Builder setCidrBlock(String value)
       The CIDR block that the TPU node will use when selecting an IP address.
       This CIDR block must be a /29 block; the Compute Engine networks API
       forbids a smaller block, and using a larger block would be wasteful (a
       node can only consume one IP address). Errors will occur if the CIDR block
       has already been used for a currently existing TPU node, the CIDR block
       conflicts with any subnetworks in the user's provided network, or the
       provided network is peered with another network that is using that CIDR
       block.
       
      string cidr_block = 13;
      Parameters:
      value - The cidrBlock to set.
      Returns:
      This builder for chaining.
    • clearCidrBlock

      public Node.Builder clearCidrBlock()
       The CIDR block that the TPU node will use when selecting an IP address.
       This CIDR block must be a /29 block; the Compute Engine networks API
       forbids a smaller block, and using a larger block would be wasteful (a
       node can only consume one IP address). Errors will occur if the CIDR block
       has already been used for a currently existing TPU node, the CIDR block
       conflicts with any subnetworks in the user's provided network, or the
       provided network is peered with another network that is using that CIDR
       block.
       
      string cidr_block = 13;
      Returns:
      This builder for chaining.
    • setCidrBlockBytes

      public Node.Builder setCidrBlockBytes(com.google.protobuf.ByteString value)
       The CIDR block that the TPU node will use when selecting an IP address.
       This CIDR block must be a /29 block; the Compute Engine networks API
       forbids a smaller block, and using a larger block would be wasteful (a
       node can only consume one IP address). Errors will occur if the CIDR block
       has already been used for a currently existing TPU node, the CIDR block
       conflicts with any subnetworks in the user's provided network, or the
       provided network is peered with another network that is using that CIDR
       block.
       
      string cidr_block = 13;
      Parameters:
      value - The bytes for cidrBlock to set.
      Returns:
      This builder for chaining.
    • 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.
    • setServiceAccount

      public Node.Builder setServiceAccount(ServiceAccount value)
       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;
    • setServiceAccount

      public Node.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
       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;
    • mergeServiceAccount

      public Node.Builder mergeServiceAccount(ServiceAccount value)
       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;
    • clearServiceAccount

      public Node.Builder clearServiceAccount()
       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;
    • getServiceAccountBuilder

      public ServiceAccount.Builder getServiceAccountBuilder()
       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;
    • 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.
    • setCreateTime

      public Node.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Node.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Node.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Node.Builder clearCreateTime()
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the node was created.
       
      .google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in 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.
    • setSchedulingConfig

      public Node.Builder setSchedulingConfig(SchedulingConfig value)
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
    • setSchedulingConfig

      public Node.Builder setSchedulingConfig(SchedulingConfig.Builder builderForValue)
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
    • mergeSchedulingConfig

      public Node.Builder mergeSchedulingConfig(SchedulingConfig value)
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
    • clearSchedulingConfig

      public Node.Builder clearSchedulingConfig()
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
    • getSchedulingConfigBuilder

      public SchedulingConfig.Builder getSchedulingConfigBuilder()
       The scheduling options for this node.
       
      .google.cloud.tpu.v2.SchedulingConfig scheduling_config = 17;
    • 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
    • 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
    • setNetworkEndpoints

      public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint value)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • setNetworkEndpoints

      public Node.Builder setNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • addNetworkEndpoints

      public Node.Builder addNetworkEndpoints(NetworkEndpoint value)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • addNetworkEndpoints

      public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint value)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • addNetworkEndpoints

      public Node.Builder addNetworkEndpoints(NetworkEndpoint.Builder builderForValue)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • addNetworkEndpoints

      public Node.Builder addNetworkEndpoints(int index, NetworkEndpoint.Builder builderForValue)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • addAllNetworkEndpoints

      public Node.Builder addAllNetworkEndpoints(Iterable<? extends NetworkEndpoint> values)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • clearNetworkEndpoints

      public Node.Builder clearNetworkEndpoints()
       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];
    • removeNetworkEndpoints

      public Node.Builder removeNetworkEndpoints(int index)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • getNetworkEndpointsBuilder

      public NetworkEndpoint.Builder getNetworkEndpointsBuilder(int index)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • 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
    • 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
    • addNetworkEndpointsBuilder

      public NetworkEndpoint.Builder addNetworkEndpointsBuilder()
       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];
    • addNetworkEndpointsBuilder

      public NetworkEndpoint.Builder addNetworkEndpointsBuilder(int index)
       Output only. The network endpoints where TPU workers can be accessed and
       sent work. It is recommended that 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];
    • getNetworkEndpointsBuilderList

      public List<NetworkEndpoint.Builder> getNetworkEndpointsBuilderList()
       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];
    • 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.
    • setHealthValue

      public Node.Builder setHealthValue(int value)
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Parameters:
      value - The enum numeric value on the wire for health to set.
      Returns:
      This builder for chaining.
    • getHealth

      public Node.Health getHealth()
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Specified by:
      getHealth in interface NodeOrBuilder
      Returns:
      The health.
    • setHealth

      public Node.Builder setHealth(Node.Health value)
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Parameters:
      value - The health to set.
      Returns:
      This builder for chaining.
    • clearHealth

      public Node.Builder clearHealth()
       The health status of the TPU node.
       
      .google.cloud.tpu.v2.Node.Health health = 22;
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: NodeOrBuilder
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
      Specified by:
      getLabelsCount in 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
    • clearLabels

      public Node.Builder clearLabels()
    • removeLabels

      public Node.Builder removeLabels(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Node.Builder putLabels(String key, String value)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
    • putAllLabels

      public Node.Builder putAllLabels(Map<String,String> values)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 24;
    • 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
    • clearMetadata

      public Node.Builder clearMetadata()
    • removeMetadata

      public Node.Builder removeMetadata(String key)
       Custom metadata to apply to the TPU Node.
       Can set startup-script and shutdown-script
       
      map<string, string> metadata = 34;
    • getMutableMetadata

      @Deprecated public Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public Node.Builder putMetadata(String key, String value)
       Custom metadata to apply to the TPU Node.
       Can set startup-script and shutdown-script
       
      map<string, string> metadata = 34;
    • putAllMetadata

      public Node.Builder putAllMetadata(Map<String,String> values)
       Custom metadata to apply to the TPU Node.
       Can set startup-script and shutdown-script
       
      map<string, string> metadata = 34;
    • 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.
    • setTags

      public Node.Builder setTags(int index, String value)
       Tags to apply to the TPU Node. Tags are used to identify valid sources or
       targets for network firewalls.
       
      repeated string tags = 40;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public Node.Builder addTags(String value)
       Tags to apply to the TPU Node. Tags are used to identify valid sources or
       targets for network firewalls.
       
      repeated string tags = 40;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public Node.Builder addAllTags(Iterable<String> values)
       Tags to apply to the TPU Node. Tags are used to identify valid sources or
       targets for network firewalls.
       
      repeated string tags = 40;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public Node.Builder clearTags()
       Tags to apply to the TPU Node. Tags are used to identify valid sources or
       targets for network firewalls.
       
      repeated string tags = 40;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public Node.Builder addTagsBytes(com.google.protobuf.ByteString value)
       Tags to apply to the TPU Node. Tags are used to identify valid sources or
       targets for network firewalls.
       
      repeated string tags = 40;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • 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.
    • setId

      public Node.Builder setId(long value)
       Output only. The unique identifier for the TPU Node.
       
      int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Node.Builder clearId()
       Output only. The unique identifier for the TPU Node.
       
      int64 id = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setDataDisks

      public Node.Builder setDataDisks(int index, AttachedDisk value)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • setDataDisks

      public Node.Builder setDataDisks(int index, AttachedDisk.Builder builderForValue)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addDataDisks

      public Node.Builder addDataDisks(AttachedDisk value)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addDataDisks

      public Node.Builder addDataDisks(int index, AttachedDisk value)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addDataDisks

      public Node.Builder addDataDisks(AttachedDisk.Builder builderForValue)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addDataDisks

      public Node.Builder addDataDisks(int index, AttachedDisk.Builder builderForValue)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addAllDataDisks

      public Node.Builder addAllDataDisks(Iterable<? extends AttachedDisk> values)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • clearDataDisks

      public Node.Builder clearDataDisks()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • removeDataDisks

      public Node.Builder removeDataDisks(int index)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • getDataDisksBuilder

      public AttachedDisk.Builder getDataDisksBuilder(int index)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • 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
    • 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
    • addDataDisksBuilder

      public AttachedDisk.Builder addDataDisksBuilder()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • addDataDisksBuilder

      public AttachedDisk.Builder addDataDisksBuilder(int index)
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • getDataDisksBuilderList

      public List<AttachedDisk.Builder> getDataDisksBuilderList()
       The additional data disks for the Node.
       
      repeated .google.cloud.tpu.v2.AttachedDisk data_disks = 41;
    • 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.
    • setApiVersionValue

      public Node.Builder setApiVersionValue(int value)
       Output only. The API version that created this Node.
       
      .google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for apiVersion to set.
      Returns:
      This builder for chaining.
    • getApiVersion

      public Node.ApiVersion getApiVersion()
       Output only. The API version that created this Node.
       
      .google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiVersion in interface NodeOrBuilder
      Returns:
      The apiVersion.
    • setApiVersion

      public Node.Builder setApiVersion(Node.ApiVersion value)
       Output only. The API version that created this Node.
       
      .google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The apiVersion to set.
      Returns:
      This builder for chaining.
    • clearApiVersion

      public Node.Builder clearApiVersion()
       Output only. The API version that created this Node.
       
      .google.cloud.tpu.v2.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSymptomsList

      public List<Symptom> getSymptomsList()
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSymptomsList 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
    • setSymptoms

      public Node.Builder setSymptoms(int index, Symptom value)
       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];
    • setSymptoms

      public Node.Builder setSymptoms(int index, Symptom.Builder builderForValue)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSymptoms

      public Node.Builder addSymptoms(Symptom value)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSymptoms

      public Node.Builder addSymptoms(int index, Symptom value)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSymptoms

      public Node.Builder addSymptoms(Symptom.Builder builderForValue)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSymptoms

      public Node.Builder addSymptoms(int index, Symptom.Builder builderForValue)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllSymptoms

      public Node.Builder addAllSymptoms(Iterable<? extends Symptom> values)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSymptoms

      public Node.Builder clearSymptoms()
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeSymptoms

      public Node.Builder removeSymptoms(int index)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSymptomsBuilder

      public Symptom.Builder getSymptomsBuilder(int index)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSymptomsOrBuilder

      public SymptomOrBuilder getSymptomsOrBuilder(int index)
       Output only. The Symptoms that have occurred to the TPU Node.
       
      repeated .google.cloud.tpu.v2.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSymptomsOrBuilder 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
    • addSymptomsBuilder

      public Symptom.Builder addSymptomsBuilder()
       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];
    • addSymptomsBuilder

      public Symptom.Builder addSymptomsBuilder(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];
    • getSymptomsBuilderList

      public List<Symptom.Builder> getSymptomsBuilderList()
       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];
    • 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.
    • setShieldedInstanceConfig

      public Node.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
    • setShieldedInstanceConfig

      public Node.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
    • mergeShieldedInstanceConfig

      public Node.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
    • clearShieldedInstanceConfig

      public Node.Builder clearShieldedInstanceConfig()
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
    • getShieldedInstanceConfigBuilder

      public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
       Shielded Instance options.
       
      .google.cloud.tpu.v2.ShieldedInstanceConfig shielded_instance_config = 45;
    • 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.
    • setAcceleratorConfig

      public Node.Builder setAcceleratorConfig(AcceleratorConfig value)
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
    • setAcceleratorConfig

      public Node.Builder setAcceleratorConfig(AcceleratorConfig.Builder builderForValue)
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
    • mergeAcceleratorConfig

      public Node.Builder mergeAcceleratorConfig(AcceleratorConfig value)
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
    • clearAcceleratorConfig

      public Node.Builder clearAcceleratorConfig()
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
    • getAcceleratorConfigBuilder

      public AcceleratorConfig.Builder getAcceleratorConfigBuilder()
       The AccleratorConfig for the TPU Node.
       
      .google.cloud.tpu.v2.AcceleratorConfig accelerator_config = 46;
    • 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.
    • setQueuedResource

      public Node.Builder setQueuedResource(String value)
       Output only. The qualified name of the QueuedResource that requested this
       Node.
       
      string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The queuedResource to set.
      Returns:
      This builder for chaining.
    • clearQueuedResource

      public Node.Builder clearQueuedResource()
       Output only. The qualified name of the QueuedResource that requested this
       Node.
       
      string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setQueuedResourceBytes

      public Node.Builder setQueuedResourceBytes(com.google.protobuf.ByteString value)
       Output only. The qualified name of the QueuedResource that requested this
       Node.
       
      string queued_resource = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for queuedResource to set.
      Returns:
      This builder for chaining.
    • 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.
    • setMultisliceNode

      public Node.Builder setMultisliceNode(boolean value)
       Output only. Whether the Node belongs to a Multislice group.
       
      bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The multisliceNode to set.
      Returns:
      This builder for chaining.
    • clearMultisliceNode

      public Node.Builder clearMultisliceNode()
       Output only. Whether the Node belongs to a Multislice group.
       
      bool multislice_node = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.