Package com.google.container.v1beta1
Class AutoprovisioningNodePoolDefaults.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
- com.google.container.v1beta1.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.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder> implements AutoprovisioningNodePoolDefaultsOrBuilder
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Protobuf typegoogle.container.v1beta1.AutoprovisioningNodePoolDefaults
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AutoprovisioningNodePoolDefaults.BuilderaddAllOauthScopes(Iterable<String> values)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.AutoprovisioningNodePoolDefaults.BuilderaddOauthScopes(String value)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.AutoprovisioningNodePoolDefaults.BuilderaddOauthScopesBytes(com.google.protobuf.ByteString value)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.AutoprovisioningNodePoolDefaults.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutoprovisioningNodePoolDefaultsbuild()AutoprovisioningNodePoolDefaultsbuildPartial()AutoprovisioningNodePoolDefaults.Builderclear()AutoprovisioningNodePoolDefaults.BuilderclearBootDiskKmsKey()The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.AutoprovisioningNodePoolDefaults.BuilderclearDiskSizeGb()Size of the disk attached to each node, specified in GB.AutoprovisioningNodePoolDefaults.BuilderclearDiskType()Type of the disk attached to each node (e.g.AutoprovisioningNodePoolDefaults.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AutoprovisioningNodePoolDefaults.BuilderclearImageType()The image type to use for NAP created node.AutoprovisioningNodePoolDefaults.BuilderclearInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.AutoprovisioningNodePoolDefaults.BuilderclearManagement()NodeManagement configuration for this NodePool.AutoprovisioningNodePoolDefaults.BuilderclearMinCpuPlatform()Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.AutoprovisioningNodePoolDefaults.BuilderclearOauthScopes()The set of Google API scopes to be made available on all of the node VMs under the "default" service account.AutoprovisioningNodePoolDefaults.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AutoprovisioningNodePoolDefaults.BuilderclearServiceAccount()The Google Cloud Platform Service Account to be used by the node VMs.AutoprovisioningNodePoolDefaults.BuilderclearShieldedInstanceConfig()Shielded Instance options.AutoprovisioningNodePoolDefaults.BuilderclearUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.AutoprovisioningNodePoolDefaults.Builderclone()StringgetBootDiskKmsKey()The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.com.google.protobuf.ByteStringgetBootDiskKmsKeyBytes()The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.AutoprovisioningNodePoolDefaultsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetDiskSizeGb()Size of the disk attached to each node, specified in GB.StringgetDiskType()Type of the disk attached to each node (e.g.com.google.protobuf.ByteStringgetDiskTypeBytes()Type of the disk attached to each node (e.g.StringgetImageType()The image type to use for NAP created node.com.google.protobuf.ByteStringgetImageTypeBytes()The image type to use for NAP created node.booleangetInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.NodeManagementgetManagement()NodeManagement configuration for this NodePool.NodeManagement.BuildergetManagementBuilder()NodeManagement configuration for this NodePool.NodeManagementOrBuildergetManagementOrBuilder()NodeManagement configuration for this NodePool.StringgetMinCpuPlatform()Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.com.google.protobuf.ByteStringgetMinCpuPlatformBytes()Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.StringgetOauthScopes(int index)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.com.google.protobuf.ByteStringgetOauthScopesBytes(int index)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.intgetOauthScopesCount()The set of Google API scopes to be made available on all of the node VMs under the "default" service account.com.google.protobuf.ProtocolStringListgetOauthScopesList()The set of Google API scopes to be made available on all of the node VMs under the "default" service account.StringgetServiceAccount()The Google Cloud Platform Service Account to be used by the node VMs.com.google.protobuf.ByteStringgetServiceAccountBytes()The Google Cloud Platform Service Account to be used by the node VMs.ShieldedInstanceConfiggetShieldedInstanceConfig()Shielded Instance options.ShieldedInstanceConfig.BuildergetShieldedInstanceConfigBuilder()Shielded Instance options.ShieldedInstanceConfigOrBuildergetShieldedInstanceConfigOrBuilder()Shielded Instance options.NodePool.UpgradeSettingsgetUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.NodePool.UpgradeSettings.BuildergetUpgradeSettingsBuilder()Upgrade settings control disruption and speed of the upgrade.NodePool.UpgradeSettingsOrBuildergetUpgradeSettingsOrBuilder()Upgrade settings control disruption and speed of the upgrade.booleanhasInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.booleanhasManagement()NodeManagement configuration for this NodePool.booleanhasShieldedInstanceConfig()Shielded Instance options.booleanhasUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AutoprovisioningNodePoolDefaults.BuildermergeFrom(AutoprovisioningNodePoolDefaults other)AutoprovisioningNodePoolDefaults.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AutoprovisioningNodePoolDefaults.BuildermergeFrom(com.google.protobuf.Message other)AutoprovisioningNodePoolDefaults.BuildermergeManagement(NodeManagement value)NodeManagement configuration for this NodePool.AutoprovisioningNodePoolDefaults.BuildermergeShieldedInstanceConfig(ShieldedInstanceConfig value)Shielded Instance options.AutoprovisioningNodePoolDefaults.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AutoprovisioningNodePoolDefaults.BuildermergeUpgradeSettings(NodePool.UpgradeSettings value)Upgrade settings control disruption and speed of the upgrade.AutoprovisioningNodePoolDefaults.BuildersetBootDiskKmsKey(String value)The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.AutoprovisioningNodePoolDefaults.BuildersetBootDiskKmsKeyBytes(com.google.protobuf.ByteString value)The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.AutoprovisioningNodePoolDefaults.BuildersetDiskSizeGb(int value)Size of the disk attached to each node, specified in GB.AutoprovisioningNodePoolDefaults.BuildersetDiskType(String value)Type of the disk attached to each node (e.g.AutoprovisioningNodePoolDefaults.BuildersetDiskTypeBytes(com.google.protobuf.ByteString value)Type of the disk attached to each node (e.g.AutoprovisioningNodePoolDefaults.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutoprovisioningNodePoolDefaults.BuildersetImageType(String value)The image type to use for NAP created node.AutoprovisioningNodePoolDefaults.BuildersetImageTypeBytes(com.google.protobuf.ByteString value)The image type to use for NAP created node.AutoprovisioningNodePoolDefaults.BuildersetInsecureKubeletReadonlyPortEnabled(boolean value)Enable or disable Kubelet read only port.AutoprovisioningNodePoolDefaults.BuildersetManagement(NodeManagement value)NodeManagement configuration for this NodePool.AutoprovisioningNodePoolDefaults.BuildersetManagement(NodeManagement.Builder builderForValue)NodeManagement configuration for this NodePool.AutoprovisioningNodePoolDefaults.BuildersetMinCpuPlatform(String value)Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.AutoprovisioningNodePoolDefaults.BuildersetMinCpuPlatformBytes(com.google.protobuf.ByteString value)Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated.AutoprovisioningNodePoolDefaults.BuildersetOauthScopes(int index, String value)The set of Google API scopes to be made available on all of the node VMs under the "default" service account.AutoprovisioningNodePoolDefaults.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AutoprovisioningNodePoolDefaults.BuildersetServiceAccount(String value)The Google Cloud Platform Service Account to be used by the node VMs.AutoprovisioningNodePoolDefaults.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)The Google Cloud Platform Service Account to be used by the node VMs.AutoprovisioningNodePoolDefaults.BuildersetShieldedInstanceConfig(ShieldedInstanceConfig value)Shielded Instance options.AutoprovisioningNodePoolDefaults.BuildersetShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)Shielded Instance options.AutoprovisioningNodePoolDefaults.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AutoprovisioningNodePoolDefaults.BuildersetUpgradeSettings(NodePool.UpgradeSettings value)Upgrade settings control disruption and speed of the upgrade.AutoprovisioningNodePoolDefaults.BuildersetUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)Upgrade settings control disruption and speed of the upgrade.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
clear
public AutoprovisioningNodePoolDefaults.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
getDefaultInstanceForType
public AutoprovisioningNodePoolDefaults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutoprovisioningNodePoolDefaults build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutoprovisioningNodePoolDefaults buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutoprovisioningNodePoolDefaults.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
setField
public AutoprovisioningNodePoolDefaults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
clearField
public AutoprovisioningNodePoolDefaults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
clearOneof
public AutoprovisioningNodePoolDefaults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
setRepeatedField
public AutoprovisioningNodePoolDefaults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
addRepeatedField
public AutoprovisioningNodePoolDefaults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
mergeFrom
public AutoprovisioningNodePoolDefaults.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
mergeFrom
public AutoprovisioningNodePoolDefaults.Builder mergeFrom(AutoprovisioningNodePoolDefaults other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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()
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Specified by:
getOauthScopesListin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- A list containing the oauthScopes.
-
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Specified by:
getOauthScopesCountin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The count of oauthScopes.
-
getOauthScopes
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
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)
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
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
public AutoprovisioningNodePoolDefaults.Builder setOauthScopes(int index, String value)
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
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
public AutoprovisioningNodePoolDefaults.Builder addOauthScopes(String value)
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Parameters:
value- The oauthScopes to add.- Returns:
- This builder for chaining.
-
addAllOauthScopes
public AutoprovisioningNodePoolDefaults.Builder addAllOauthScopes(Iterable<String> values)
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Parameters:
values- The oauthScopes to add.- Returns:
- This builder for chaining.
-
clearOauthScopes
public AutoprovisioningNodePoolDefaults.Builder clearOauthScopes()
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Returns:
- This builder for chaining.
-
addOauthScopesBytes
public AutoprovisioningNodePoolDefaults.Builder addOauthScopesBytes(com.google.protobuf.ByteString value)
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: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 1;- Parameters:
value- The bytes of the oauthScopes to add.- Returns:
- This builder for chaining.
-
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;- 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. 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;- Specified by:
getServiceAccountBytesin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public AutoprovisioningNodePoolDefaults.Builder setServiceAccount(String value)
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;- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public AutoprovisioningNodePoolDefaults.Builder clearServiceAccount()
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:
- 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. 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;- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasUpgradeSettings
public boolean hasUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;- Specified by:
hasUpgradeSettingsin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
public NodePool.UpgradeSettings getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;- Specified by:
getUpgradeSettingsin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The upgradeSettings.
-
setUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder setUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
-
setUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
-
mergeUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
-
clearUpgradeSettings
public AutoprovisioningNodePoolDefaults.Builder clearUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
-
getUpgradeSettingsBuilder
public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;
-
getUpgradeSettingsOrBuilder
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3;- Specified by:
getUpgradeSettingsOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
hasManagement
public boolean hasManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;- Specified by:
hasManagementin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the management field is set.
-
getManagement
public NodeManagement getManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;- Specified by:
getManagementin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The management.
-
setManagement
public AutoprovisioningNodePoolDefaults.Builder setManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;
-
setManagement
public AutoprovisioningNodePoolDefaults.Builder setManagement(NodeManagement.Builder builderForValue)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;
-
mergeManagement
public AutoprovisioningNodePoolDefaults.Builder mergeManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;
-
clearManagement
public AutoprovisioningNodePoolDefaults.Builder clearManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;
-
getManagementBuilder
public NodeManagement.Builder getManagementBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;
-
getManagementOrBuilder
public NodeManagementOrBuilder getManagementOrBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 4;- Specified by:
getManagementOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
getMinCpuPlatform
@Deprecated public String getMinCpuPlatform()
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288Deprecated. 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 public com.google.protobuf.ByteString getMinCpuPlatformBytes()
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288Deprecated. 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 public AutoprovisioningNodePoolDefaults.Builder setMinCpuPlatform(String value)
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288Deprecated. 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 public AutoprovisioningNodePoolDefaults.Builder clearMinCpuPlatform()
Deprecated.google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288Deprecated. 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.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1beta1/cluster_service.proto;l=4288Deprecated. 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
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;- Parameters:
value- The diskSizeGb to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
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;- 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
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;- Parameters:
value- The diskType to set.- Returns:
- 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;- 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.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;- Specified by:
hasShieldedInstanceConfigin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;- Specified by:
getShieldedInstanceConfigin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
-
setShieldedInstanceConfig
public AutoprovisioningNodePoolDefaults.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
-
mergeShieldedInstanceConfig
public AutoprovisioningNodePoolDefaults.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
-
clearShieldedInstanceConfig
public AutoprovisioningNodePoolDefaults.Builder clearShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
-
getShieldedInstanceConfigBuilder
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;
-
getShieldedInstanceConfigOrBuilder
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceAutoprovisioningNodePoolDefaultsOrBuilder
-
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;- 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
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;- Parameters:
value- The bootDiskKmsKey to set.- Returns:
- This builder for chaining.
-
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;- 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
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;- 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
public AutoprovisioningNodePoolDefaults.Builder setImageType(String 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 imageType to set.- Returns:
- This builder for chaining.
-
clearImageType
public AutoprovisioningNodePoolDefaults.Builder 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()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Specified by:
hasInsecureKubeletReadonlyPortEnabledin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- Whether the insecureKubeletReadonlyPortEnabled field is set.
-
getInsecureKubeletReadonlyPortEnabled
public boolean getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Specified by:
getInsecureKubeletReadonlyPortEnabledin interfaceAutoprovisioningNodePoolDefaultsOrBuilder- Returns:
- The insecureKubeletReadonlyPortEnabled.
-
setInsecureKubeletReadonlyPortEnabled
public AutoprovisioningNodePoolDefaults.Builder setInsecureKubeletReadonlyPortEnabled(boolean value)
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Parameters:
value- The insecureKubeletReadonlyPortEnabled to set.- Returns:
- This builder for chaining.
-
clearInsecureKubeletReadonlyPortEnabled
public AutoprovisioningNodePoolDefaults.Builder clearInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 13;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AutoprovisioningNodePoolDefaults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
mergeUnknownFields
public final AutoprovisioningNodePoolDefaults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoprovisioningNodePoolDefaults.Builder>
-
-