Interface UpdateNodePoolRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    UpdateNodePoolRequest, UpdateNodePoolRequest.Builder

    public interface UpdateNodePoolRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getProjectId

        @Deprecated
        String getProjectId()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2606
         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:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=2606
         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:
        The bytes for projectId.
      • getZone

        @Deprecated
        String getZone()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2612
         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:
        The zone.
      • getZoneBytes

        @Deprecated
        com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=2612
         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:
        The bytes for zone.
      • getClusterId

        @Deprecated
        String getClusterId()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=2616
         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];
        Returns:
        The clusterId.
      • getClusterIdBytes

        @Deprecated
        com.google.protobuf.ByteString getClusterIdBytes()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=2616
         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];
        Returns:
        The bytes for clusterId.
      • getNodePoolId

        @Deprecated
        String getNodePoolId()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=2620
         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];
        Returns:
        The nodePoolId.
      • getNodePoolIdBytes

        @Deprecated
        com.google.protobuf.ByteString getNodePoolIdBytes()
        Deprecated.
        google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=2620
         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];
        Returns:
        The bytes for nodePoolId.
      • getNodeVersion

        String getNodeVersion()
         Required. The Kubernetes version to change the nodes to (typically an
         upgrade).
        
         Users may specify either explicit versions offered by Kubernetes Engine or
         version aliases, which have the following behavior:
        
         - "latest": picks the highest valid Kubernetes version
         - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
         - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
         - "1.X.Y-gke.N": picks an explicit Kubernetes version
         - "-": picks the Kubernetes master version
         
        string node_version = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The nodeVersion.
      • getNodeVersionBytes

        com.google.protobuf.ByteString getNodeVersionBytes()
         Required. The Kubernetes version to change the nodes to (typically an
         upgrade).
        
         Users may specify either explicit versions offered by Kubernetes Engine or
         version aliases, which have the following behavior:
        
         - "latest": picks the highest valid Kubernetes version
         - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
         - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
         - "1.X.Y-gke.N": picks an explicit Kubernetes version
         - "-": picks the Kubernetes master version
         
        string node_version = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for nodeVersion.
      • getImageType

        String getImageType()
         Required. The desired image type for the node pool. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The imageType.
      • getImageTypeBytes

        com.google.protobuf.ByteString getImageTypeBytes()
         Required. The desired image type for the node pool. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for imageType.
      • getName

        String getName()
         The name (project, location, cluster, node pool) of the node pool to
         update. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 8;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name (project, location, cluster, node pool) of the node pool to
         update. Specified in the format
         `projects/*/locations/*/clusters/*/nodePools/*`.
         
        string name = 8;
        Returns:
        The bytes for name.
      • getLocationsList

        List<String> getLocationsList()
         The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         node pool's nodes should be located. Changing the locations for a node pool
         will result in nodes being either created or removed from the node pool,
         depending on whether locations are being added or removed.
         
        repeated string locations = 13;
        Returns:
        A list containing the locations.
      • getLocationsCount

        int getLocationsCount()
         The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         node pool's nodes should be located. Changing the locations for a node pool
         will result in nodes being either created or removed from the node pool,
         depending on whether locations are being added or removed.
         
        repeated string locations = 13;
        Returns:
        The count of locations.
      • getLocations

        String getLocations​(int index)
         The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         node pool's nodes should be located. Changing the locations for a node pool
         will result in nodes being either created or removed from the node pool,
         depending on whether locations are being added or removed.
         
        repeated string locations = 13;
        Parameters:
        index - The index of the element to return.
        Returns:
        The locations at the given index.
      • getLocationsBytes

        com.google.protobuf.ByteString getLocationsBytes​(int index)
         The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         node pool's nodes should be located. Changing the locations for a node pool
         will result in nodes being either created or removed from the node pool,
         depending on whether locations are being added or removed.
         
        repeated string locations = 13;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the locations at the given index.
      • hasWorkloadMetadataConfig

        boolean hasWorkloadMetadataConfig()
         The desired workload metadata config for the node pool.
         
        .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;
        Returns:
        Whether the workloadMetadataConfig field is set.
      • getWorkloadMetadataConfig

        WorkloadMetadataConfig getWorkloadMetadataConfig()
         The desired workload metadata config for the node pool.
         
        .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;
        Returns:
        The workloadMetadataConfig.
      • getWorkloadMetadataConfigOrBuilder

        WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()
         The desired workload metadata config for the node pool.
         
        .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;
      • hasUpgradeSettings

        boolean hasUpgradeSettings()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15;
        Returns:
        Whether the upgradeSettings field is set.
      • getUpgradeSettings

        NodePool.UpgradeSettings getUpgradeSettings()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15;
        Returns:
        The upgradeSettings.
      • getUpgradeSettingsOrBuilder

        NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15;
      • hasTags

        boolean hasTags()
         The desired network tags to be applied to all nodes in the node pool.
         If this field is not present, the tags will not be changed. Otherwise,
         the existing network tags will be *replaced* with the provided tags.
         
        .google.container.v1.NetworkTags tags = 16;
        Returns:
        Whether the tags field is set.
      • getTags

        NetworkTags getTags()
         The desired network tags to be applied to all nodes in the node pool.
         If this field is not present, the tags will not be changed. Otherwise,
         the existing network tags will be *replaced* with the provided tags.
         
        .google.container.v1.NetworkTags tags = 16;
        Returns:
        The tags.
      • getTagsOrBuilder

        NetworkTagsOrBuilder getTagsOrBuilder()
         The desired network tags to be applied to all nodes in the node pool.
         If this field is not present, the tags will not be changed. Otherwise,
         the existing network tags will be *replaced* with the provided tags.
         
        .google.container.v1.NetworkTags tags = 16;
      • hasTaints

        boolean hasTaints()
         The desired node taints to be applied to all nodes in the node pool.
         If this field is not present, the taints will not be changed. Otherwise,
         the existing node taints will be *replaced* with the provided taints.
         
        .google.container.v1.NodeTaints taints = 17;
        Returns:
        Whether the taints field is set.
      • getTaints

        NodeTaints getTaints()
         The desired node taints to be applied to all nodes in the node pool.
         If this field is not present, the taints will not be changed. Otherwise,
         the existing node taints will be *replaced* with the provided taints.
         
        .google.container.v1.NodeTaints taints = 17;
        Returns:
        The taints.
      • getTaintsOrBuilder

        NodeTaintsOrBuilder getTaintsOrBuilder()
         The desired node taints to be applied to all nodes in the node pool.
         If this field is not present, the taints will not be changed. Otherwise,
         the existing node taints will be *replaced* with the provided taints.
         
        .google.container.v1.NodeTaints taints = 17;
      • hasLabels

        boolean hasLabels()
         The desired node labels to be applied to all nodes in the node pool.
         If this field is not present, the labels will not be changed. Otherwise,
         the existing node labels will be *replaced* with the provided labels.
         
        .google.container.v1.NodeLabels labels = 18;
        Returns:
        Whether the labels field is set.
      • getLabels

        NodeLabels getLabels()
         The desired node labels to be applied to all nodes in the node pool.
         If this field is not present, the labels will not be changed. Otherwise,
         the existing node labels will be *replaced* with the provided labels.
         
        .google.container.v1.NodeLabels labels = 18;
        Returns:
        The labels.
      • getLabelsOrBuilder

        NodeLabelsOrBuilder getLabelsOrBuilder()
         The desired node labels to be applied to all nodes in the node pool.
         If this field is not present, the labels will not be changed. Otherwise,
         the existing node labels will be *replaced* with the provided labels.
         
        .google.container.v1.NodeLabels labels = 18;
      • hasLinuxNodeConfig

        boolean hasLinuxNodeConfig()
         Parameters that can be configured on Linux nodes.
         
        .google.container.v1.LinuxNodeConfig linux_node_config = 19;
        Returns:
        Whether the linuxNodeConfig field is set.
      • getLinuxNodeConfig

        LinuxNodeConfig getLinuxNodeConfig()
         Parameters that can be configured on Linux nodes.
         
        .google.container.v1.LinuxNodeConfig linux_node_config = 19;
        Returns:
        The linuxNodeConfig.
      • getLinuxNodeConfigOrBuilder

        LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
         Parameters that can be configured on Linux nodes.
         
        .google.container.v1.LinuxNodeConfig linux_node_config = 19;
      • hasKubeletConfig

        boolean hasKubeletConfig()
         Node kubelet configs.
         
        .google.container.v1.NodeKubeletConfig kubelet_config = 20;
        Returns:
        Whether the kubeletConfig field is set.
      • getKubeletConfig

        NodeKubeletConfig getKubeletConfig()
         Node kubelet configs.
         
        .google.container.v1.NodeKubeletConfig kubelet_config = 20;
        Returns:
        The kubeletConfig.
      • getKubeletConfigOrBuilder

        NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
         Node kubelet configs.
         
        .google.container.v1.NodeKubeletConfig kubelet_config = 20;
      • hasNodeNetworkConfig

        boolean hasNodeNetworkConfig()
         Node network config.
         
        .google.container.v1.NodeNetworkConfig node_network_config = 21;
        Returns:
        Whether the nodeNetworkConfig field is set.
      • getNodeNetworkConfig

        NodeNetworkConfig getNodeNetworkConfig()
         Node network config.
         
        .google.container.v1.NodeNetworkConfig node_network_config = 21;
        Returns:
        The nodeNetworkConfig.
      • getNodeNetworkConfigOrBuilder

        NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder()
         Node network config.
         
        .google.container.v1.NodeNetworkConfig node_network_config = 21;
      • hasGcfsConfig

        boolean hasGcfsConfig()
         GCFS config.
         
        .google.container.v1.GcfsConfig gcfs_config = 22;
        Returns:
        Whether the gcfsConfig field is set.
      • getGcfsConfig

        GcfsConfig getGcfsConfig()
         GCFS config.
         
        .google.container.v1.GcfsConfig gcfs_config = 22;
        Returns:
        The gcfsConfig.
      • getGcfsConfigOrBuilder

        GcfsConfigOrBuilder getGcfsConfigOrBuilder()
         GCFS config.
         
        .google.container.v1.GcfsConfig gcfs_config = 22;
      • hasConfidentialNodes

        boolean hasConfidentialNodes()
         Confidential nodes config.
         All the nodes in the node pool will be Confidential VM once enabled.
         
        .google.container.v1.ConfidentialNodes confidential_nodes = 23;
        Returns:
        Whether the confidentialNodes field is set.
      • getConfidentialNodes

        ConfidentialNodes getConfidentialNodes()
         Confidential nodes config.
         All the nodes in the node pool will be Confidential VM once enabled.
         
        .google.container.v1.ConfidentialNodes confidential_nodes = 23;
        Returns:
        The confidentialNodes.
      • getConfidentialNodesOrBuilder

        ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder()
         Confidential nodes config.
         All the nodes in the node pool will be Confidential VM once enabled.
         
        .google.container.v1.ConfidentialNodes confidential_nodes = 23;
      • hasGvnic

        boolean hasGvnic()
         Enable or disable gvnic on the node pool.
         
        .google.container.v1.VirtualNIC gvnic = 29;
        Returns:
        Whether the gvnic field is set.
      • getGvnic

        VirtualNIC getGvnic()
         Enable or disable gvnic on the node pool.
         
        .google.container.v1.VirtualNIC gvnic = 29;
        Returns:
        The gvnic.
      • getGvnicOrBuilder

        VirtualNICOrBuilder getGvnicOrBuilder()
         Enable or disable gvnic on the node pool.
         
        .google.container.v1.VirtualNIC gvnic = 29;
      • getEtag

        String getEtag()
         The current etag of the node pool.
         If an etag is provided and does not match the current etag of the node
         pool, update will be blocked and an ABORTED error will be returned.
         
        string etag = 30;
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         The current etag of the node pool.
         If an etag is provided and does not match the current etag of the node
         pool, update will be blocked and an ABORTED error will be returned.
         
        string etag = 30;
        Returns:
        The bytes for etag.
      • hasFastSocket

        boolean hasFastSocket()
         Enable or disable NCCL fast socket for the node pool.
         
        .google.container.v1.FastSocket fast_socket = 31;
        Returns:
        Whether the fastSocket field is set.
      • getFastSocket

        FastSocket getFastSocket()
         Enable or disable NCCL fast socket for the node pool.
         
        .google.container.v1.FastSocket fast_socket = 31;
        Returns:
        The fastSocket.
      • getFastSocketOrBuilder

        FastSocketOrBuilder getFastSocketOrBuilder()
         Enable or disable NCCL fast socket for the node pool.
         
        .google.container.v1.FastSocket fast_socket = 31;
      • hasLoggingConfig

        boolean hasLoggingConfig()
         Logging configuration.
         
        .google.container.v1.NodePoolLoggingConfig logging_config = 32;
        Returns:
        Whether the loggingConfig field is set.
      • getLoggingConfig

        NodePoolLoggingConfig getLoggingConfig()
         Logging configuration.
         
        .google.container.v1.NodePoolLoggingConfig logging_config = 32;
        Returns:
        The loggingConfig.
      • getLoggingConfigOrBuilder

        NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()
         Logging configuration.
         
        .google.container.v1.NodePoolLoggingConfig logging_config = 32;
      • hasResourceLabels

        boolean hasResourceLabels()
         The resource labels for the node pool to use to annotate any related
         Google Compute Engine resources.
         
        .google.container.v1.ResourceLabels resource_labels = 33;
        Returns:
        Whether the resourceLabels field is set.
      • getResourceLabels

        ResourceLabels getResourceLabels()
         The resource labels for the node pool to use to annotate any related
         Google Compute Engine resources.
         
        .google.container.v1.ResourceLabels resource_labels = 33;
        Returns:
        The resourceLabels.
      • getResourceLabelsOrBuilder

        ResourceLabelsOrBuilder getResourceLabelsOrBuilder()
         The resource labels for the node pool to use to annotate any related
         Google Compute Engine resources.
         
        .google.container.v1.ResourceLabels resource_labels = 33;
      • hasWindowsNodeConfig

        boolean hasWindowsNodeConfig()
         Parameters that can be configured on Windows nodes.
         
        .google.container.v1.WindowsNodeConfig windows_node_config = 34;
        Returns:
        Whether the windowsNodeConfig field is set.
      • getWindowsNodeConfig

        WindowsNodeConfig getWindowsNodeConfig()
         Parameters that can be configured on Windows nodes.
         
        .google.container.v1.WindowsNodeConfig windows_node_config = 34;
        Returns:
        The windowsNodeConfig.
      • getWindowsNodeConfigOrBuilder

        WindowsNodeConfigOrBuilder getWindowsNodeConfigOrBuilder()
         Parameters that can be configured on Windows nodes.
         
        .google.container.v1.WindowsNodeConfig windows_node_config = 34;
      • getMachineType

        String getMachineType()
         Optional. The desired [Google Compute Engine machine
         type](https://cloud.google.com/compute/docs/machine-types) for nodes in the
         node pool. Initiates an upgrade operation that migrates the nodes in the
         node pool to the specified machine type.
         
        string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The machineType.
      • getMachineTypeBytes

        com.google.protobuf.ByteString getMachineTypeBytes()
         Optional. The desired [Google Compute Engine machine
         type](https://cloud.google.com/compute/docs/machine-types) for nodes in the
         node pool. Initiates an upgrade operation that migrates the nodes in the
         node pool to the specified machine type.
         
        string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for machineType.
      • getDiskType

        String getDiskType()
         Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced') for nodes in the node pool.
         Initiates an upgrade operation that migrates the nodes in the
         node pool to the specified disk type.
         
        string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The diskType.
      • getDiskTypeBytes

        com.google.protobuf.ByteString getDiskTypeBytes()
         Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced') for nodes in the node pool.
         Initiates an upgrade operation that migrates the nodes in the
         node pool to the specified disk type.
         
        string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for diskType.
      • getDiskSizeGb

        long getDiskSizeGb()
         Optional. The desired disk size for nodes in the node pool specified in GB.
         The smallest allowed disk size is 10GB.
         Initiates an upgrade operation that migrates the nodes in the
         node pool to the specified disk size.
         
        int64 disk_size_gb = 38 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The diskSizeGb.