Class PrivateCloud.ManagementCluster.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateCloud.ManagementCluster.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateCloud.ManagementCluster.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateCloud.ManagementCluster.Builder>
      • 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.
      • 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
      • 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
      • 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
      • 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];
      • 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];