Package com.google.container.v1
Class NodeConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.NodeConfig
- All Implemented Interfaces:
NodeConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NodeConfig
extends com.google.protobuf.GeneratedMessage
implements NodeConfigOrBuilder
Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use [AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults] instead.Protobuf type
google.container.v1.NodeConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters that describe the nodes in a cluster.static enumPossible effective cgroup modes for the node.static enumLocalSsdEncryptionMode specifies the method used for encrypting the Local SSDs attached to the node.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) The Kubernetes labels (key/value pairs) to apply to each node.booleancontainsMetadata(String key) The metadata key/value pairs assigned to instances in the cluster.booleanThe resource labels for the node pool to use to annotate any related Google Compute Engine resources.booleangetAccelerators(int index) A list of hardware accelerators to be attached to each node.intA list of hardware accelerators to be attached to each node.A list of hardware accelerators to be attached to each node.getAcceleratorsOrBuilder(int index) A list of hardware accelerators to be attached to each node.List<? extends AcceleratorConfigOrBuilder>A list of hardware accelerators to be attached to each node.Advanced features for the Compute Engine VM.Advanced features for the Compute Engine VM.The boot disk configuration for the node pool.The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.com.google.protobuf.ByteStringThe Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.The boot disk configuration for the node pool.Confidential nodes config.Confidential nodes config.com.google.protobuf.DurationConsolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes.com.google.protobuf.DurationOrBuilderConsolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes.Parameters for containerd customization.Parameters for containerd customization.static NodeConfigstatic final com.google.protobuf.Descriptors.DescriptorintSize of the disk attached to each node, specified in GB.Type of the disk attached to each node (e.g.com.google.protobuf.ByteStringType of the disk attached to each node (e.g.Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool.intOutput only. effective_cgroup_mode is the cgroup mode actually used by the node pool.booleanOptional.Parameters for the node ephemeral storage using Local SSDs.Parameters for the node ephemeral storage using Local SSDs.Enable or disable NCCL fast socket for the node pool.Enable or disable NCCL fast socket for the node pool.booleanFlex Start flag for enabling Flex Start VM.Google Container File System (image streaming) configs.Google Container File System (image streaming) configs.The configuration for GPU DirectThe configuration for GPU DirectgetGvnic()Enable or disable gvnic in the node pool.Enable or disable gvnic in the node pool.The image type to use for this node.com.google.protobuf.ByteStringThe image type to use for this node.Node kubelet configs.Node kubelet configs.Deprecated.intThe Kubernetes labels (key/value pairs) to apply to each node.The Kubernetes labels (key/value pairs) to apply to each node.getLabelsOrDefault(String key, String defaultValue) The Kubernetes labels (key/value pairs) to apply to each node.getLabelsOrThrow(String key) The Kubernetes labels (key/value pairs) to apply to each node.Parameters that can be configured on Linux nodes.Parameters that can be configured on Linux nodes.Parameters for using raw-block Local NVMe SSDs.Parameters for using raw-block Local NVMe SSDs.intThe number of local SSD disks to be attached to the node.Specifies which method should be used for encrypting the Local SSDs attached to the node.intSpecifies which method should be used for encrypting the Local SSDs attached to the node.Logging configuration.Logging configuration.The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.com.google.protobuf.ByteStringThe name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.com.google.protobuf.DurationThe maximum duration for the nodes to exist.com.google.protobuf.DurationOrBuilderThe maximum duration for the nodes to exist.Deprecated.intThe metadata key/value pairs assigned to instances in the cluster.The metadata key/value pairs assigned to instances in the cluster.getMetadataOrDefault(String key, String defaultValue) The metadata key/value pairs assigned to instances in the cluster.getMetadataOrThrow(String key) The metadata key/value pairs assigned to instances in the cluster.Minimum CPU platform to be used by this instance.com.google.protobuf.ByteStringMinimum CPU platform to be used by this instance.Setting this field will assign instances of this pool to run on the specified node group.com.google.protobuf.ByteStringSetting this field will assign instances of this pool to run on the specified node group.The node image configuration to use for this node pool.The node image configuration to use for this node pool.getOauthScopes(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.intThe set of Google API scopes to be made available on all of the node VMs under the "default" service account.com.google.protobuf.ProtocolStringListThe set of Google API scopes to be made available on all of the node VMs under the "default" service account.com.google.protobuf.Parser<NodeConfig>booleanWhether the nodes are created as preemptible VM instances.The optional reservation affinity.The optional reservation affinity.Deprecated.intThe resource labels for the node pool to use to annotate any related Google Compute Engine resources.The resource labels for the node pool to use to annotate any related Google Compute Engine resources.getResourceLabelsOrDefault(String key, String defaultValue) The resource labels for the node pool to use to annotate any related Google Compute Engine resources.The resource labels for the node pool to use to annotate any related Google Compute Engine resources.A map of resource manager tag keys and values to be attached to the nodes.A map of resource manager tag keys and values to be attached to the nodes.Sandbox configuration for this node.Sandbox configuration for this node.getSecondaryBootDisks(int index) List of secondary boot disks attached to the nodes.intList of secondary boot disks attached to the nodes.List of secondary boot disks attached to the nodes.getSecondaryBootDisksOrBuilder(int index) List of secondary boot disks attached to the nodes.List<? extends SecondaryBootDiskOrBuilder>List of secondary boot disks attached to the nodes.Secondary boot disk update strategy.Secondary boot disk update strategy.intThe Google Cloud Platform Service Account to be used by the node VMs.com.google.protobuf.ByteStringThe Google Cloud Platform Service Account to be used by the node VMs.Shielded Instance options.Shielded Instance options.Parameters for node pools to be backed by shared sole tenant node groups.Parameters for node pools to be backed by shared sole tenant node groups.booleangetSpot()Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.getStoragePools(int index) List of Storage Pools where boot disks are provisioned.com.google.protobuf.ByteStringgetStoragePoolsBytes(int index) List of Storage Pools where boot disks are provisioned.intList of Storage Pools where boot disks are provisioned.com.google.protobuf.ProtocolStringListList of Storage Pools where boot disks are provisioned.getTags(int index) The list of instance tags applied to all nodes.com.google.protobuf.ByteStringgetTagsBytes(int index) The list of instance tags applied to all nodes.intThe list of instance tags applied to all nodes.com.google.protobuf.ProtocolStringListThe list of instance tags applied to all nodes.Optional.Optional.getTaints(int index) List of kubernetes taints to be applied to each node.intList of kubernetes taints to be applied to each node.List of kubernetes taints to be applied to each node.getTaintsOrBuilder(int index) List of kubernetes taints to be applied to each node.List<? extends NodeTaintOrBuilder>List of kubernetes taints to be applied to each node.Parameters that can be configured on Windows nodes.Parameters that can be configured on Windows nodes.The workload metadata configuration for this node.The workload metadata configuration for this node.booleanAdvanced features for the Compute Engine VM.booleanThe boot disk configuration for the node pool.booleanConfidential nodes config.booleanConsolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes.booleanParameters for containerd customization.booleanParameters for the node ephemeral storage using Local SSDs.booleanEnable or disable NCCL fast socket for the node pool.booleanFlex Start flag for enabling Flex Start VM.booleanGoogle Container File System (image streaming) configs.booleanThe configuration for GPU DirectbooleanhasGvnic()Enable or disable gvnic in the node pool.inthashCode()booleanNode kubelet configs.booleanParameters that can be configured on Linux nodes.booleanParameters for using raw-block Local NVMe SSDs.booleanSpecifies which method should be used for encrypting the Local SSDs attached to the node.booleanLogging configuration.booleanThe maximum duration for the nodes to exist.booleanThe node image configuration to use for this node pool.booleanThe optional reservation affinity.booleanA map of resource manager tag keys and values to be attached to the nodes.booleanSandbox configuration for this node.booleanSecondary boot disk update strategy.booleanShielded Instance options.booleanParameters for node pools to be backed by shared sole tenant node groups.booleanOptional.booleanParameters that can be configured on Windows nodes.booleanThe workload metadata configuration for this node.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic NodeConfig.Builderstatic NodeConfig.BuildernewBuilder(NodeConfig prototype) protected NodeConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodeConfigparseDelimitedFrom(InputStream input) static NodeConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeConfigparseFrom(byte[] data) static NodeConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeConfigparseFrom(com.google.protobuf.ByteString data) static NodeConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeConfigparseFrom(com.google.protobuf.CodedInputStream input) static NodeConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeConfigparseFrom(InputStream input) static NodeConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeConfigparseFrom(ByteBuffer data) static NodeConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER- See Also:
-
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER- See Also:
-
OAUTH_SCOPES_FIELD_NUMBER
public static final int OAUTH_SCOPES_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
IMAGE_TYPE_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER- See Also:
-
NODE_IMAGE_CONFIG_FIELD_NUMBER
public static final int NODE_IMAGE_CONFIG_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
LOCAL_SSD_COUNT_FIELD_NUMBER
public static final int LOCAL_SSD_COUNT_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
PREEMPTIBLE_FIELD_NUMBER
public static final int PREEMPTIBLE_FIELD_NUMBER- See Also:
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER- See Also:
-
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER- See Also:
-
MIN_CPU_PLATFORM_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER- See Also:
-
WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER- See Also:
-
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER- See Also:
-
SANDBOX_CONFIG_FIELD_NUMBER
public static final int SANDBOX_CONFIG_FIELD_NUMBER- See Also:
-
NODE_GROUP_FIELD_NUMBER
public static final int NODE_GROUP_FIELD_NUMBER- See Also:
-
RESERVATION_AFFINITY_FIELD_NUMBER
public static final int RESERVATION_AFFINITY_FIELD_NUMBER- See Also:
-
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER- See Also:
-
LINUX_NODE_CONFIG_FIELD_NUMBER
public static final int LINUX_NODE_CONFIG_FIELD_NUMBER- See Also:
-
KUBELET_CONFIG_FIELD_NUMBER
public static final int KUBELET_CONFIG_FIELD_NUMBER- See Also:
-
BOOT_DISK_KMS_KEY_FIELD_NUMBER
public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER- See Also:
-
GCFS_CONFIG_FIELD_NUMBER
public static final int GCFS_CONFIG_FIELD_NUMBER- See Also:
-
ADVANCED_MACHINE_FEATURES_FIELD_NUMBER
public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER- See Also:
-
GVNIC_FIELD_NUMBER
public static final int GVNIC_FIELD_NUMBER- See Also:
-
SPOT_FIELD_NUMBER
public static final int SPOT_FIELD_NUMBER- See Also:
-
CONFIDENTIAL_NODES_FIELD_NUMBER
public static final int CONFIDENTIAL_NODES_FIELD_NUMBER- See Also:
-
FAST_SOCKET_FIELD_NUMBER
public static final int FAST_SOCKET_FIELD_NUMBER- See Also:
-
RESOURCE_LABELS_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER- See Also:
-
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER- See Also:
-
WINDOWS_NODE_CONFIG_FIELD_NUMBER
public static final int WINDOWS_NODE_CONFIG_FIELD_NUMBER- See Also:
-
LOCAL_NVME_SSD_BLOCK_CONFIG_FIELD_NUMBER
public static final int LOCAL_NVME_SSD_BLOCK_CONFIG_FIELD_NUMBER- See Also:
-
EPHEMERAL_STORAGE_LOCAL_SSD_CONFIG_FIELD_NUMBER
public static final int EPHEMERAL_STORAGE_LOCAL_SSD_CONFIG_FIELD_NUMBER- See Also:
-
SOLE_TENANT_CONFIG_FIELD_NUMBER
public static final int SOLE_TENANT_CONFIG_FIELD_NUMBER- See Also:
-
CONTAINERD_CONFIG_FIELD_NUMBER
public static final int CONTAINERD_CONFIG_FIELD_NUMBER- See Also:
-
RESOURCE_MANAGER_TAGS_FIELD_NUMBER
public static final int RESOURCE_MANAGER_TAGS_FIELD_NUMBER- See Also:
-
ENABLE_CONFIDENTIAL_STORAGE_FIELD_NUMBER
public static final int ENABLE_CONFIDENTIAL_STORAGE_FIELD_NUMBER- See Also:
-
SECONDARY_BOOT_DISKS_FIELD_NUMBER
public static final int SECONDARY_BOOT_DISKS_FIELD_NUMBER- See Also:
-
STORAGE_POOLS_FIELD_NUMBER
public static final int STORAGE_POOLS_FIELD_NUMBER- See Also:
-
SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER
public static final int SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER- See Also:
-
GPU_DIRECT_CONFIG_FIELD_NUMBER
public static final int GPU_DIRECT_CONFIG_FIELD_NUMBER- See Also:
-
MAX_RUN_DURATION_FIELD_NUMBER
public static final int MAX_RUN_DURATION_FIELD_NUMBER- See Also:
-
LOCAL_SSD_ENCRYPTION_MODE_FIELD_NUMBER
public static final int LOCAL_SSD_ENCRYPTION_MODE_FIELD_NUMBER- See Also:
-
EFFECTIVE_CGROUP_MODE_FIELD_NUMBER
public static final int EFFECTIVE_CGROUP_MODE_FIELD_NUMBER- See Also:
-
FLEX_START_FIELD_NUMBER
public static final int FLEX_START_FIELD_NUMBER- See Also:
-
BOOT_DISK_FIELD_NUMBER
public static final int BOOT_DISK_FIELD_NUMBER- See Also:
-
CONSOLIDATION_DELAY_FIELD_NUMBER
public static final int CONSOLIDATION_DELAY_FIELD_NUMBER- See Also:
-
TAINT_CONFIG_FIELD_NUMBER
public static final int TAINT_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMachineType
The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.
string machine_type = 1;- Specified by:
getMachineTypein interfaceNodeConfigOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.
string machine_type = 1;- Specified by:
getMachineTypeBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for machineType.
-
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 = 2;- Specified by:
getDiskSizeGbin interfaceNodeConfigOrBuilder- Returns:
- The diskSizeGb.
-
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 [Artifact Registry](https://cloud.google.com/artifact-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 = 3;- Specified by:
getOauthScopesListin interfaceNodeConfigOrBuilder- 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 [Artifact Registry](https://cloud.google.com/artifact-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 = 3;- Specified by:
getOauthScopesCountin interfaceNodeConfigOrBuilder- Returns:
- The count of oauthScopes.
-
getOauthScopes
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 [Artifact Registry](https://cloud.google.com/artifact-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 = 3;- Specified by:
getOauthScopesin interfaceNodeConfigOrBuilder- 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 [Artifact Registry](https://cloud.google.com/artifact-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 = 3;- Specified by:
getOauthScopesBytesin interfaceNodeConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
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 = 9;- Specified by:
getServiceAccountin interfaceNodeConfigOrBuilder- 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 = 9;- Specified by:
getServiceAccountBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for serviceAccount.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:NodeConfigOrBuilderThe metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;- Specified by:
getMetadataCountin interfaceNodeConfigOrBuilder
-
containsMetadata
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;- Specified by:
containsMetadatain interfaceNodeConfigOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceNodeConfigOrBuilder
-
getMetadataMap
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;- Specified by:
getMetadataMapin interfaceNodeConfigOrBuilder
-
getMetadataOrDefault
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;- Specified by:
getMetadataOrDefaultin interfaceNodeConfigOrBuilder
-
getMetadataOrThrow
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
map<string, string> metadata = 4;- Specified by:
getMetadataOrThrowin interfaceNodeConfigOrBuilder
-
getImageType
The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
string image_type = 5;- Specified by:
getImageTypein interfaceNodeConfigOrBuilder- Returns:
- The imageType.
-
getImageTypeBytes
public com.google.protobuf.ByteString getImageTypeBytes()The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
string image_type = 5;- Specified by:
getImageTypeBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for imageType.
-
hasNodeImageConfig
public boolean hasNodeImageConfig()The node image configuration to use for this node pool. Note that this is only applicable for node pools using image_type=CUSTOM.
.google.container.v1.CustomImageConfig node_image_config = 90;- Specified by:
hasNodeImageConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the nodeImageConfig field is set.
-
getNodeImageConfig
The node image configuration to use for this node pool. Note that this is only applicable for node pools using image_type=CUSTOM.
.google.container.v1.CustomImageConfig node_image_config = 90;- Specified by:
getNodeImageConfigin interfaceNodeConfigOrBuilder- Returns:
- The nodeImageConfig.
-
getNodeImageConfigOrBuilder
The node image configuration to use for this node pool. Note that this is only applicable for node pools using image_type=CUSTOM.
.google.container.v1.CustomImageConfig node_image_config = 90;- Specified by:
getNodeImageConfigOrBuilderin interfaceNodeConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:NodeConfigOrBuilderThe Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/
map<string, string> labels = 6;- Specified by:
getLabelsCountin interfaceNodeConfigOrBuilder
-
containsLabels
The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/
map<string, string> labels = 6;- Specified by:
containsLabelsin interfaceNodeConfigOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeConfigOrBuilder
-
getLabelsMap
The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/
map<string, string> labels = 6;- Specified by:
getLabelsMapin interfaceNodeConfigOrBuilder
-
getLabelsOrDefault
The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/
map<string, string> labels = 6;- Specified by:
getLabelsOrDefaultin interfaceNodeConfigOrBuilder
-
getLabelsOrThrow
The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/
map<string, string> labels = 6;- Specified by:
getLabelsOrThrowin interfaceNodeConfigOrBuilder
-
getLocalSsdCount
public int getLocalSsdCount()The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
int32 local_ssd_count = 7;- Specified by:
getLocalSsdCountin interfaceNodeConfigOrBuilder- Returns:
- The localSsdCount.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;- Specified by:
getTagsListin interfaceNodeConfigOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;- Specified by:
getTagsCountin interfaceNodeConfigOrBuilder- Returns:
- The count of tags.
-
getTags
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;- Specified by:
getTagsin interfaceNodeConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
repeated string tags = 8;- Specified by:
getTagsBytesin interfaceNodeConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getPreemptible
public boolean getPreemptible()Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.
bool preemptible = 10;- Specified by:
getPreemptiblein interfaceNodeConfigOrBuilder- Returns:
- The preemptible.
-
getAcceleratorsList
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;- Specified by:
getAcceleratorsListin interfaceNodeConfigOrBuilder
-
getAcceleratorsOrBuilderList
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;- Specified by:
getAcceleratorsOrBuilderListin interfaceNodeConfigOrBuilder
-
getAcceleratorsCount
public int getAcceleratorsCount()A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;- Specified by:
getAcceleratorsCountin interfaceNodeConfigOrBuilder
-
getAccelerators
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;- Specified by:
getAcceleratorsin interfaceNodeConfigOrBuilder
-
getAcceleratorsOrBuilder
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
repeated .google.container.v1.AcceleratorConfig accelerators = 11;- Specified by:
getAcceleratorsOrBuilderin interfaceNodeConfigOrBuilder
-
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 = 12;- Specified by:
getDiskTypein interfaceNodeConfigOrBuilder- 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 = 12;- Specified by:
getDiskTypeBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for diskType.
-
getMinCpuPlatform
Minimum CPU platform to be used by this instance. 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)
string min_cpu_platform = 13;- Specified by:
getMinCpuPlatformin interfaceNodeConfigOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()Minimum CPU platform to be used by this instance. 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)
string min_cpu_platform = 13;- Specified by:
getMinCpuPlatformBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
hasWorkloadMetadataConfig
public boolean hasWorkloadMetadataConfig()The workload metadata configuration for this node.
.google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;- Specified by:
hasWorkloadMetadataConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the workloadMetadataConfig field is set.
-
getWorkloadMetadataConfig
The workload metadata configuration for this node.
.google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;- Specified by:
getWorkloadMetadataConfigin interfaceNodeConfigOrBuilder- Returns:
- The workloadMetadataConfig.
-
getWorkloadMetadataConfigOrBuilder
The workload metadata configuration for this node.
.google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;- Specified by:
getWorkloadMetadataConfigOrBuilderin interfaceNodeConfigOrBuilder
-
getTaintsList
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
repeated .google.container.v1.NodeTaint taints = 15;- Specified by:
getTaintsListin interfaceNodeConfigOrBuilder
-
getTaintsOrBuilderList
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
repeated .google.container.v1.NodeTaint taints = 15;- Specified by:
getTaintsOrBuilderListin interfaceNodeConfigOrBuilder
-
getTaintsCount
public int getTaintsCount()List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
repeated .google.container.v1.NodeTaint taints = 15;- Specified by:
getTaintsCountin interfaceNodeConfigOrBuilder
-
getTaints
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
repeated .google.container.v1.NodeTaint taints = 15;- Specified by:
getTaintsin interfaceNodeConfigOrBuilder
-
getTaintsOrBuilder
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
repeated .google.container.v1.NodeTaint taints = 15;- Specified by:
getTaintsOrBuilderin interfaceNodeConfigOrBuilder
-
hasSandboxConfig
public boolean hasSandboxConfig()Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;- Specified by:
hasSandboxConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the sandboxConfig field is set.
-
getSandboxConfig
Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;- Specified by:
getSandboxConfigin interfaceNodeConfigOrBuilder- Returns:
- The sandboxConfig.
-
getSandboxConfigOrBuilder
Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;- Specified by:
getSandboxConfigOrBuilderin interfaceNodeConfigOrBuilder
-
getNodeGroup
Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
string node_group = 18;- Specified by:
getNodeGroupin interfaceNodeConfigOrBuilder- Returns:
- The nodeGroup.
-
getNodeGroupBytes
public com.google.protobuf.ByteString getNodeGroupBytes()Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
string node_group = 18;- Specified by:
getNodeGroupBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for nodeGroup.
-
hasReservationAffinity
public boolean hasReservationAffinity()The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
.google.container.v1.ReservationAffinity reservation_affinity = 19;- Specified by:
hasReservationAffinityin interfaceNodeConfigOrBuilder- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
.google.container.v1.ReservationAffinity reservation_affinity = 19;- Specified by:
getReservationAffinityin interfaceNodeConfigOrBuilder- Returns:
- The reservationAffinity.
-
getReservationAffinityOrBuilder
The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
.google.container.v1.ReservationAffinity reservation_affinity = 19;- Specified by:
getReservationAffinityOrBuilderin interfaceNodeConfigOrBuilder
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;- Specified by:
hasShieldedInstanceConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;- Specified by:
getShieldedInstanceConfigin interfaceNodeConfigOrBuilder- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasLinuxNodeConfig
public boolean hasLinuxNodeConfig()Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;- Specified by:
hasLinuxNodeConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the linuxNodeConfig field is set.
-
getLinuxNodeConfig
Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;- Specified by:
getLinuxNodeConfigin interfaceNodeConfigOrBuilder- Returns:
- The linuxNodeConfig.
-
getLinuxNodeConfigOrBuilder
Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;- Specified by:
getLinuxNodeConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasKubeletConfig
public boolean hasKubeletConfig()Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;- Specified by:
hasKubeletConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the kubeletConfig field is set.
-
getKubeletConfig
Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;- Specified by:
getKubeletConfigin interfaceNodeConfigOrBuilder- Returns:
- The kubeletConfig.
-
getKubeletConfigOrBuilder
Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;- Specified by:
getKubeletConfigOrBuilderin interfaceNodeConfigOrBuilder
-
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 = 23;- Specified by:
getBootDiskKmsKeyin interfaceNodeConfigOrBuilder- 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 = 23;- Specified by:
getBootDiskKmsKeyBytesin interfaceNodeConfigOrBuilder- Returns:
- The bytes for bootDiskKmsKey.
-
hasGcfsConfig
public boolean hasGcfsConfig()Google Container File System (image streaming) configs.
.google.container.v1.GcfsConfig gcfs_config = 25;- Specified by:
hasGcfsConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the gcfsConfig field is set.
-
getGcfsConfig
Google Container File System (image streaming) configs.
.google.container.v1.GcfsConfig gcfs_config = 25;- Specified by:
getGcfsConfigin interfaceNodeConfigOrBuilder- Returns:
- The gcfsConfig.
-
getGcfsConfigOrBuilder
Google Container File System (image streaming) configs.
.google.container.v1.GcfsConfig gcfs_config = 25;- Specified by:
getGcfsConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasAdvancedMachineFeatures
public boolean hasAdvancedMachineFeatures()Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;- Specified by:
hasAdvancedMachineFeaturesin interfaceNodeConfigOrBuilder- Returns:
- Whether the advancedMachineFeatures field is set.
-
getAdvancedMachineFeatures
Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;- Specified by:
getAdvancedMachineFeaturesin interfaceNodeConfigOrBuilder- Returns:
- The advancedMachineFeatures.
-
getAdvancedMachineFeaturesOrBuilder
Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;- Specified by:
getAdvancedMachineFeaturesOrBuilderin interfaceNodeConfigOrBuilder
-
hasGvnic
public boolean hasGvnic()Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;- Specified by:
hasGvnicin interfaceNodeConfigOrBuilder- Returns:
- Whether the gvnic field is set.
-
getGvnic
Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;- Specified by:
getGvnicin interfaceNodeConfigOrBuilder- Returns:
- The gvnic.
-
getGvnicOrBuilder
Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;- Specified by:
getGvnicOrBuilderin interfaceNodeConfigOrBuilder
-
getSpot
public boolean getSpot()Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
bool spot = 32;- Specified by:
getSpotin interfaceNodeConfigOrBuilder- Returns:
- The spot.
-
hasConfidentialNodes
public boolean hasConfidentialNodes()Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 35;- Specified by:
hasConfidentialNodesin interfaceNodeConfigOrBuilder- Returns:
- Whether the confidentialNodes field is set.
-
getConfidentialNodes
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 35;- Specified by:
getConfidentialNodesin interfaceNodeConfigOrBuilder- Returns:
- The confidentialNodes.
-
getConfidentialNodesOrBuilder
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 35;- Specified by:
getConfidentialNodesOrBuilderin interfaceNodeConfigOrBuilder
-
hasFastSocket
public boolean hasFastSocket()Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1.FastSocket fast_socket = 36;- Specified by:
hasFastSocketin interfaceNodeConfigOrBuilder- Returns:
- Whether the fastSocket field is set.
-
getFastSocket
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1.FastSocket fast_socket = 36;- Specified by:
getFastSocketin interfaceNodeConfigOrBuilder- Returns:
- The fastSocket.
-
getFastSocketOrBuilder
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1.FastSocket fast_socket = 36;- Specified by:
getFastSocketOrBuilderin interfaceNodeConfigOrBuilder
-
getResourceLabelsCount
public int getResourceLabelsCount()Description copied from interface:NodeConfigOrBuilderThe resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;- Specified by:
getResourceLabelsCountin interfaceNodeConfigOrBuilder
-
containsResourceLabels
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;- Specified by:
containsResourceLabelsin interfaceNodeConfigOrBuilder
-
getResourceLabels
Deprecated.UsegetResourceLabelsMap()instead.- Specified by:
getResourceLabelsin interfaceNodeConfigOrBuilder
-
getResourceLabelsMap
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;- Specified by:
getResourceLabelsMapin interfaceNodeConfigOrBuilder
-
getResourceLabelsOrDefault
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;- Specified by:
getResourceLabelsOrDefaultin interfaceNodeConfigOrBuilder
-
getResourceLabelsOrThrow
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;- Specified by:
getResourceLabelsOrThrowin interfaceNodeConfigOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;- Specified by:
hasLoggingConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;- Specified by:
getLoggingConfigin interfaceNodeConfigOrBuilder- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;- Specified by:
getLoggingConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasWindowsNodeConfig
public boolean hasWindowsNodeConfig()Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;- Specified by:
hasWindowsNodeConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the windowsNodeConfig field is set.
-
getWindowsNodeConfig
Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;- Specified by:
getWindowsNodeConfigin interfaceNodeConfigOrBuilder- Returns:
- The windowsNodeConfig.
-
getWindowsNodeConfigOrBuilder
Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;- Specified by:
getWindowsNodeConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasLocalNvmeSsdBlockConfig
public boolean hasLocalNvmeSsdBlockConfig()Parameters for using raw-block Local NVMe SSDs.
.google.container.v1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;- Specified by:
hasLocalNvmeSsdBlockConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the localNvmeSsdBlockConfig field is set.
-
getLocalNvmeSsdBlockConfig
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;- Specified by:
getLocalNvmeSsdBlockConfigin interfaceNodeConfigOrBuilder- Returns:
- The localNvmeSsdBlockConfig.
-
getLocalNvmeSsdBlockConfigOrBuilder
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;- Specified by:
getLocalNvmeSsdBlockConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasEphemeralStorageLocalSsdConfig
public boolean hasEphemeralStorageLocalSsdConfig()Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;- Specified by:
hasEphemeralStorageLocalSsdConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the ephemeralStorageLocalSsdConfig field is set.
-
getEphemeralStorageLocalSsdConfig
Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;- Specified by:
getEphemeralStorageLocalSsdConfigin interfaceNodeConfigOrBuilder- Returns:
- The ephemeralStorageLocalSsdConfig.
-
getEphemeralStorageLocalSsdConfigOrBuilder
Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;- Specified by:
getEphemeralStorageLocalSsdConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasSoleTenantConfig
public boolean hasSoleTenantConfig()Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1.SoleTenantConfig sole_tenant_config = 42;- Specified by:
hasSoleTenantConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the soleTenantConfig field is set.
-
getSoleTenantConfig
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1.SoleTenantConfig sole_tenant_config = 42;- Specified by:
getSoleTenantConfigin interfaceNodeConfigOrBuilder- Returns:
- The soleTenantConfig.
-
getSoleTenantConfigOrBuilder
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1.SoleTenantConfig sole_tenant_config = 42;- Specified by:
getSoleTenantConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasContainerdConfig
public boolean hasContainerdConfig()Parameters for containerd customization.
.google.container.v1.ContainerdConfig containerd_config = 43;- Specified by:
hasContainerdConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the containerdConfig field is set.
-
getContainerdConfig
Parameters for containerd customization.
.google.container.v1.ContainerdConfig containerd_config = 43;- Specified by:
getContainerdConfigin interfaceNodeConfigOrBuilder- Returns:
- The containerdConfig.
-
getContainerdConfigOrBuilder
Parameters for containerd customization.
.google.container.v1.ContainerdConfig containerd_config = 43;- Specified by:
getContainerdConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasResourceManagerTags
public boolean hasResourceManagerTags()A map of resource manager tag keys and values to be attached to the nodes.
.google.container.v1.ResourceManagerTags resource_manager_tags = 45;- Specified by:
hasResourceManagerTagsin interfaceNodeConfigOrBuilder- Returns:
- Whether the resourceManagerTags field is set.
-
getResourceManagerTags
A map of resource manager tag keys and values to be attached to the nodes.
.google.container.v1.ResourceManagerTags resource_manager_tags = 45;- Specified by:
getResourceManagerTagsin interfaceNodeConfigOrBuilder- Returns:
- The resourceManagerTags.
-
getResourceManagerTagsOrBuilder
A map of resource manager tag keys and values to be attached to the nodes.
.google.container.v1.ResourceManagerTags resource_manager_tags = 45;- Specified by:
getResourceManagerTagsOrBuilderin interfaceNodeConfigOrBuilder
-
getEnableConfidentialStorage
public boolean getEnableConfidentialStorage()Optional. Reserved for future use.
bool enable_confidential_storage = 46 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnableConfidentialStoragein interfaceNodeConfigOrBuilder- Returns:
- The enableConfidentialStorage.
-
getSecondaryBootDisksList
List of secondary boot disks attached to the nodes.
repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48;- Specified by:
getSecondaryBootDisksListin interfaceNodeConfigOrBuilder
-
getSecondaryBootDisksOrBuilderList
List of secondary boot disks attached to the nodes.
repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48;- Specified by:
getSecondaryBootDisksOrBuilderListin interfaceNodeConfigOrBuilder
-
getSecondaryBootDisksCount
public int getSecondaryBootDisksCount()List of secondary boot disks attached to the nodes.
repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48;- Specified by:
getSecondaryBootDisksCountin interfaceNodeConfigOrBuilder
-
getSecondaryBootDisks
List of secondary boot disks attached to the nodes.
repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48;- Specified by:
getSecondaryBootDisksin interfaceNodeConfigOrBuilder
-
getSecondaryBootDisksOrBuilder
List of secondary boot disks attached to the nodes.
repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48;- Specified by:
getSecondaryBootDisksOrBuilderin interfaceNodeConfigOrBuilder
-
getStoragePoolsList
public com.google.protobuf.ProtocolStringList getStoragePoolsList()List of Storage Pools where boot disks are provisioned.
repeated string storage_pools = 49;- Specified by:
getStoragePoolsListin interfaceNodeConfigOrBuilder- Returns:
- A list containing the storagePools.
-
getStoragePoolsCount
public int getStoragePoolsCount()List of Storage Pools where boot disks are provisioned.
repeated string storage_pools = 49;- Specified by:
getStoragePoolsCountin interfaceNodeConfigOrBuilder- Returns:
- The count of storagePools.
-
getStoragePools
List of Storage Pools where boot disks are provisioned.
repeated string storage_pools = 49;- Specified by:
getStoragePoolsin interfaceNodeConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The storagePools at the given index.
-
getStoragePoolsBytes
public com.google.protobuf.ByteString getStoragePoolsBytes(int index) List of Storage Pools where boot disks are provisioned.
repeated string storage_pools = 49;- Specified by:
getStoragePoolsBytesin interfaceNodeConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storagePools at the given index.
-
hasSecondaryBootDiskUpdateStrategy
public boolean hasSecondaryBootDiskUpdateStrategy()Secondary boot disk update strategy.
optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50;- Specified by:
hasSecondaryBootDiskUpdateStrategyin interfaceNodeConfigOrBuilder- Returns:
- Whether the secondaryBootDiskUpdateStrategy field is set.
-
getSecondaryBootDiskUpdateStrategy
Secondary boot disk update strategy.
optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50;- Specified by:
getSecondaryBootDiskUpdateStrategyin interfaceNodeConfigOrBuilder- Returns:
- The secondaryBootDiskUpdateStrategy.
-
getSecondaryBootDiskUpdateStrategyOrBuilder
Secondary boot disk update strategy.
optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50;- Specified by:
getSecondaryBootDiskUpdateStrategyOrBuilderin interfaceNodeConfigOrBuilder
-
hasGpuDirectConfig
public boolean hasGpuDirectConfig()The configuration for GPU Direct
optional .google.container.v1.GPUDirectConfig gpu_direct_config = 51;- Specified by:
hasGpuDirectConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the gpuDirectConfig field is set.
-
getGpuDirectConfig
The configuration for GPU Direct
optional .google.container.v1.GPUDirectConfig gpu_direct_config = 51;- Specified by:
getGpuDirectConfigin interfaceNodeConfigOrBuilder- Returns:
- The gpuDirectConfig.
-
getGpuDirectConfigOrBuilder
The configuration for GPU Direct
optional .google.container.v1.GPUDirectConfig gpu_direct_config = 51;- Specified by:
getGpuDirectConfigOrBuilderin interfaceNodeConfigOrBuilder
-
hasMaxRunDuration
public boolean hasMaxRunDuration()The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
.google.protobuf.Duration max_run_duration = 53;- Specified by:
hasMaxRunDurationin interfaceNodeConfigOrBuilder- Returns:
- Whether the maxRunDuration field is set.
-
getMaxRunDuration
public com.google.protobuf.Duration getMaxRunDuration()The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
.google.protobuf.Duration max_run_duration = 53;- Specified by:
getMaxRunDurationin interfaceNodeConfigOrBuilder- Returns:
- The maxRunDuration.
-
getMaxRunDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxRunDurationOrBuilder()The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
.google.protobuf.Duration max_run_duration = 53;- Specified by:
getMaxRunDurationOrBuilderin interfaceNodeConfigOrBuilder
-
hasLocalSsdEncryptionMode
public boolean hasLocalSsdEncryptionMode()Specifies which method should be used for encrypting the Local SSDs attached to the node.
optional .google.container.v1.NodeConfig.LocalSsdEncryptionMode local_ssd_encryption_mode = 54;- Specified by:
hasLocalSsdEncryptionModein interfaceNodeConfigOrBuilder- Returns:
- Whether the localSsdEncryptionMode field is set.
-
getLocalSsdEncryptionModeValue
public int getLocalSsdEncryptionModeValue()Specifies which method should be used for encrypting the Local SSDs attached to the node.
optional .google.container.v1.NodeConfig.LocalSsdEncryptionMode local_ssd_encryption_mode = 54;- Specified by:
getLocalSsdEncryptionModeValuein interfaceNodeConfigOrBuilder- Returns:
- The enum numeric value on the wire for localSsdEncryptionMode.
-
getLocalSsdEncryptionMode
Specifies which method should be used for encrypting the Local SSDs attached to the node.
optional .google.container.v1.NodeConfig.LocalSsdEncryptionMode local_ssd_encryption_mode = 54;- Specified by:
getLocalSsdEncryptionModein interfaceNodeConfigOrBuilder- Returns:
- The localSsdEncryptionMode.
-
getEffectiveCgroupModeValue
public int getEffectiveCgroupModeValue()Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.
.google.container.v1.NodeConfig.EffectiveCgroupMode effective_cgroup_mode = 55 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveCgroupModeValuein interfaceNodeConfigOrBuilder- Returns:
- The enum numeric value on the wire for effectiveCgroupMode.
-
getEffectiveCgroupMode
Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.
.google.container.v1.NodeConfig.EffectiveCgroupMode effective_cgroup_mode = 55 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveCgroupModein interfaceNodeConfigOrBuilder- Returns:
- The effectiveCgroupMode.
-
hasFlexStart
public boolean hasFlexStart()Flex Start flag for enabling Flex Start VM.
optional bool flex_start = 56;- Specified by:
hasFlexStartin interfaceNodeConfigOrBuilder- Returns:
- Whether the flexStart field is set.
-
getFlexStart
public boolean getFlexStart()Flex Start flag for enabling Flex Start VM.
optional bool flex_start = 56;- Specified by:
getFlexStartin interfaceNodeConfigOrBuilder- Returns:
- The flexStart.
-
hasBootDisk
public boolean hasBootDisk()The boot disk configuration for the node pool.
.google.container.v1.BootDisk boot_disk = 57;- Specified by:
hasBootDiskin interfaceNodeConfigOrBuilder- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
The boot disk configuration for the node pool.
.google.container.v1.BootDisk boot_disk = 57;- Specified by:
getBootDiskin interfaceNodeConfigOrBuilder- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
The boot disk configuration for the node pool.
.google.container.v1.BootDisk boot_disk = 57;- Specified by:
getBootDiskOrBuilderin interfaceNodeConfigOrBuilder
-
hasConsolidationDelay
public boolean hasConsolidationDelay()Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.
.google.protobuf.Duration consolidation_delay = 60;- Specified by:
hasConsolidationDelayin interfaceNodeConfigOrBuilder- Returns:
- Whether the consolidationDelay field is set.
-
getConsolidationDelay
public com.google.protobuf.Duration getConsolidationDelay()Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.
.google.protobuf.Duration consolidation_delay = 60;- Specified by:
getConsolidationDelayin interfaceNodeConfigOrBuilder- Returns:
- The consolidationDelay.
-
getConsolidationDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getConsolidationDelayOrBuilder()Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.
.google.protobuf.Duration consolidation_delay = 60;- Specified by:
getConsolidationDelayOrBuilderin interfaceNodeConfigOrBuilder
-
hasTaintConfig
public boolean hasTaintConfig()Optional. The taint configuration for the node pool.
optional .google.container.v1.TaintConfig taint_config = 62 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTaintConfigin interfaceNodeConfigOrBuilder- Returns:
- Whether the taintConfig field is set.
-
getTaintConfig
Optional. The taint configuration for the node pool.
optional .google.container.v1.TaintConfig taint_config = 62 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTaintConfigin interfaceNodeConfigOrBuilder- Returns:
- The taintConfig.
-
getTaintConfigOrBuilder
Optional. The taint configuration for the node pool.
optional .google.container.v1.TaintConfig taint_config = 62 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTaintConfigOrBuilderin interfaceNodeConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-