Class AutoprovisioningNodePoolDefaults.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder
All Implemented Interfaces:
AutoprovisioningNodePoolDefaultsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AutoprovisioningNodePoolDefaults

public static final class AutoprovisioningNodePoolDefaults.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder> implements AutoprovisioningNodePoolDefaultsOrBuilder
 AutoprovisioningNodePoolDefaults contains defaults for a node pool created
 by NAP.
 
Protobuf type google.container.v1.AutoprovisioningNodePoolDefaults
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public AutoprovisioningNodePoolDefaults.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
    • mergeFrom

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

      public com.google.protobuf.ProtocolStringList getOauthScopesList()
       Scopes that are used by NAP when creating node pools.
       
      repeated string oauth_scopes = 1;
      Specified by:
      getOauthScopesList in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      A list containing the oauthScopes.
    • getOauthScopesCount

      public int getOauthScopesCount()
       Scopes that are used by NAP when creating node pools.
       
      repeated string oauth_scopes = 1;
      Specified by:
      getOauthScopesCount in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      The count of oauthScopes.
    • getOauthScopes

      public String getOauthScopes(int index)
       Scopes that are used by NAP when creating node pools.
       
      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)
       Scopes that are used by NAP when creating node pools.
       
      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)
       Scopes that are used by NAP when creating node pools.
       
      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)
       Scopes that are used by NAP when creating node pools.
       
      repeated string oauth_scopes = 1;
      Parameters:
      value - The oauthScopes to add.
      Returns:
      This builder for chaining.
    • addAllOauthScopes

      public AutoprovisioningNodePoolDefaults.Builder addAllOauthScopes(Iterable<String> values)
       Scopes that are used by NAP when creating node pools.
       
      repeated string oauth_scopes = 1;
      Parameters:
      values - The oauthScopes to add.
      Returns:
      This builder for chaining.
    • clearOauthScopes

      public AutoprovisioningNodePoolDefaults.Builder clearOauthScopes()
       Scopes that are used by NAP when creating node pools.
       
      repeated string oauth_scopes = 1;
      Returns:
      This builder for chaining.
    • addOauthScopesBytes

      public AutoprovisioningNodePoolDefaults.Builder addOauthScopesBytes(com.google.protobuf.ByteString value)
       Scopes that are used by NAP when creating node pools.
       
      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.
       
      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.
       
      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.
       
      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.
       
      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.
       
      string service_account = 2;
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • hasUpgradeSettings

      public boolean hasUpgradeSettings()
       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
      Specified by:
      hasUpgradeSettings in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      Whether the upgradeSettings field is set.
    • getUpgradeSettings

      public NodePool.UpgradeSettings getUpgradeSettings()
       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
      Specified by:
      getUpgradeSettings in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      The upgradeSettings.
    • setUpgradeSettings

       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
    • setUpgradeSettings

       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
    • mergeUpgradeSettings

       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
    • clearUpgradeSettings

      public AutoprovisioningNodePoolDefaults.Builder clearUpgradeSettings()
       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
    • getUpgradeSettingsBuilder

      public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
    • getUpgradeSettingsOrBuilder

      public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
       Specifies the upgrade settings for NAP created node pools
       
      .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
      Specified by:
      getUpgradeSettingsOrBuilder in interface AutoprovisioningNodePoolDefaultsOrBuilder
    • hasManagement

      public boolean hasManagement()
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
      Specified by:
      hasManagement in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      Whether the management field is set.
    • getManagement

      public NodeManagement getManagement()
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
      Specified by:
      getManagement in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      The management.
    • setManagement

       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
    • setManagement

      public AutoprovisioningNodePoolDefaults.Builder setManagement(NodeManagement.Builder builderForValue)
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
    • mergeManagement

       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
    • clearManagement

      public AutoprovisioningNodePoolDefaults.Builder clearManagement()
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
    • getManagementBuilder

      public NodeManagement.Builder getManagementBuilder()
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
    • getManagementOrBuilder

      public NodeManagementOrBuilder getManagementOrBuilder()
       Specifies the node management options for NAP created node-pools.
       
      .google.container.v1.NodeManagement management = 4;
      Specified by:
      getManagementOrBuilder in interface AutoprovisioningNodePoolDefaultsOrBuilder
    • getMinCpuPlatform

      @Deprecated public String getMinCpuPlatform()
      Deprecated.
      google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852
       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.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852
       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.
      google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852
       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.
      google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852
       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.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852
       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

       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

       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.v1.ShieldedInstanceConfig shielded_instance_config = 8;
      Specified by:
      hasShieldedInstanceConfig in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      Whether the shieldedInstanceConfig field is set.
    • getShieldedInstanceConfig

      public ShieldedInstanceConfig getShieldedInstanceConfig()
       Shielded Instance options.
       
      .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
      Specified by:
      getShieldedInstanceConfig in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      The shieldedInstanceConfig.
    • setShieldedInstanceConfig

      public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
       Shielded Instance options.
       
      .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
    • setShieldedInstanceConfig

      public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
       Shielded Instance options.
       
      .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
    • mergeShieldedInstanceConfig

      public AutoprovisioningNodePoolDefaults.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
       Shielded Instance options.
       
      .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
    • clearShieldedInstanceConfig

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

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

      public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
       Shielded Instance options.
       
      .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
      Specified by:
      getShieldedInstanceConfigOrBuilder in interface AutoprovisioningNodePoolDefaultsOrBuilder
    • 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

       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.
    • hasInsecureKubeletReadonlyPortEnabled

      public boolean hasInsecureKubeletReadonlyPortEnabled()
       DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
       
      optional bool insecure_kubelet_readonly_port_enabled = 13;
      Specified by:
      hasInsecureKubeletReadonlyPortEnabled in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      Whether the insecureKubeletReadonlyPortEnabled field is set.
    • getInsecureKubeletReadonlyPortEnabled

      public boolean getInsecureKubeletReadonlyPortEnabled()
       DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
       
      optional bool insecure_kubelet_readonly_port_enabled = 13;
      Specified by:
      getInsecureKubeletReadonlyPortEnabled in interface AutoprovisioningNodePoolDefaultsOrBuilder
      Returns:
      The insecureKubeletReadonlyPortEnabled.
    • setInsecureKubeletReadonlyPortEnabled

      public AutoprovisioningNodePoolDefaults.Builder setInsecureKubeletReadonlyPortEnabled(boolean value)
       DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
       
      optional bool insecure_kubelet_readonly_port_enabled = 13;
      Parameters:
      value - The insecureKubeletReadonlyPortEnabled to set.
      Returns:
      This builder for chaining.
    • clearInsecureKubeletReadonlyPortEnabled

      public AutoprovisioningNodePoolDefaults.Builder clearInsecureKubeletReadonlyPortEnabled()
       DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
       
      optional bool insecure_kubelet_readonly_port_enabled = 13;
      Returns:
      This builder for chaining.