Class SetNodePoolAutoscalingRequest.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

        public SetNodePoolAutoscalingRequest.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<SetNodePoolAutoscalingRequest.Builder>
        Throws:
        IOException
      • getProjectId

        @Deprecated
        public String getProjectId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3049
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectId in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3049
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setProjectId​(String value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3049
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder clearProjectId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3049
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3049
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3056
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZone in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3056
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZoneBytes in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setZone​(String value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3056
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder clearZone()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3056
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3056
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getClusterId

        @Deprecated
        public String getClusterId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3060
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterId in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The clusterId.
      • getClusterIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getClusterIdBytes()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3060
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIdBytes in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The bytes for clusterId.
      • setClusterId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setClusterId​(String value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3060
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The clusterId to set.
        Returns:
        This builder for chaining.
      • clearClusterId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder clearClusterId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3060
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setClusterIdBytes

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setClusterIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3060
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for clusterId to set.
        Returns:
        This builder for chaining.
      • getNodePoolId

        @Deprecated
        public String getNodePoolId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3065
         Required. Deprecated. The name of the node pool to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNodePoolId in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The nodePoolId.
      • getNodePoolIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getNodePoolIdBytes()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3065
         Required. Deprecated. The name of the node pool to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNodePoolIdBytes in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The bytes for nodePoolId.
      • setNodePoolId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setNodePoolId​(String value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3065
         Required. Deprecated. The name of the node pool to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The nodePoolId to set.
        Returns:
        This builder for chaining.
      • clearNodePoolId

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder clearNodePoolId()
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3065
         Required. Deprecated. The name of the node pool to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNodePoolIdBytes

        @Deprecated
        public SetNodePoolAutoscalingRequest.Builder setNodePoolIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3065
         Required. Deprecated. The name of the node pool to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for nodePoolId to set.
        Returns:
        This builder for chaining.
      • hasAutoscaling

        public boolean hasAutoscaling()
         Required. Autoscaling configuration for the node pool.
         
        .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAutoscaling in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        Whether the autoscaling field is set.
      • clearAutoscaling

        public SetNodePoolAutoscalingRequest.Builder clearAutoscaling()
         Required. Autoscaling configuration for the node pool.
         
        .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED];
      • getAutoscalingBuilder

        public NodePoolAutoscaling.Builder getAutoscalingBuilder()
         Required. Autoscaling configuration for the node pool.
         
        .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED];
      • getName

        public String getName()
         The name (project, location, cluster, node pool) of the node pool to set
         autoscaler settings. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 6;
        Specified by:
        getName in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name (project, location, cluster, node pool) of the node pool to set
         autoscaler settings. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 6;
        Specified by:
        getNameBytes in interface SetNodePoolAutoscalingRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public SetNodePoolAutoscalingRequest.Builder setName​(String value)
         The name (project, location, cluster, node pool) of the node pool to set
         autoscaler settings. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 6;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public SetNodePoolAutoscalingRequest.Builder clearName()
         The name (project, location, cluster, node pool) of the node pool to set
         autoscaler settings. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 6;
        Returns:
        This builder for chaining.
      • setNameBytes

        public SetNodePoolAutoscalingRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name (project, location, cluster, node pool) of the node pool to set
         autoscaler settings. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 6;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.