Interface AutoprovisioningNodePoolDefaultsOrBuilder (2.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The insecureKubeletReadonlyPortEnabled.

getManagement()

public abstract NodeManagement getManagement()

NodeManagement configuration for this NodePool.

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

Returns
TypeDescription
NodeManagement

The management.

getManagementOrBuilder()

public abstract NodeManagementOrBuilder getManagementOrBuilder()

NodeManagement configuration for this NodePool.

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

Returns
TypeDescription
NodeManagementOrBuilder

getMinCpuPlatform() (deprecated)

public abstract String getMinCpuPlatform()

Deprecated. google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4391

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
TypeDescription
String

The minCpuPlatform.

getMinCpuPlatformBytes() (deprecated)

public abstract ByteString getMinCpuPlatformBytes()

Deprecated. google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4391

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
TypeDescription
ByteString

The bytes for minCpuPlatform.

getOauthScopes(int index)

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

repeated string oauth_scopes = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The oauthScopes at the given index.

getOauthScopesBytes(int index)

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

repeated string oauth_scopes = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the oauthScopes at the given index.

getOauthScopesCount()

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

repeated string oauth_scopes = 1;

Returns
TypeDescription
int

The count of oauthScopes.

getOauthScopesList()

public abstract List<String> 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:

repeated string oauth_scopes = 1;

Returns
TypeDescription
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. 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
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

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

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getShieldedInstanceConfig()

public abstract ShieldedInstanceConfig getShieldedInstanceConfig()

Shielded Instance options.

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

Returns
TypeDescription
ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public abstract ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

Shielded Instance options.

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

Returns
TypeDescription
ShieldedInstanceConfigOrBuilder

getUpgradeSettings()

public abstract NodePool.UpgradeSettings getUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsOrBuilder()

public abstract NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
NodePool.UpgradeSettingsOrBuilder

hasInsecureKubeletReadonlyPortEnabled()

public abstract boolean hasInsecureKubeletReadonlyPortEnabled()

Enable or disable Kubelet read only port.

optional bool insecure_kubelet_readonly_port_enabled = 13;

Returns
TypeDescription
boolean

Whether the insecureKubeletReadonlyPortEnabled field is set.

hasManagement()

public abstract boolean hasManagement()

NodeManagement configuration for this NodePool.

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

Returns
TypeDescription
boolean

Whether the management field is set.

hasShieldedInstanceConfig()

public abstract boolean hasShieldedInstanceConfig()

Shielded Instance options.

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

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.

hasUpgradeSettings()

public abstract boolean hasUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
boolean

Whether the upgradeSettings field is set.