Package com.google.container.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllOauthScopes(Iterable<String> values) Scopes that are used by NAP when creating node pools.addOauthScopes(String value) Scopes that are used by NAP when creating node pools.addOauthScopesBytes(com.google.protobuf.ByteString value) Scopes that are used by NAP when creating node pools.build()clear()The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.Size of the disk attached to each node, specified in GB.Type of the disk attached to each node (e.g.The image type to use for NAP created node.DEPRECATED.Specifies the node management options for NAP created node-pools.Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.Scopes that are used by NAP when creating node pools.The Google Cloud Platform Service Account to be used by the node VMs.Shielded Instance options.Specifies the upgrade settings for NAP created node poolsThe 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintSize 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.Specifies the node management options for NAP created node-pools.Specifies the node management options for NAP created node-pools.Specifies the node management options for NAP created node-pools.Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.getOauthScopes(int index) Scopes that are used by NAP when creating node pools.com.google.protobuf.ByteStringgetOauthScopesBytes(int index) Scopes that are used by NAP when creating node pools.intScopes that are used by NAP when creating node pools.com.google.protobuf.ProtocolStringListScopes that are used by NAP when creating node pools.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.Shielded Instance options.Specifies the upgrade settings for NAP created node poolsSpecifies the upgrade settings for NAP created node poolsSpecifies the upgrade settings for NAP created node poolsbooleanDEPRECATED.booleanSpecifies the node management options for NAP created node-pools.booleanShielded Instance options.booleanSpecifies the upgrade settings for NAP created node poolsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeManagement(NodeManagement value) Specifies the node management options for NAP created node-pools.Shielded Instance options.Specifies the upgrade settings for NAP created node poolssetBootDiskKmsKey(String value) The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.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.setDiskSizeGb(int value) Size of the disk attached to each node, specified in GB.setDiskType(String value) Type of the disk attached to each node (e.g.setDiskTypeBytes(com.google.protobuf.ByteString value) Type of the disk attached to each node (e.g.setImageType(String value) The image type to use for NAP created node.setImageTypeBytes(com.google.protobuf.ByteString value) The image type to use for NAP created node.setInsecureKubeletReadonlyPortEnabled(boolean value) DEPRECATED.setManagement(NodeManagement value) Specifies the node management options for NAP created node-pools.setManagement(NodeManagement.Builder builderForValue) Specifies the node management options for NAP created node-pools.setMinCpuPlatform(String value) Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.setOauthScopes(int index, String value) Scopes that are used by NAP when creating node pools.setServiceAccount(String value) The Google Cloud Platform Service Account to be used by the node VMs.setServiceAccountBytes(com.google.protobuf.ByteString value) The Google Cloud Platform Service Account to be used by the node VMs.Shielded Instance options.setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) Shielded Instance options.Specifies the upgrade settings for NAP created node poolssetUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue) Specifies the upgrade settings for NAP created node poolsMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getOauthScopesListin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getOauthScopesCountin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The count of oauthScopes.
-
getOauthScopes
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;- Specified by:
getOauthScopesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getOauthScopesBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
setOauthScopes
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
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
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
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
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;- Specified by:
getServiceAccountin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getServiceAccountBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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
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:
hasUpgradeSettingsin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;- Specified by:
getUpgradeSettingsin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The upgradeSettings.
-
setUpgradeSettings
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; -
setUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue) Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; -
mergeUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value) Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; -
clearUpgradeSettings
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; -
getUpgradeSettingsBuilder
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; -
getUpgradeSettingsOrBuilder
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;- Specified by:
getUpgradeSettingsOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
hasManagement
public boolean hasManagement()Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;- Specified by:
hasManagementin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the management field is set.
-
getManagement
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;- Specified by:
getManagementin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4; -
getManagementBuilder
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4; -
getManagementOrBuilder
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;- Specified by:
getManagementOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
getMinCpuPlatform
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852Deprecated. 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:
getMinCpuPlatformin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852Deprecated. 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:
getMinCpuPlatformBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
setMinCpuPlatform
Deprecated.google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=5852Deprecated. 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=5852Deprecated. 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=5852Deprecated. 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:
getDiskSizeGbin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The diskSizeGb.
-
setDiskSizeGb
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
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
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:
getDiskTypein interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getDiskTypeBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
hasShieldedInstanceConfigin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;- Specified by:
getShieldedInstanceConfigin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; -
getShieldedInstanceConfigBuilder
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; -
getShieldedInstanceConfigOrBuilder
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
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:
getBootDiskKmsKeyin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getBootDiskKmsKeyBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The bytes for bootDiskKmsKey.
-
setBootDiskKmsKey
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
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
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:
getImageTypein interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getImageTypeBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The bytes for imageType.
-
setImageType
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:
hasInsecureKubeletReadonlyPortEnabledin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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:
getInsecureKubeletReadonlyPortEnabledin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- 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
DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Returns:
- This builder for chaining.
-