Class PrivateCloud.ManagementCluster.Builder

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

public static final class PrivateCloud.ManagementCluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.Builder> implements PrivateCloud.ManagementClusterOrBuilder
 Management cluster configuration.
 
Protobuf type google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster
  • 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<PrivateCloud.ManagementCluster.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PrivateCloud.ManagementCluster.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<PrivateCloud.ManagementCluster.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<PrivateCloud.ManagementCluster.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public PrivateCloud.ManagementCluster.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<PrivateCloud.ManagementCluster.Builder>
      Throws:
      IOException
    • getClusterId

      public String getClusterId()
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterId in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The clusterId.
    • getClusterIdBytes

      public com.google.protobuf.ByteString getClusterIdBytes()
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterIdBytes in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The bytes for clusterId.
    • setClusterId

      public PrivateCloud.ManagementCluster.Builder setClusterId(String value)
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The clusterId to set.
      Returns:
      This builder for chaining.
    • clearClusterId

      public PrivateCloud.ManagementCluster.Builder clearClusterId()
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setClusterIdBytes

      public PrivateCloud.ManagementCluster.Builder setClusterIdBytes(com.google.protobuf.ByteString value)
       Required. The user-provided identifier of the new `Cluster`.
       The identifier must meet the following requirements:
      
       * Only contains 1-63 alphanumeric characters and hyphens
       * Begins with an alphabetical character
       * Ends with a non-hyphen character
       * Not formatted as a UUID
       * Complies with [RFC
       1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
       
      string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for clusterId to set.
      Returns:
      This builder for chaining.
    • getNodeTypeConfigsCount

      public int getNodeTypeConfigsCount()
      Description copied from interface: PrivateCloud.ManagementClusterOrBuilder
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsCount in interface PrivateCloud.ManagementClusterOrBuilder
    • containsNodeTypeConfigs

      public boolean containsNodeTypeConfigs(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsNodeTypeConfigs in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigs

      @Deprecated public Map<String,NodeTypeConfig> getNodeTypeConfigs()
      Deprecated.
      Specified by:
      getNodeTypeConfigs in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsMap

      public Map<String,NodeTypeConfig> getNodeTypeConfigsMap()
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsMap in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsOrDefault

      public NodeTypeConfig getNodeTypeConfigsOrDefault(String key, NodeTypeConfig defaultValue)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsOrDefault in interface PrivateCloud.ManagementClusterOrBuilder
    • getNodeTypeConfigsOrThrow

      public NodeTypeConfig getNodeTypeConfigsOrThrow(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeTypeConfigsOrThrow in interface PrivateCloud.ManagementClusterOrBuilder
    • clearNodeTypeConfigs

      public PrivateCloud.ManagementCluster.Builder clearNodeTypeConfigs()
    • removeNodeTypeConfigs

      public PrivateCloud.ManagementCluster.Builder removeNodeTypeConfigs(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
    • getMutableNodeTypeConfigs

      @Deprecated public Map<String,NodeTypeConfig> getMutableNodeTypeConfigs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNodeTypeConfigs

      public PrivateCloud.ManagementCluster.Builder putNodeTypeConfigs(String key, NodeTypeConfig value)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
    • putAllNodeTypeConfigs

      public PrivateCloud.ManagementCluster.Builder putAllNodeTypeConfigs(Map<String,NodeTypeConfig> values)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
    • putNodeTypeConfigsBuilderIfAbsent

      public NodeTypeConfig.Builder putNodeTypeConfigsBuilderIfAbsent(String key)
       Required. The map of cluster node types in this cluster, where the key is
       canonical identifier of the node type (corresponds to the `NodeType`).
       
      map<string, .google.cloud.vmwareengine.v1.NodeTypeConfig> node_type_configs = 7 [(.google.api.field_behavior) = REQUIRED];
    • hasStretchedClusterConfig

      public boolean hasStretchedClusterConfig()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStretchedClusterConfig in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      Whether the stretchedClusterConfig field is set.
    • getStretchedClusterConfig

      public StretchedClusterConfig getStretchedClusterConfig()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStretchedClusterConfig in interface PrivateCloud.ManagementClusterOrBuilder
      Returns:
      The stretchedClusterConfig.
    • setStretchedClusterConfig

      public PrivateCloud.ManagementCluster.Builder setStretchedClusterConfig(StretchedClusterConfig value)
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setStretchedClusterConfig

      public PrivateCloud.ManagementCluster.Builder setStretchedClusterConfig(StretchedClusterConfig.Builder builderForValue)
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeStretchedClusterConfig

      public PrivateCloud.ManagementCluster.Builder mergeStretchedClusterConfig(StretchedClusterConfig value)
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearStretchedClusterConfig

      public PrivateCloud.ManagementCluster.Builder clearStretchedClusterConfig()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getStretchedClusterConfigBuilder

      public StretchedClusterConfig.Builder getStretchedClusterConfigBuilder()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getStretchedClusterConfigOrBuilder

      public StretchedClusterConfigOrBuilder getStretchedClusterConfigOrBuilder()
       Optional. Configuration of a stretched cluster. Required for STRETCHED
       private clouds.
       
      .google.cloud.vmwareengine.v1.StretchedClusterConfig stretched_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStretchedClusterConfigOrBuilder in interface PrivateCloud.ManagementClusterOrBuilder