- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class AutoprovisioningNodePoolDefaults.Builder extends GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder> implements AutoprovisioningNodePoolDefaultsOrBuilder
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Protobuf type google.container.v1.AutoprovisioningNodePoolDefaults
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoprovisioningNodePoolDefaults.BuilderImplements
AutoprovisioningNodePoolDefaultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllOauthScopes(Iterable<String> values)
public AutoprovisioningNodePoolDefaults.Builder addAllOauthScopes(Iterable<String> values)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
values | Iterable<String> The oauthScopes to add. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
addOauthScopes(String value)
public AutoprovisioningNodePoolDefaults.Builder addOauthScopes(String value)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
value | String The oauthScopes to add. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
addOauthScopesBytes(ByteString value)
public AutoprovisioningNodePoolDefaults.Builder addOauthScopesBytes(ByteString value)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
value | ByteString The bytes of the oauthScopes to add. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoprovisioningNodePoolDefaults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
build()
public AutoprovisioningNodePoolDefaults build()
Type | Description |
AutoprovisioningNodePoolDefaults |
buildPartial()
public AutoprovisioningNodePoolDefaults buildPartial()
Type | Description |
AutoprovisioningNodePoolDefaults |
clear()
public AutoprovisioningNodePoolDefaults.Builder clear()
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clearBootDiskKmsKey()
public AutoprovisioningNodePoolDefaults.Builder 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;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearDiskSizeGb()
public AutoprovisioningNodePoolDefaults.Builder 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;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearDiskType()
public AutoprovisioningNodePoolDefaults.Builder 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;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutoprovisioningNodePoolDefaults.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clearImageType()
public AutoprovisioningNodePoolDefaults.Builder clearImageType()
The image type to use for NAP created node.
string image_type = 10;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearManagement()
public AutoprovisioningNodePoolDefaults.Builder clearManagement()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clearMinCpuPlatform() (deprecated)
public AutoprovisioningNodePoolDefaults.Builder clearMinCpuPlatform()
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3481
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 https://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];
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearOauthScopes()
public AutoprovisioningNodePoolDefaults.Builder clearOauthScopes()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoprovisioningNodePoolDefaults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clearServiceAccount()
public AutoprovisioningNodePoolDefaults.Builder clearServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
clearShieldedInstanceConfig()
public AutoprovisioningNodePoolDefaults.Builder clearShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clearUpgradeSettings()
public AutoprovisioningNodePoolDefaults.Builder clearUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
clone()
public AutoprovisioningNodePoolDefaults.Builder clone()
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
getBootDiskKmsKey()
public 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;
Type | Description |
String | The bootDiskKmsKey. |
getBootDiskKmsKeyBytes()
public 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;
Type | Description |
ByteString | The bytes for bootDiskKmsKey. |
getDefaultInstanceForType()
public AutoprovisioningNodePoolDefaults getDefaultInstanceForType()
Type | Description |
AutoprovisioningNodePoolDefaults |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
int | The diskSizeGb. |
getDiskType()
public 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;
Type | Description |
String | The diskType. |
getDiskTypeBytes()
public 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;
Type | Description |
ByteString | The bytes for diskType. |
getImageType()
public String getImageType()
The image type to use for NAP created node.
string image_type = 10;
Type | Description |
String | The imageType. |
getImageTypeBytes()
public ByteString getImageTypeBytes()
The image type to use for NAP created node.
string image_type = 10;
Type | Description |
ByteString | The bytes for imageType. |
getManagement()
public NodeManagement getManagement()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Type | Description |
NodeManagement | The management. |
getManagementBuilder()
public NodeManagement.Builder getManagementBuilder()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Type | Description |
NodeManagement.Builder |
getManagementOrBuilder()
public NodeManagementOrBuilder getManagementOrBuilder()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Type | Description |
NodeManagementOrBuilder |
getMinCpuPlatform() (deprecated)
public String getMinCpuPlatform()
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3481
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 https://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];
Type | Description |
String | The minCpuPlatform. |
getMinCpuPlatformBytes() (deprecated)
public ByteString getMinCpuPlatformBytes()
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3481
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 https://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];
Type | Description |
ByteString | The bytes for minCpuPlatform. |
getOauthScopes(int index)
public String getOauthScopes(int index)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The oauthScopes at the given index. |
getOauthScopesBytes(int index)
public ByteString getOauthScopesBytes(int index)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the oauthScopes at the given index. |
getOauthScopesCount()
public int getOauthScopesCount()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Type | Description |
int | The count of oauthScopes. |
getOauthScopesList()
public ProtocolStringList getOauthScopesList()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Type | Description |
ProtocolStringList | A list containing the oauthScopes. |
getServiceAccount()
public String getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;
Type | Description |
ByteString | The bytes for serviceAccount. |
getShieldedInstanceConfig()
public ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Type | Description |
ShieldedInstanceConfig | The shieldedInstanceConfig. |
getShieldedInstanceConfigBuilder()
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Type | Description |
ShieldedInstanceConfig.Builder |
getShieldedInstanceConfigOrBuilder()
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Type | Description |
ShieldedInstanceConfigOrBuilder |
getUpgradeSettings()
public NodePool.UpgradeSettings getUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Type | Description |
NodePool.UpgradeSettings | The upgradeSettings. |
getUpgradeSettingsBuilder()
public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Type | Description |
NodePool.UpgradeSettings.Builder |
getUpgradeSettingsOrBuilder()
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Type | Description |
NodePool.UpgradeSettingsOrBuilder |
hasManagement()
public boolean hasManagement()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Type | Description |
boolean | Whether the management field is set. |
hasShieldedInstanceConfig()
public boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Type | Description |
boolean | Whether the shieldedInstanceConfig field is set. |
hasUpgradeSettings()
public boolean hasUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Type | Description |
boolean | Whether the upgradeSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AutoprovisioningNodePoolDefaults other)
public AutoprovisioningNodePoolDefaults.Builder mergeFrom(AutoprovisioningNodePoolDefaults other)
Name | Description |
other | AutoprovisioningNodePoolDefaults |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoprovisioningNodePoolDefaults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutoprovisioningNodePoolDefaults.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
mergeManagement(NodeManagement value)
public AutoprovisioningNodePoolDefaults.Builder mergeManagement(NodeManagement value)
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Name | Description |
value | NodeManagement |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
public AutoprovisioningNodePoolDefaults.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Name | Description |
value | ShieldedInstanceConfig |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoprovisioningNodePoolDefaults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
mergeUpgradeSettings(NodePool.UpgradeSettings value)
public AutoprovisioningNodePoolDefaults.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Name | Description |
value | NodePool.UpgradeSettings |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setBootDiskKmsKey(String value)
public AutoprovisioningNodePoolDefaults.Builder setBootDiskKmsKey(String 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;
Name | Description |
value | String The bootDiskKmsKey to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setBootDiskKmsKeyBytes(ByteString value)
public AutoprovisioningNodePoolDefaults.Builder setBootDiskKmsKeyBytes(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;
Name | Description |
value | ByteString The bytes for bootDiskKmsKey to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setDiskSizeGb(int value)
public AutoprovisioningNodePoolDefaults.Builder setDiskSizeGb(int value)
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;
Name | Description |
value | int The diskSizeGb to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setDiskType(String value)
public AutoprovisioningNodePoolDefaults.Builder setDiskType(String 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;
Name | Description |
value | String The diskType to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setDiskTypeBytes(ByteString value)
public AutoprovisioningNodePoolDefaults.Builder setDiskTypeBytes(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;
Name | Description |
value | ByteString The bytes for diskType to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoprovisioningNodePoolDefaults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setImageType(String value)
public AutoprovisioningNodePoolDefaults.Builder setImageType(String value)
The image type to use for NAP created node.
string image_type = 10;
Name | Description |
value | String The imageType to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setImageTypeBytes(ByteString value)
public AutoprovisioningNodePoolDefaults.Builder setImageTypeBytes(ByteString value)
The image type to use for NAP created node.
string image_type = 10;
Name | Description |
value | ByteString The bytes for imageType to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setManagement(NodeManagement value)
public AutoprovisioningNodePoolDefaults.Builder setManagement(NodeManagement value)
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Name | Description |
value | NodeManagement |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setManagement(NodeManagement.Builder builderForValue)
public AutoprovisioningNodePoolDefaults.Builder setManagement(NodeManagement.Builder builderForValue)
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Name | Description |
builderForValue | NodeManagement.Builder |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setMinCpuPlatform(String value) (deprecated)
public AutoprovisioningNodePoolDefaults.Builder setMinCpuPlatform(String value)
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3481
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 https://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];
Name | Description |
value | String The minCpuPlatform to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setMinCpuPlatformBytes(ByteString value) (deprecated)
public AutoprovisioningNodePoolDefaults.Builder setMinCpuPlatformBytes(ByteString value)
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3481
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 https://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];
Name | Description |
value | ByteString The bytes for minCpuPlatform to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setOauthScopes(int index, String value)
public AutoprovisioningNodePoolDefaults.Builder setOauthScopes(int index, String value)
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Name | Description |
index | int The index to set the value at. |
value | String The oauthScopes to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoprovisioningNodePoolDefaults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setServiceAccount(String value)
public AutoprovisioningNodePoolDefaults.Builder setServiceAccount(String value)
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;
Name | Description |
value | String The serviceAccount to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public AutoprovisioningNodePoolDefaults.Builder setServiceAccountBytes(ByteString value)
The Google Cloud Platform Service Account to be used by the node VMs.
string service_account = 2;
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder | This builder for chaining. |
setShieldedInstanceConfig(ShieldedInstanceConfig value)
public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Name | Description |
value | ShieldedInstanceConfig |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Name | Description |
builderForValue | ShieldedInstanceConfig.Builder |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoprovisioningNodePoolDefaults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setUpgradeSettings(NodePool.UpgradeSettings value)
public AutoprovisioningNodePoolDefaults.Builder setUpgradeSettings(NodePool.UpgradeSettings value)
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
Name | Description |
value | NodePool.UpgradeSettings |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)
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;
Name | Description |
builderForValue | NodePool.UpgradeSettings.Builder |
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |