Interface AutoprovisioningNodePoolDefaultsOrBuilder (2.52.0)

public interface AutoprovisioningNodePoolDefaultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDiskKmsKey()

public abstract 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;

Returns
Type Description
String

The bootDiskKmsKey.

getBootDiskKmsKeyBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for bootDiskKmsKey.

getDiskSizeGb()

public abstract 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;

Returns
Type Description
int

The diskSizeGb.

getDiskType()

public abstract 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;

Returns
Type Description
String

The diskType.

getDiskTypeBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for diskType.

getImageType()

public abstract 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;

Returns
Type Description
String

The imageType.

getImageTypeBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for imageType.

getInsecureKubeletReadonlyPortEnabled()

public abstract boolean getInsecureKubeletReadonlyPortEnabled()

Enable or disable Kubelet read only port.

optional bool insecure_kubelet_readonly_port_enabled = 13;

Returns
Type Description
boolean

The insecureKubeletReadonlyPortEnabled.

getManagement()

public abstract NodeManagement getManagement()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
Type Description
NodeManagement

The management.

getManagementOrBuilder()

public abstract NodeManagementOrBuilder getManagementOrBuilder()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
Type Description
NodeManagementOrBuilder

getMinCpuPlatform() (deprecated)

public abstract String getMinCpuPlatform()

Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=4095

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. 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
Type Description
String

The minCpuPlatform.

getMinCpuPlatformBytes() (deprecated)

public abstract ByteString getMinCpuPlatformBytes()

Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=4095

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. 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
Type Description
ByteString

The bytes for minCpuPlatform.

getOauthScopes(int index)

public abstract String getOauthScopes(int index)

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The oauthScopes at the given index.

getOauthScopesBytes(int index)

public abstract ByteString getOauthScopesBytes(int index)

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the oauthScopes at the given index.

getOauthScopesCount()

public abstract int getOauthScopesCount()

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Returns
Type Description
int

The count of oauthScopes.

getOauthScopesList()

public abstract List<String> getOauthScopesList()

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Returns
Type Description
List<String>

A list containing the oauthScopes.

getServiceAccount()

public abstract String getServiceAccount()

The Google Cloud Platform Service Account to be used by the node VMs.

string service_account = 2;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The Google Cloud Platform Service Account to be used by the node VMs.

string service_account = 2;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getShieldedInstanceConfig()

public abstract ShieldedInstanceConfig getShieldedInstanceConfig()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
Type Description
ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public abstract ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
Type Description
ShieldedInstanceConfigOrBuilder

getUpgradeSettings()

public abstract NodePool.UpgradeSettings getUpgradeSettings()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
Type Description
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsOrBuilder()

public abstract NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
Type Description
NodePool.UpgradeSettingsOrBuilder

hasInsecureKubeletReadonlyPortEnabled()

public abstract boolean hasInsecureKubeletReadonlyPortEnabled()

Enable or disable Kubelet read only port.

optional bool insecure_kubelet_readonly_port_enabled = 13;

Returns
Type Description
boolean

Whether the insecureKubeletReadonlyPortEnabled field is set.

hasManagement()

public abstract boolean hasManagement()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
Type Description
boolean

Whether the management field is set.

hasShieldedInstanceConfig()

public abstract boolean hasShieldedInstanceConfig()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
Type Description
boolean

Whether the shieldedInstanceConfig field is set.

hasUpgradeSettings()

public abstract boolean hasUpgradeSettings()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
Type Description
boolean

Whether the upgradeSettings field is set.