Class AutoprovisioningNodePoolDefaults (2.57.0)

public final class AutoprovisioningNodePoolDefaults extends GeneratedMessageV3 implements AutoprovisioningNodePoolDefaultsOrBuilder

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Protobuf type google.container.v1beta1.AutoprovisioningNodePoolDefaults

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoprovisioningNodePoolDefaults

Static Fields

BOOT_DISK_KMS_KEY_FIELD_NUMBER

public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER
Field Value
Type Description
int

DISK_SIZE_GB_FIELD_NUMBER

public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

DISK_TYPE_FIELD_NUMBER

public static final int DISK_TYPE_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_TYPE_FIELD_NUMBER

public static final int IMAGE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

INSECURE_KUBELET_READONLY_PORT_ENABLED_FIELD_NUMBER

public static final int INSECURE_KUBELET_READONLY_PORT_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

MANAGEMENT_FIELD_NUMBER

public static final int MANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

MIN_CPU_PLATFORM_FIELD_NUMBER

public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

OAUTH_SCOPES_FIELD_NUMBER

public static final int OAUTH_SCOPES_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER

public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPGRADE_SETTINGS_FIELD_NUMBER

public static final int UPGRADE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutoprovisioningNodePoolDefaults getDefaultInstance()
Returns
Type Description
AutoprovisioningNodePoolDefaults

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutoprovisioningNodePoolDefaults.Builder newBuilder()
Returns
Type Description
AutoprovisioningNodePoolDefaults.Builder

newBuilder(AutoprovisioningNodePoolDefaults prototype)

public static AutoprovisioningNodePoolDefaults.Builder newBuilder(AutoprovisioningNodePoolDefaults prototype)
Parameter
Name Description
prototype AutoprovisioningNodePoolDefaults
Returns
Type Description
AutoprovisioningNodePoolDefaults.Builder

parseDelimitedFrom(InputStream input)

public static AutoprovisioningNodePoolDefaults parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutoprovisioningNodePoolDefaults parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoprovisioningNodePoolDefaults parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoprovisioningNodePoolDefaults parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutoprovisioningNodePoolDefaults parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutoprovisioningNodePoolDefaults parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoprovisioningNodePoolDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoprovisioningNodePoolDefaults
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutoprovisioningNodePoolDefaults> parser()
Returns
Type Description
Parser<AutoprovisioningNodePoolDefaults>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
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;

Returns
Type Description
ByteString

The bytes for bootDiskKmsKey.

getDefaultInstanceForType()

public AutoprovisioningNodePoolDefaults getDefaultInstanceForType()
Returns
Type Description
AutoprovisioningNodePoolDefaults

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;

Returns
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;

Returns
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;

Returns
Type Description
ByteString

The bytes for diskType.

getImageType()

public 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
Type Description
String

The imageType.

getImageTypeBytes()

public 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
Type Description
ByteString

The bytes for imageType.

getInsecureKubeletReadonlyPortEnabled()

public boolean getInsecureKubeletReadonlyPortEnabled()

Enable or disable Kubelet read only port.

optional bool insecure_kubelet_readonly_port_enabled = 13;

Returns
Type Description
boolean

The insecureKubeletReadonlyPortEnabled.

getManagement()

public NodeManagement getManagement()

NodeManagement configuration for this NodePool.

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

Returns
Type Description
NodeManagement

The management.

getManagementOrBuilder()

public NodeManagementOrBuilder getManagementOrBuilder()

NodeManagement configuration for this NodePool.

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

Returns
Type Description
NodeManagementOrBuilder

getMinCpuPlatform() (deprecated)

public String getMinCpuPlatform()

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

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
Type Description
String

The minCpuPlatform.

getMinCpuPlatformBytes() (deprecated)

public ByteString getMinCpuPlatformBytes()

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

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
Type Description
ByteString

The bytes for minCpuPlatform.

getOauthScopes(int index)

public 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
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The oauthScopes at the given index.

getOauthScopesBytes(int index)

public 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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the oauthScopes at the given index.

getOauthScopesCount()

public 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
Type Description
int

The count of oauthScopes.

getOauthScopesList()

public ProtocolStringList 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
Type Description
ProtocolStringList

A list containing the oauthScopes.

getParserForType()

public Parser<AutoprovisioningNodePoolDefaults> getParserForType()
Returns
Type Description
Parser<AutoprovisioningNodePoolDefaults>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccount()

public 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
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public 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
Type Description
ByteString

The bytes for serviceAccount.

getShieldedInstanceConfig()

public ShieldedInstanceConfig getShieldedInstanceConfig()

Shielded Instance options.

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

Returns
Type Description
ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

Shielded Instance options.

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

Returns
Type Description
ShieldedInstanceConfigOrBuilder

getUpgradeSettings()

public NodePool.UpgradeSettings getUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsOrBuilder()

public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
NodePool.UpgradeSettingsOrBuilder

hasInsecureKubeletReadonlyPortEnabled()

public boolean hasInsecureKubeletReadonlyPortEnabled()

Enable or disable Kubelet read only port.

optional bool insecure_kubelet_readonly_port_enabled = 13;

Returns
Type Description
boolean

Whether the insecureKubeletReadonlyPortEnabled field is set.

hasManagement()

public boolean hasManagement()

NodeManagement configuration for this NodePool.

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

Returns
Type Description
boolean

Whether the management field is set.

hasShieldedInstanceConfig()

public boolean hasShieldedInstanceConfig()

Shielded Instance options.

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

Returns
Type Description
boolean

Whether the shieldedInstanceConfig field is set.

hasUpgradeSettings()

public boolean hasUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
boolean

Whether the upgradeSettings field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutoprovisioningNodePoolDefaults.Builder newBuilderForType()
Returns
Type Description
AutoprovisioningNodePoolDefaults.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoprovisioningNodePoolDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutoprovisioningNodePoolDefaults.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutoprovisioningNodePoolDefaults.Builder toBuilder()
Returns
Type Description
AutoprovisioningNodePoolDefaults.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException