Class SetNodePoolManagementRequest.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<SetNodePoolManagementRequest.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<SetNodePoolManagementRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        @Deprecated
        public String getProjectId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3718
         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];
        Specified by:
        getProjectId in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3718
         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];
        Specified by:
        getProjectIdBytes in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        @Deprecated
        public SetNodePoolManagementRequest.Builder setProjectId​(String value)
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3718
         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];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        @Deprecated
        public SetNodePoolManagementRequest.Builder clearProjectId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3718
         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];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        @Deprecated
        public SetNodePoolManagementRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3718
         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];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3724
         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];
        Specified by:
        getZone in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3724
         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];
        Specified by:
        getZoneBytes in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public SetNodePoolManagementRequest.Builder setZone​(String value)
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3724
         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];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public SetNodePoolManagementRequest.Builder clearZone()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3724
         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];
        Returns:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public SetNodePoolManagementRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3724
         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];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getClusterId

        @Deprecated
        public String getClusterId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3728
         Deprecated. The name of the cluster to update.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true];
        Specified by:
        getClusterId in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The clusterId.
      • getClusterIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getClusterIdBytes()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3728
         Deprecated. The name of the cluster to update.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true];
        Specified by:
        getClusterIdBytes in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The bytes for clusterId.
      • setClusterId

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

        @Deprecated
        public SetNodePoolManagementRequest.Builder clearClusterId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3728
         Deprecated. The name of the cluster to update.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true];
        Returns:
        This builder for chaining.
      • setClusterIdBytes

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

        @Deprecated
        public String getNodePoolId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3732
         Deprecated. The name of the node pool to update.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true];
        Specified by:
        getNodePoolId in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The nodePoolId.
      • getNodePoolIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getNodePoolIdBytes()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3732
         Deprecated. The name of the node pool to update.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true];
        Specified by:
        getNodePoolIdBytes in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        The bytes for nodePoolId.
      • setNodePoolId

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

        @Deprecated
        public SetNodePoolManagementRequest.Builder clearNodePoolId()
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3732
         Deprecated. The name of the node pool to update.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true];
        Returns:
        This builder for chaining.
      • setNodePoolIdBytes

        @Deprecated
        public SetNodePoolManagementRequest.Builder setNodePoolIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3732
         Deprecated. The name of the node pool to update.
         This field has been deprecated and replaced by the name field.
         
        string node_pool_id = 4 [deprecated = true];
        Parameters:
        value - The bytes for nodePoolId to set.
        Returns:
        This builder for chaining.
      • hasManagement

        public boolean hasManagement()
         Required. NodeManagement configuration for the node pool.
         
        .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasManagement in interface SetNodePoolManagementRequestOrBuilder
        Returns:
        Whether the management field is set.
      • setManagement

        public SetNodePoolManagementRequest.Builder setManagement​(NodeManagement value)
         Required. NodeManagement configuration for the node pool.
         
        .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED];
      • mergeManagement

        public SetNodePoolManagementRequest.Builder mergeManagement​(NodeManagement value)
         Required. NodeManagement configuration for the node pool.
         
        .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED];
      • clearManagement

        public SetNodePoolManagementRequest.Builder clearManagement()
         Required. NodeManagement configuration for the node pool.
         
        .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED];
      • getManagementBuilder

        public NodeManagement.Builder getManagementBuilder()
         Required. NodeManagement configuration for the node pool.
         
        .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED];
      • getName

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

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

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

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

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