Class Cluster.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
com.google.cloud.hypercomputecluster.v1.Cluster.Builder
All Implemented Interfaces:
ClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster

public static final class Cluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder> implements ClusterOrBuilder
 A collection of virtual machines and connected resources forming a
 high-performance computing cluster capable of running large-scale, tightly
 coupled workloads. A cluster combines a set a compute resources that perform
 computations, storage resources that contain inputs and store outputs, an
 orchestrator that is responsible for assigning jobs to compute resources, and
 network resources that connect everything together.
 
Protobuf type google.cloud.hypercomputecluster.v1.Cluster
  • 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<Cluster.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public Cluster.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<Cluster.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<Cluster.Builder>
    • getDefaultInstanceForType

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

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

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

      public Cluster.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<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(Cluster other)
    • isInitialized

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

      public Cluster.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<Cluster.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. [Relative resource name](https://google.aip.dev/122) of the
       cluster, in the format
       `projects/{project}/locations/{location}/clusters/{cluster}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ClusterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. [Relative resource name](https://google.aip.dev/122) of the
       cluster, in the format
       `projects/{project}/locations/{location}/clusters/{cluster}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ClusterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Cluster.Builder setName(String value)
       Identifier. [Relative resource name](https://google.aip.dev/122) of the
       cluster, in the format
       `projects/{project}/locations/{location}/clusters/{cluster}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Cluster.Builder clearName()
       Identifier. [Relative resource name](https://google.aip.dev/122) of the
       cluster, in the format
       `projects/{project}/locations/{location}/clusters/{cluster}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Cluster.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. [Relative resource name](https://google.aip.dev/122) of the
       cluster, in the format
       `projects/{project}/locations/{location}/clusters/{cluster}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. User-provided description of the cluster.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ClusterOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. User-provided description of the cluster.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface ClusterOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Cluster.Builder setDescription(String value)
       Optional. User-provided description of the cluster.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Cluster.Builder clearDescription()
       Optional. User-provided description of the cluster.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Cluster.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. User-provided description of the cluster.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ClusterOrBuilder
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface ClusterOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface ClusterOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface ClusterOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface ClusterOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface ClusterOrBuilder
    • clearLabels

      public Cluster.Builder clearLabels()
    • removeLabels

      public Cluster.Builder removeLabels(String key)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

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

      public Cluster.Builder putLabels(String key, String value)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Cluster.Builder putAllLabels(Map<String,String> values)
       Optional.
       [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied
       to the cluster. Labels can be used to organize clusters and to filter them
       in queries.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ClusterOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ClusterOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Cluster.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Cluster.Builder clearCreateTime()
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time that the cluster was originally created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ClusterOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ClusterOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ClusterOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Cluster.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Cluster.Builder clearUpdateTime()
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time that the cluster was most recently updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ClusterOrBuilder
    • getReconciling

      public boolean getReconciling()
       Output only. Indicates whether changes to the cluster are currently in
       flight. If this is `true`, then the current state might not match the
       cluster's intended state.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReconciling in interface ClusterOrBuilder
      Returns:
      The reconciling.
    • setReconciling

      public Cluster.Builder setReconciling(boolean value)
       Output only. Indicates whether changes to the cluster are currently in
       flight. If this is `true`, then the current state might not match the
       cluster's intended state.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The reconciling to set.
      Returns:
      This builder for chaining.
    • clearReconciling

      public Cluster.Builder clearReconciling()
       Output only. Indicates whether changes to the cluster are currently in
       flight. If this is `true`, then the current state might not match the
       cluster's intended state.
       
      bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getNetworkResourcesCount

      public int getNetworkResourcesCount()
      Description copied from interface: ClusterOrBuilder
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkResourcesCount in interface ClusterOrBuilder
    • containsNetworkResources

      public boolean containsNetworkResources(String key)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsNetworkResources in interface ClusterOrBuilder
    • getNetworkResources

      @Deprecated public Map<String,NetworkResource> getNetworkResources()
      Deprecated.
      Specified by:
      getNetworkResources in interface ClusterOrBuilder
    • getNetworkResourcesMap

      public Map<String,NetworkResource> getNetworkResourcesMap()
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkResourcesMap in interface ClusterOrBuilder
    • getNetworkResourcesOrDefault

      public NetworkResource getNetworkResourcesOrDefault(String key, NetworkResource defaultValue)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkResourcesOrDefault in interface ClusterOrBuilder
    • getNetworkResourcesOrThrow

      public NetworkResource getNetworkResourcesOrThrow(String key)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkResourcesOrThrow in interface ClusterOrBuilder
    • clearNetworkResources

      public Cluster.Builder clearNetworkResources()
    • removeNetworkResources

      public Cluster.Builder removeNetworkResources(String key)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableNetworkResources

      @Deprecated public Map<String,NetworkResource> getMutableNetworkResources()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNetworkResources

      public Cluster.Builder putNetworkResources(String key, NetworkResource value)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
    • putAllNetworkResources

      public Cluster.Builder putAllNetworkResources(Map<String,NetworkResource> values)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
    • putNetworkResourcesBuilderIfAbsent

      public NetworkResource.Builder putNetworkResourcesBuilderIfAbsent(String key)
       Optional. Network resources available to the cluster. Must contain at most
       one value. Keys specify the ID of the network resource by which it can be
       referenced elsewhere, and must conform to
       [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case,
       alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getStorageResourcesCount

      public int getStorageResourcesCount()
      Description copied from interface: ClusterOrBuilder
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageResourcesCount in interface ClusterOrBuilder
    • containsStorageResources

      public boolean containsStorageResources(String key)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsStorageResources in interface ClusterOrBuilder
    • getStorageResources

      @Deprecated public Map<String,StorageResource> getStorageResources()
      Deprecated.
      Specified by:
      getStorageResources in interface ClusterOrBuilder
    • getStorageResourcesMap

      public Map<String,StorageResource> getStorageResourcesMap()
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageResourcesMap in interface ClusterOrBuilder
    • getStorageResourcesOrDefault

      public StorageResource getStorageResourcesOrDefault(String key, StorageResource defaultValue)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageResourcesOrDefault in interface ClusterOrBuilder
    • getStorageResourcesOrThrow

      public StorageResource getStorageResourcesOrThrow(String key)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageResourcesOrThrow in interface ClusterOrBuilder
    • clearStorageResources

      public Cluster.Builder clearStorageResources()
    • removeStorageResources

      public Cluster.Builder removeStorageResources(String key)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableStorageResources

      @Deprecated public Map<String,StorageResource> getMutableStorageResources()
      Deprecated.
      Use alternate mutation accessors instead.
    • putStorageResources

      public Cluster.Builder putStorageResources(String key, StorageResource value)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
    • putAllStorageResources

      public Cluster.Builder putAllStorageResources(Map<String,StorageResource> values)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
    • putStorageResourcesBuilderIfAbsent

      public StorageResource.Builder putStorageResourcesBuilderIfAbsent(String key)
       Optional. Storage resources available to the cluster. Keys specify the ID
       of the storage resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getComputeResourcesCount

      public int getComputeResourcesCount()
      Description copied from interface: ClusterOrBuilder
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getComputeResourcesCount in interface ClusterOrBuilder
    • containsComputeResources

      public boolean containsComputeResources(String key)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsComputeResources in interface ClusterOrBuilder
    • getComputeResources

      @Deprecated public Map<String,ComputeResource> getComputeResources()
      Deprecated.
      Specified by:
      getComputeResources in interface ClusterOrBuilder
    • getComputeResourcesMap

      public Map<String,ComputeResource> getComputeResourcesMap()
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getComputeResourcesMap in interface ClusterOrBuilder
    • getComputeResourcesOrDefault

      public ComputeResource getComputeResourcesOrDefault(String key, ComputeResource defaultValue)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getComputeResourcesOrDefault in interface ClusterOrBuilder
    • getComputeResourcesOrThrow

      public ComputeResource getComputeResourcesOrThrow(String key)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getComputeResourcesOrThrow in interface ClusterOrBuilder
    • clearComputeResources

      public Cluster.Builder clearComputeResources()
    • removeComputeResources

      public Cluster.Builder removeComputeResources(String key)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableComputeResources

      @Deprecated public Map<String,ComputeResource> getMutableComputeResources()
      Deprecated.
      Use alternate mutation accessors instead.
    • putComputeResources

      public Cluster.Builder putComputeResources(String key, ComputeResource value)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
    • putAllComputeResources

      public Cluster.Builder putAllComputeResources(Map<String,ComputeResource> values)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
    • putComputeResourcesBuilderIfAbsent

      public ComputeResource.Builder putComputeResourcesBuilderIfAbsent(String key)
       Optional. Compute resources available to the cluster. Keys specify the ID
       of the compute resource by which it can be referenced elsewhere, and must
       conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034)
       (lower-case, alphanumeric, and at most 63 characters).
       
      map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
    • hasOrchestrator

      public boolean hasOrchestrator()
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOrchestrator in interface ClusterOrBuilder
      Returns:
      Whether the orchestrator field is set.
    • getOrchestrator

      public Orchestrator getOrchestrator()
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrchestrator in interface ClusterOrBuilder
      Returns:
      The orchestrator.
    • setOrchestrator

      public Cluster.Builder setOrchestrator(Orchestrator value)
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setOrchestrator

      public Cluster.Builder setOrchestrator(Orchestrator.Builder builderForValue)
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOrchestrator

      public Cluster.Builder mergeOrchestrator(Orchestrator value)
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearOrchestrator

      public Cluster.Builder clearOrchestrator()
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getOrchestratorBuilder

      public Orchestrator.Builder getOrchestratorBuilder()
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getOrchestratorOrBuilder

      public OrchestratorOrBuilder getOrchestratorOrBuilder()
       Optional. Orchestrator that is responsible for scheduling and running jobs
       on the cluster.
       
      .google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrchestratorOrBuilder in interface ClusterOrBuilder