public final class AutoprovisioningNodePoolDefaults extends GeneratedMessageV3 implements AutoprovisioningNodePoolDefaultsOrBuilder
AutoprovisioningNodePoolDefaults contains defaults for a node pool created
by NAP.
Protobuf type google.container.v1.AutoprovisioningNodePoolDefaults
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutoprovisioningNodePoolDefaults.Builder newBuilder()
newBuilder(AutoprovisioningNodePoolDefaults prototype)
public static AutoprovisioningNodePoolDefaults.Builder newBuilder(AutoprovisioningNodePoolDefaults prototype)
public static AutoprovisioningNodePoolDefaults parseDelimitedFrom(InputStream input)
public static AutoprovisioningNodePoolDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutoprovisioningNodePoolDefaults parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoprovisioningNodePoolDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutoprovisioningNodePoolDefaults parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoprovisioningNodePoolDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoprovisioningNodePoolDefaults parseFrom(CodedInputStream input)
public static AutoprovisioningNodePoolDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoprovisioningNodePoolDefaults parseFrom(InputStream input)
public static AutoprovisioningNodePoolDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutoprovisioningNodePoolDefaults parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoprovisioningNodePoolDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutoprovisioningNodePoolDefaults> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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()
Returns |
Type |
Description |
String |
The imageType.
|
getImageTypeBytes()
public ByteString getImageTypeBytes()
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()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
getManagementOrBuilder()
public NodeManagementOrBuilder getManagementOrBuilder()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
public String getMinCpuPlatform()
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
deprecated. See google/container/v1/cluster_service.proto;l=4337
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.
|
public ByteString getMinCpuPlatformBytes()
Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
deprecated. See google/container/v1/cluster_service.proto;l=4337
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)
Scopes that are used by NAP when creating node pools.
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)
Scopes that are used by NAP when creating node pools.
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()
Scopes that are used by NAP when creating node pools.
repeated string oauth_scopes = 1;
Returns |
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;
getParserForType()
public Parser<AutoprovisioningNodePoolDefaults> getParserForType()
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.
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.
string service_account = 2;
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
getShieldedInstanceConfig()
public ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
getShieldedInstanceConfigOrBuilder()
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
getUpgradeSettings()
public NodePool.UpgradeSettings getUpgradeSettings()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
getUpgradeSettingsOrBuilder()
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Specifies the upgrade settings for NAP created node pools
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;
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()
Specifies the node management options for NAP created node-pools.
.google.container.v1.NodeManagement management = 4;
Returns |
Type |
Description |
boolean |
Whether the management field is set.
|
hasShieldedInstanceConfig()
public boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;
Returns |
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;
Returns |
Type |
Description |
boolean |
Whether the upgradeSettings field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutoprovisioningNodePoolDefaults.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoprovisioningNodePoolDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutoprovisioningNodePoolDefaults.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides