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

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

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

        public AutoprovisioningNodePoolDefaults 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<AutoprovisioningNodePoolDefaults.Builder>
      • getOauthScopesList

        public com.google.protobuf.ProtocolStringList getOauthScopesList()
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Specified by:
        getOauthScopesList in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        A list containing the oauthScopes.
      • getOauthScopesCount

        public int getOauthScopesCount()
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Specified by:
        getOauthScopesCount in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The count of oauthScopes.
      • getOauthScopes

        public String getOauthScopes​(int index)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Specified by:
        getOauthScopes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The oauthScopes at the given index.
      • getOauthScopesBytes

        public com.google.protobuf.ByteString getOauthScopesBytes​(int index)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Specified by:
        getOauthScopesBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the oauthScopes at the given index.
      • setOauthScopes

        public AutoprovisioningNodePoolDefaults.Builder setOauthScopes​(int index,
                                                                       String value)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Parameters:
        index - The index to set the value at.
        value - The oauthScopes to set.
        Returns:
        This builder for chaining.
      • addOauthScopes

        public AutoprovisioningNodePoolDefaults.Builder addOauthScopes​(String value)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Parameters:
        value - The oauthScopes to add.
        Returns:
        This builder for chaining.
      • addAllOauthScopes

        public AutoprovisioningNodePoolDefaults.Builder addAllOauthScopes​(Iterable<String> values)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Parameters:
        values - The oauthScopes to add.
        Returns:
        This builder for chaining.
      • clearOauthScopes

        public AutoprovisioningNodePoolDefaults.Builder clearOauthScopes()
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Returns:
        This builder for chaining.
      • addOauthScopesBytes

        public AutoprovisioningNodePoolDefaults.Builder addOauthScopesBytes​(com.google.protobuf.ByteString value)
         The set of Google API scopes to be made available on all of the
         node VMs under the "default" service account.
        
         The following scopes are recommended, but not required, and by default are
         not included:
        
         * `https://www.googleapis.com/auth/compute` is required for mounting
         persistent storage on your nodes.
         * `https://www.googleapis.com/auth/devstorage.read_only` is required for
         communicating with **gcr.io**
         (the [Google Container
         Registry](https://cloud.google.com/container-registry/)).
        
         If unspecified, no scopes are added, unless Cloud Logging or Cloud
         Monitoring are enabled, in which case their required scopes will be added.
         
        repeated string oauth_scopes = 1;
        Parameters:
        value - The bytes of the oauthScopes to add.
        Returns:
        This builder for chaining.
      • getServiceAccount

        public String getServiceAccount()
         The Google Cloud Platform Service Account to be used by the node VMs.
         Specify the email address of the Service Account; otherwise, if no Service
         Account is specified, the "default" service account is used.
         
        string service_account = 2;
        Specified by:
        getServiceAccount in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         The Google Cloud Platform Service Account to be used by the node VMs.
         Specify the email address of the Service Account; otherwise, if no Service
         Account is specified, the "default" service account is used.
         
        string service_account = 2;
        Specified by:
        getServiceAccountBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bytes for serviceAccount.
      • setServiceAccount

        public AutoprovisioningNodePoolDefaults.Builder setServiceAccount​(String value)
         The Google Cloud Platform Service Account to be used by the node VMs.
         Specify the email address of the Service Account; otherwise, if no Service
         Account is specified, the "default" service account is used.
         
        string service_account = 2;
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        public AutoprovisioningNodePoolDefaults.Builder clearServiceAccount()
         The Google Cloud Platform Service Account to be used by the node VMs.
         Specify the email address of the Service Account; otherwise, if no Service
         Account is specified, the "default" service account is used.
         
        string service_account = 2;
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        public AutoprovisioningNodePoolDefaults.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
         The Google Cloud Platform Service Account to be used by the node VMs.
         Specify the email address of the Service Account; otherwise, if no Service
         Account is specified, the "default" service account is used.
         
        string service_account = 2;
        Parameters:
        value - The bytes for serviceAccount to set.
        Returns:
        This builder for chaining.
      • hasUpgradeSettings

        public boolean hasUpgradeSettings()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
        Specified by:
        hasUpgradeSettings in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        Whether the upgradeSettings field is set.
      • clearUpgradeSettings

        public AutoprovisioningNodePoolDefaults.Builder clearUpgradeSettings()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
      • getUpgradeSettingsBuilder

        public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
         Upgrade settings control disruption and speed of the upgrade.
         
        .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
      • hasManagement

        public boolean hasManagement()
         NodeManagement configuration for this NodePool.
         
        .google.container.v1beta1.NodeManagement management = 4;
        Specified by:
        hasManagement in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        Whether the management field is set.
      • getManagementBuilder

        public NodeManagement.Builder getManagementBuilder()
         NodeManagement configuration for this NodePool.
         
        .google.container.v1beta1.NodeManagement management = 4;
      • getMinCpuPlatform

        @Deprecated
        public String getMinCpuPlatform()
        Deprecated.
        google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
         Deprecated. Minimum CPU platform to be used for NAP created node pools.
         The instance may be scheduled on the specified or newer CPU platform.
         Applicable values are the friendly names of CPU platforms, such as
         minCpuPlatform: Intel Haswell or
         minCpuPlatform: Intel Sandy Bridge. For more
         information, read [how to specify min CPU
         platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
         This field is deprecated, min_cpu_platform should be specified using
         `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
         To unset the min cpu platform field pass "automatic"
         as field value.
         
        string min_cpu_platform = 5 [deprecated = true];
        Specified by:
        getMinCpuPlatform in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The minCpuPlatform.
      • getMinCpuPlatformBytes

        @Deprecated
        public com.google.protobuf.ByteString getMinCpuPlatformBytes()
        Deprecated.
        google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
         Deprecated. Minimum CPU platform to be used for NAP created node pools.
         The instance may be scheduled on the specified or newer CPU platform.
         Applicable values are the friendly names of CPU platforms, such as
         minCpuPlatform: Intel Haswell or
         minCpuPlatform: Intel Sandy Bridge. For more
         information, read [how to specify min CPU
         platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
         This field is deprecated, min_cpu_platform should be specified using
         `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
         To unset the min cpu platform field pass "automatic"
         as field value.
         
        string min_cpu_platform = 5 [deprecated = true];
        Specified by:
        getMinCpuPlatformBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bytes for minCpuPlatform.
      • setMinCpuPlatform

        @Deprecated
        public AutoprovisioningNodePoolDefaults.Builder setMinCpuPlatform​(String value)
        Deprecated.
        google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
         Deprecated. Minimum CPU platform to be used for NAP created node pools.
         The instance may be scheduled on the specified or newer CPU platform.
         Applicable values are the friendly names of CPU platforms, such as
         minCpuPlatform: Intel Haswell or
         minCpuPlatform: Intel Sandy Bridge. For more
         information, read [how to specify min CPU
         platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
         This field is deprecated, min_cpu_platform should be specified using
         `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
         To unset the min cpu platform field pass "automatic"
         as field value.
         
        string min_cpu_platform = 5 [deprecated = true];
        Parameters:
        value - The minCpuPlatform to set.
        Returns:
        This builder for chaining.
      • clearMinCpuPlatform

        @Deprecated
        public AutoprovisioningNodePoolDefaults.Builder clearMinCpuPlatform()
        Deprecated.
        google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
         Deprecated. Minimum CPU platform to be used for NAP created node pools.
         The instance may be scheduled on the specified or newer CPU platform.
         Applicable values are the friendly names of CPU platforms, such as
         minCpuPlatform: Intel Haswell or
         minCpuPlatform: Intel Sandy Bridge. For more
         information, read [how to specify min CPU
         platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
         This field is deprecated, min_cpu_platform should be specified using
         `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
         To unset the min cpu platform field pass "automatic"
         as field value.
         
        string min_cpu_platform = 5 [deprecated = true];
        Returns:
        This builder for chaining.
      • setMinCpuPlatformBytes

        @Deprecated
        public AutoprovisioningNodePoolDefaults.Builder setMinCpuPlatformBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
         Deprecated. Minimum CPU platform to be used for NAP created node pools.
         The instance may be scheduled on the specified or newer CPU platform.
         Applicable values are the friendly names of CPU platforms, such as
         minCpuPlatform: Intel Haswell or
         minCpuPlatform: Intel Sandy Bridge. For more
         information, read [how to specify min CPU
         platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
         This field is deprecated, min_cpu_platform should be specified using
         `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
         To unset the min cpu platform field pass "automatic"
         as field value.
         
        string min_cpu_platform = 5 [deprecated = true];
        Parameters:
        value - The bytes for minCpuPlatform to set.
        Returns:
        This builder for chaining.
      • getDiskSizeGb

        public int getDiskSizeGb()
         Size of the disk attached to each node, specified in GB.
         The smallest allowed disk size is 10GB.
        
         If unspecified, the default disk size is 100GB.
         
        int32 disk_size_gb = 6;
        Specified by:
        getDiskSizeGb in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The diskSizeGb.
      • setDiskSizeGb

        public AutoprovisioningNodePoolDefaults.Builder setDiskSizeGb​(int value)
         Size of the disk attached to each node, specified in GB.
         The smallest allowed disk size is 10GB.
        
         If unspecified, the default disk size is 100GB.
         
        int32 disk_size_gb = 6;
        Parameters:
        value - The diskSizeGb to set.
        Returns:
        This builder for chaining.
      • clearDiskSizeGb

        public AutoprovisioningNodePoolDefaults.Builder clearDiskSizeGb()
         Size of the disk attached to each node, specified in GB.
         The smallest allowed disk size is 10GB.
        
         If unspecified, the default disk size is 100GB.
         
        int32 disk_size_gb = 6;
        Returns:
        This builder for chaining.
      • getDiskType

        public String getDiskType()
         Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced')
        
         If unspecified, the default disk type is 'pd-standard'
         
        string disk_type = 7;
        Specified by:
        getDiskType in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The diskType.
      • getDiskTypeBytes

        public com.google.protobuf.ByteString getDiskTypeBytes()
         Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced')
        
         If unspecified, the default disk type is 'pd-standard'
         
        string disk_type = 7;
        Specified by:
        getDiskTypeBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bytes for diskType.
      • setDiskType

        public AutoprovisioningNodePoolDefaults.Builder setDiskType​(String value)
         Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced')
        
         If unspecified, the default disk type is 'pd-standard'
         
        string disk_type = 7;
        Parameters:
        value - The diskType to set.
        Returns:
        This builder for chaining.
      • clearDiskType

        public AutoprovisioningNodePoolDefaults.Builder clearDiskType()
         Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced')
        
         If unspecified, the default disk type is 'pd-standard'
         
        string disk_type = 7;
        Returns:
        This builder for chaining.
      • setDiskTypeBytes

        public AutoprovisioningNodePoolDefaults.Builder setDiskTypeBytes​(com.google.protobuf.ByteString value)
         Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
         'pd-balanced')
        
         If unspecified, the default disk type is 'pd-standard'
         
        string disk_type = 7;
        Parameters:
        value - The bytes for diskType to set.
        Returns:
        This builder for chaining.
      • hasShieldedInstanceConfig

        public boolean hasShieldedInstanceConfig()
         Shielded Instance options.
         
        .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
        Specified by:
        hasShieldedInstanceConfig in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        Whether the shieldedInstanceConfig field is set.
      • clearShieldedInstanceConfig

        public AutoprovisioningNodePoolDefaults.Builder clearShieldedInstanceConfig()
         Shielded Instance options.
         
        .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
      • getShieldedInstanceConfigBuilder

        public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
         Shielded Instance options.
         
        .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
      • getBootDiskKmsKey

        public String getBootDiskKmsKey()
        
         The Customer Managed Encryption Key used to encrypt the boot disk attached
         to each node in the node pool. This should be of the form
         projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
         For more information about protecting resources with Cloud KMS Keys please
         see:
         https://cloud.google.com/compute/docs/disks/customer-managed-encryption
         
        string boot_disk_kms_key = 9;
        Specified by:
        getBootDiskKmsKey in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bootDiskKmsKey.
      • getBootDiskKmsKeyBytes

        public com.google.protobuf.ByteString getBootDiskKmsKeyBytes()
        
         The Customer Managed Encryption Key used to encrypt the boot disk attached
         to each node in the node pool. This should be of the form
         projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
         For more information about protecting resources with Cloud KMS Keys please
         see:
         https://cloud.google.com/compute/docs/disks/customer-managed-encryption
         
        string boot_disk_kms_key = 9;
        Specified by:
        getBootDiskKmsKeyBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bytes for bootDiskKmsKey.
      • setBootDiskKmsKey

        public AutoprovisioningNodePoolDefaults.Builder setBootDiskKmsKey​(String value)
        
         The Customer Managed Encryption Key used to encrypt the boot disk attached
         to each node in the node pool. This should be of the form
         projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
         For more information about protecting resources with Cloud KMS Keys please
         see:
         https://cloud.google.com/compute/docs/disks/customer-managed-encryption
         
        string boot_disk_kms_key = 9;
        Parameters:
        value - The bootDiskKmsKey to set.
        Returns:
        This builder for chaining.
      • clearBootDiskKmsKey

        public AutoprovisioningNodePoolDefaults.Builder clearBootDiskKmsKey()
        
         The Customer Managed Encryption Key used to encrypt the boot disk attached
         to each node in the node pool. This should be of the form
         projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
         For more information about protecting resources with Cloud KMS Keys please
         see:
         https://cloud.google.com/compute/docs/disks/customer-managed-encryption
         
        string boot_disk_kms_key = 9;
        Returns:
        This builder for chaining.
      • setBootDiskKmsKeyBytes

        public AutoprovisioningNodePoolDefaults.Builder setBootDiskKmsKeyBytes​(com.google.protobuf.ByteString value)
        
         The Customer Managed Encryption Key used to encrypt the boot disk attached
         to each node in the node pool. This should be of the form
         projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
         For more information about protecting resources with Cloud KMS Keys please
         see:
         https://cloud.google.com/compute/docs/disks/customer-managed-encryption
         
        string boot_disk_kms_key = 9;
        Parameters:
        value - The bytes for bootDiskKmsKey to set.
        Returns:
        This builder for chaining.
      • getImageType

        public String getImageType()
         The image type to use for NAP created node. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 10;
        Specified by:
        getImageType in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The imageType.
      • getImageTypeBytes

        public com.google.protobuf.ByteString getImageTypeBytes()
         The image type to use for NAP created node. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 10;
        Specified by:
        getImageTypeBytes in interface AutoprovisioningNodePoolDefaultsOrBuilder
        Returns:
        The bytes for imageType.
      • setImageType

        public AutoprovisioningNodePoolDefaults.Builder setImageType​(String value)
         The image type to use for NAP created node. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 10;
        Parameters:
        value - The imageType to set.
        Returns:
        This builder for chaining.
      • clearImageType

        public AutoprovisioningNodePoolDefaults.Builder clearImageType()
         The image type to use for NAP created node. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 10;
        Returns:
        This builder for chaining.
      • setImageTypeBytes

        public AutoprovisioningNodePoolDefaults.Builder setImageTypeBytes​(com.google.protobuf.ByteString value)
         The image type to use for NAP created node. Please see
         https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
         available image types.
         
        string image_type = 10;
        Parameters:
        value - The bytes for imageType to set.
        Returns:
        This builder for chaining.
      • setInsecureKubeletReadonlyPortEnabled

        public AutoprovisioningNodePoolDefaults.Builder setInsecureKubeletReadonlyPortEnabled​(boolean value)
         Enable or disable Kubelet read only port.
         
        optional bool insecure_kubelet_readonly_port_enabled = 13;
        Parameters:
        value - The insecureKubeletReadonlyPortEnabled to set.
        Returns:
        This builder for chaining.
      • clearInsecureKubeletReadonlyPortEnabled

        public AutoprovisioningNodePoolDefaults.Builder clearInsecureKubeletReadonlyPortEnabled()
         Enable or disable Kubelet read only port.
         
        optional bool insecure_kubelet_readonly_port_enabled = 13;
        Returns:
        This builder for chaining.