Package com.google.container.v1beta1
Interface AutoprovisioningNodePoolDefaultsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoprovisioningNodePoolDefaults,AutoprovisioningNodePoolDefaults.Builder
@Generated
public interface AutoprovisioningNodePoolDefaultsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.com.google.protobuf.ByteStringThe Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.intSize of the disk attached to each node, specified in GB.Type of the disk attached to each node (e.g.com.google.protobuf.ByteStringType of the disk attached to each node (e.g.The image type to use for NAP created node.com.google.protobuf.ByteStringThe image type to use for NAP created node.booleanDEPRECATED.NodeManagement configuration for this NodePool.NodeManagement configuration for this NodePool.Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.getOauthScopes(int index) The set of Google API scopes to be made available on all of the node VMs under the "default" service account.com.google.protobuf.ByteStringgetOauthScopesBytes(int index) The set of Google API scopes to be made available on all of the node VMs under the "default" service account.intThe set of Google API scopes to be made available on all of the node VMs under the "default" service account.The set of Google API scopes to be made available on all of the node VMs under the "default" service account.The Google Cloud Platform Service Account to be used by the node VMs.com.google.protobuf.ByteStringThe Google Cloud Platform Service Account to be used by the node VMs.Shielded Instance options.Shielded Instance options.Upgrade settings control disruption and speed of the upgrade.Upgrade settings control disruption and speed of the upgrade.booleanDEPRECATED.booleanNodeManagement configuration for this NodePool.booleanShielded Instance options.booleanUpgrade settings control disruption and speed of the upgrade.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 [Artifact Registry](https://cloud.google.com/artifact-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:
- A list containing the oauthScopes.
-
getOauthScopesCount
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 [Artifact Registry](https://cloud.google.com/artifact-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:
- The count of oauthScopes.
-
getOauthScopes
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 [Artifact Registry](https://cloud.google.com/artifact-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 of the element to return.- Returns:
- The oauthScopes at the given index.
-
getOauthScopesBytes
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 [Artifact Registry](https://cloud.google.com/artifact-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 of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
getServiceAccount
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:
- The serviceAccount.
-
getServiceAccountBytes
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;- Returns:
- The bytes for serviceAccount.
-
hasUpgradeSettings
boolean hasUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
NodePool.UpgradeSettings getUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;- Returns:
- The upgradeSettings.
-
getUpgradeSettingsOrBuilder
NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; -
hasManagement
boolean hasManagement()NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;- Returns:
- Whether the management field is set.
-
getManagement
NodeManagement getManagement()NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;- Returns:
- The management.
-
getManagementOrBuilder
NodeManagementOrBuilder getManagementOrBuilder()NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4; -
getMinCpuPlatform
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=6328Deprecated. 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:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=6328Deprecated. 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:
- The bytes for minCpuPlatform.
-
getDiskSizeGb
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:
- The diskSizeGb.
-
getDiskType
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:
- The diskType.
-
getDiskTypeBytes
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;- Returns:
- The bytes for diskType.
-
hasShieldedInstanceConfig
boolean hasShieldedInstanceConfig()Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
ShieldedInstanceConfig getShieldedInstanceConfig()Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; -
getBootDiskKmsKey
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:
- The bootDiskKmsKey.
-
getBootDiskKmsKeyBytes
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;- Returns:
- The bytes for bootDiskKmsKey.
-
getImageType
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:
- The imageType.
-
getImageTypeBytes
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;- Returns:
- The bytes for imageType.
-
hasInsecureKubeletReadonlyPortEnabled
boolean hasInsecureKubeletReadonlyPortEnabled()DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Returns:
- Whether the insecureKubeletReadonlyPortEnabled field is set.
-
getInsecureKubeletReadonlyPortEnabled
boolean getInsecureKubeletReadonlyPortEnabled()DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Returns:
- The insecureKubeletReadonlyPortEnabled.
-