Package com.google.container.v1
Interface AutoprovisioningNodePoolDefaultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoprovisioningNodePoolDefaults
,AutoprovisioningNodePoolDefaults.Builder
public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getBootDiskKmsKey()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.com.google.protobuf.ByteString
getBootDiskKmsKeyBytes()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.int
getDiskSizeGb()
Size of the disk attached to each node, specified in GB.String
getDiskType()
Type of the disk attached to each node (e.g.com.google.protobuf.ByteString
getDiskTypeBytes()
Type of the disk attached to each node (e.g.String
getImageType()
The image type to use for NAP created node.com.google.protobuf.ByteString
getImageTypeBytes()
The image type to use for NAP created node.boolean
getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.NodeManagement
getManagement()
Specifies the node management options for NAP created node-pools.NodeManagementOrBuilder
getManagementOrBuilder()
Specifies the node management options for NAP created node-pools.String
getMinCpuPlatform()
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.com.google.protobuf.ByteString
getMinCpuPlatformBytes()
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.String
getOauthScopes(int index)
Scopes that are used by NAP when creating node pools.com.google.protobuf.ByteString
getOauthScopesBytes(int index)
Scopes that are used by NAP when creating node pools.int
getOauthScopesCount()
Scopes that are used by NAP when creating node pools.List<String>
getOauthScopesList()
Scopes that are used by NAP when creating node pools.String
getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.com.google.protobuf.ByteString
getServiceAccountBytes()
The Google Cloud Platform Service Account to be used by the node VMs.ShieldedInstanceConfig
getShieldedInstanceConfig()
Shielded Instance options.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Shielded Instance options.NodePool.UpgradeSettings
getUpgradeSettings()
Specifies the upgrade settings for NAP created node poolsNodePool.UpgradeSettingsOrBuilder
getUpgradeSettingsOrBuilder()
Specifies the upgrade settings for NAP created node poolsboolean
hasInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.boolean
hasManagement()
Specifies the node management options for NAP created node-pools.boolean
hasShieldedInstanceConfig()
Shielded Instance options.boolean
hasUpgradeSettings()
Specifies the upgrade settings for NAP created node pools-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOauthScopesList
List<String> getOauthScopesList()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
- Returns:
- A list containing the oauthScopes.
-
getOauthScopesCount
int getOauthScopesCount()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
- Returns:
- The count of oauthScopes.
-
getOauthScopes
String getOauthScopes(int index)
Scopes that are used by NAP when creating node pools.
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)
Scopes that are used by NAP when creating node pools.
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.
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.
string service_account = 2;
- Returns:
- The bytes for serviceAccount.
-
hasUpgradeSettings
boolean hasUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
NodePool.UpgradeSettings getUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
- Returns:
- The upgradeSettings.
-
getUpgradeSettingsOrBuilder
NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
-
hasManagement
boolean hasManagement()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
- Returns:
- Whether the management field is set.
-
getManagement
NodeManagement getManagement()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
- Returns:
- The management.
-
getManagementOrBuilder
NodeManagementOrBuilder getManagementOrBuilder()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
-
getMinCpuPlatform
@Deprecated String getMinCpuPlatform()
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3884Deprecated. 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 com.google.protobuf.ByteString getMinCpuPlatformBytes()
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3884Deprecated. 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.v1.ShieldedInstanceConfig shielded_instance_config = 8;
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1.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()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;
- Returns:
- Whether the insecureKubeletReadonlyPortEnabled field is set.
-
getInsecureKubeletReadonlyPortEnabled
boolean getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;
- Returns:
- The insecureKubeletReadonlyPortEnabled.
-
-