Package com.google.container.v1
Class NodeConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.container.v1.NodeConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeConfig.Builder
Parameters that describe the nodes in a cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node.boolean
containsMetadata(String key)
The metadata key/value pairs assigned to instances in the cluster.boolean
containsResourceLabels(String key)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.boolean
equals(Object obj)
AcceleratorConfig
getAccelerators(int index)
A list of hardware accelerators to be attached to each node.int
getAcceleratorsCount()
A list of hardware accelerators to be attached to each node.List<AcceleratorConfig>
getAcceleratorsList()
A list of hardware accelerators to be attached to each node.AcceleratorConfigOrBuilder
getAcceleratorsOrBuilder(int index)
A list of hardware accelerators to be attached to each node.List<? extends AcceleratorConfigOrBuilder>
getAcceleratorsOrBuilderList()
A list of hardware accelerators to be attached to each node.AdvancedMachineFeatures
getAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.AdvancedMachineFeaturesOrBuilder
getAdvancedMachineFeaturesOrBuilder()
Advanced features for the Compute Engine VM.String
getBootDiskKmsKey()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.com.google.protobuf.ByteString
getBootDiskKmsKeyBytes()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.ConfidentialNodes
getConfidentialNodes()
Confidential nodes config.ConfidentialNodesOrBuilder
getConfidentialNodesOrBuilder()
Confidential nodes config.static NodeConfig
getDefaultInstance()
NodeConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getDiskSizeGb()
Size of the disk attached to each node, specified in GB.String
getDiskType()
Type of the disk attached to each node (e.g.com.google.protobuf.ByteString
getDiskTypeBytes()
Type of the disk attached to each node (e.g.EphemeralStorageLocalSsdConfig
getEphemeralStorageLocalSsdConfig()
Parameters for the node ephemeral storage using Local SSDs.EphemeralStorageLocalSsdConfigOrBuilder
getEphemeralStorageLocalSsdConfigOrBuilder()
Parameters for the node ephemeral storage using Local SSDs.FastSocket
getFastSocket()
Enable or disable NCCL fast socket for the node pool.FastSocketOrBuilder
getFastSocketOrBuilder()
Enable or disable NCCL fast socket for the node pool.GcfsConfig
getGcfsConfig()
Google Container File System (image streaming) configs.GcfsConfigOrBuilder
getGcfsConfigOrBuilder()
Google Container File System (image streaming) configs.VirtualNIC
getGvnic()
Enable or disable gvnic in the node pool.VirtualNICOrBuilder
getGvnicOrBuilder()
Enable or disable gvnic in the node pool.String
getImageType()
The image type to use for this node.com.google.protobuf.ByteString
getImageTypeBytes()
The image type to use for this node.NodeKubeletConfig
getKubeletConfig()
Node kubelet configs.NodeKubeletConfigOrBuilder
getKubeletConfigOrBuilder()
Node kubelet configs.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The map of Kubernetes labels (key/value pairs) to be applied to each node.Map<String,String>
getLabelsMap()
The map of Kubernetes labels (key/value pairs) to be applied to each node.String
getLabelsOrDefault(String key, String defaultValue)
The map of Kubernetes labels (key/value pairs) to be applied to each node.String
getLabelsOrThrow(String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node.LinuxNodeConfig
getLinuxNodeConfig()
Parameters that can be configured on Linux nodes.LinuxNodeConfigOrBuilder
getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.LocalNvmeSsdBlockConfig
getLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.LocalNvmeSsdBlockConfigOrBuilder
getLocalNvmeSsdBlockConfigOrBuilder()
Parameters for using raw-block Local NVMe SSDs.int
getLocalSsdCount()
The number of local SSD disks to be attached to the node.NodePoolLoggingConfig
getLoggingConfig()
Logging configuration.NodePoolLoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Logging configuration.String
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`.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`.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata key/value pairs assigned to instances in the cluster.Map<String,String>
getMetadataMap()
The metadata key/value pairs assigned to instances in the cluster.String
getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs assigned to instances in the cluster.String
getMetadataOrThrow(String key)
The metadata key/value pairs assigned to instances in the cluster.String
getMinCpuPlatform()
Minimum CPU platform to be used by this instance.com.google.protobuf.ByteString
getMinCpuPlatformBytes()
Minimum CPU platform to be used by this instance.String
getNodeGroup()
Setting this field will assign instances of this pool to run on the specified node group.com.google.protobuf.ByteString
getNodeGroupBytes()
Setting this field will assign instances of this pool to run on the specified node group.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.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.int
getOauthScopesCount()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.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.com.google.protobuf.Parser<NodeConfig>
getParserForType()
boolean
getPreemptible()
Whether the nodes are created as preemptible VM instances.ReservationAffinity
getReservationAffinity()
The optional reservation affinity.ReservationAffinityOrBuilder
getReservationAffinityOrBuilder()
The optional reservation affinity.Map<String,String>
getResourceLabels()
Deprecated.int
getResourceLabelsCount()
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.Map<String,String>
getResourceLabelsMap()
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.String
getResourceLabelsOrDefault(String key, String defaultValue)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.String
getResourceLabelsOrThrow(String key)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.SandboxConfig
getSandboxConfig()
Sandbox configuration for this node.SandboxConfigOrBuilder
getSandboxConfigOrBuilder()
Sandbox configuration for this node.int
getSerializedSize()
String
getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.com.google.protobuf.ByteString
getServiceAccountBytes()
The Google Cloud Platform Service Account to be used by the node VMs.ShieldedInstanceConfig
getShieldedInstanceConfig()
Shielded Instance options.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Shielded Instance options.SoleTenantConfig
getSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.SoleTenantConfigOrBuilder
getSoleTenantConfigOrBuilder()
Parameters for node pools to be backed by shared sole tenant node groups.boolean
getSpot()
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.String
getTags(int index)
The list of instance tags applied to all nodes.com.google.protobuf.ByteString
getTagsBytes(int index)
The list of instance tags applied to all nodes.int
getTagsCount()
The list of instance tags applied to all nodes.com.google.protobuf.ProtocolStringList
getTagsList()
The list of instance tags applied to all nodes.NodeTaint
getTaints(int index)
List of kubernetes taints to be applied to each node.int
getTaintsCount()
List of kubernetes taints to be applied to each node.List<NodeTaint>
getTaintsList()
List of kubernetes taints to be applied to each node.NodeTaintOrBuilder
getTaintsOrBuilder(int index)
List of kubernetes taints to be applied to each node.List<? extends NodeTaintOrBuilder>
getTaintsOrBuilderList()
List of kubernetes taints to be applied to each node.WindowsNodeConfig
getWindowsNodeConfig()
Parameters that can be configured on Windows nodes.WindowsNodeConfigOrBuilder
getWindowsNodeConfigOrBuilder()
Parameters that can be configured on Windows nodes.WorkloadMetadataConfig
getWorkloadMetadataConfig()
The workload metadata configuration for this node.WorkloadMetadataConfigOrBuilder
getWorkloadMetadataConfigOrBuilder()
The workload metadata configuration for this node.boolean
hasAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.boolean
hasConfidentialNodes()
Confidential nodes config.boolean
hasEphemeralStorageLocalSsdConfig()
Parameters for the node ephemeral storage using Local SSDs.boolean
hasFastSocket()
Enable or disable NCCL fast socket for the node pool.boolean
hasGcfsConfig()
Google Container File System (image streaming) configs.boolean
hasGvnic()
Enable or disable gvnic in the node pool.int
hashCode()
boolean
hasKubeletConfig()
Node kubelet configs.boolean
hasLinuxNodeConfig()
Parameters that can be configured on Linux nodes.boolean
hasLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.boolean
hasLoggingConfig()
Logging configuration.boolean
hasReservationAffinity()
The optional reservation affinity.boolean
hasSandboxConfig()
Sandbox configuration for this node.boolean
hasShieldedInstanceConfig()
Shielded Instance options.boolean
hasSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.boolean
hasWindowsNodeConfig()
Parameters that can be configured on Windows nodes.boolean
hasWorkloadMetadataConfig()
The workload metadata configuration for this node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static NodeConfig.Builder
newBuilder()
static NodeConfig.Builder
newBuilder(NodeConfig prototype)
NodeConfig.Builder
newBuilderForType()
protected NodeConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NodeConfig
parseDelimitedFrom(InputStream input)
static NodeConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeConfig
parseFrom(byte[] data)
static NodeConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeConfig
parseFrom(com.google.protobuf.ByteString data)
static NodeConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static NodeConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeConfig
parseFrom(InputStream input)
static NodeConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeConfig
parseFrom(ByteBuffer data)
static NodeConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NodeConfig>
parser()
NodeConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OAUTH_SCOPES_FIELD_NUMBER
public static final int OAUTH_SCOPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_TYPE_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_SSD_COUNT_FIELD_NUMBER
public static final int LOCAL_SSD_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREEMPTIBLE_FIELD_NUMBER
public static final int PREEMPTIBLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_CPU_PLATFORM_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SANDBOX_CONFIG_FIELD_NUMBER
public static final int SANDBOX_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_GROUP_FIELD_NUMBER
public static final int NODE_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVATION_AFFINITY_FIELD_NUMBER
public static final int RESERVATION_AFFINITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINUX_NODE_CONFIG_FIELD_NUMBER
public static final int LINUX_NODE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KUBELET_CONFIG_FIELD_NUMBER
public static final int KUBELET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOT_DISK_KMS_KEY_FIELD_NUMBER
public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCFS_CONFIG_FIELD_NUMBER
public static final int GCFS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVANCED_MACHINE_FEATURES_FIELD_NUMBER
public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GVNIC_FIELD_NUMBER
public static final int GVNIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPOT_FIELD_NUMBER
public static final int SPOT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENTIAL_NODES_FIELD_NUMBER
public static final int CONFIDENTIAL_NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAST_SOCKET_FIELD_NUMBER
public static final int FAST_SOCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_LABELS_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WINDOWS_NODE_CONFIG_FIELD_NUMBER
public static final int WINDOWS_NODE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_NVME_SSD_BLOCK_CONFIG_FIELD_NUMBER
public static final int LOCAL_NVME_SSD_BLOCK_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EPHEMERAL_STORAGE_LOCAL_SSD_CONFIG_FIELD_NUMBER
public static final int EPHEMERAL_STORAGE_LOCAL_SSD_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOLE_TENANT_CONFIG_FIELD_NUMBER
public static final int SOLE_TENANT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getMachineType
public String 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:
getMachineType
in 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:
getMachineTypeBytes
in 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:
getDiskSizeGb
in 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 [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 = 3;
- Specified by:
getOauthScopesList
in 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 [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 = 3;
- Specified by:
getOauthScopesCount
in interfaceNodeConfigOrBuilder
- 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 = 3;
- Specified by:
getOauthScopes
in 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 [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 = 3;
- Specified by:
getOauthScopesBytes
in interfaceNodeConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
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 = 9;
- Specified by:
getServiceAccount
in 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:
getServiceAccountBytes
in interfaceNodeConfigOrBuilder
- Returns:
- The bytes for serviceAccount.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:NodeConfigOrBuilder
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:
getMetadataCount
in interfaceNodeConfigOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
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:
containsMetadata
in interfaceNodeConfigOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceNodeConfigOrBuilder
-
getMetadataMap
public Map<String,String> 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:
getMetadataMap
in interfaceNodeConfigOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
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:
getMetadataOrDefault
in interfaceNodeConfigOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
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:
getMetadataOrThrow
in interfaceNodeConfigOrBuilder
-
getImageType
public String 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:
getImageType
in 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:
getImageTypeBytes
in interfaceNodeConfigOrBuilder
- Returns:
- The bytes for imageType.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NodeConfigOrBuilder
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
- Specified by:
getLabelsCount
in interfaceNodeConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
- Specified by:
containsLabels
in interfaceNodeConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceNodeConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
- Specified by:
getLabelsMap
in interfaceNodeConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
- Specified by:
getLabelsOrDefault
in interfaceNodeConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
map<string, string> labels = 6;
- Specified by:
getLabelsOrThrow
in 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:
getLocalSsdCount
in 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:
getTagsList
in 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:
getTagsCount
in interfaceNodeConfigOrBuilder
- Returns:
- The count of tags.
-
getTags
public String getTags(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:
getTags
in 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:
getTagsBytes
in 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:
getPreemptible
in interfaceNodeConfigOrBuilder
- Returns:
- The preemptible.
-
getAcceleratorsList
public List<AcceleratorConfig> 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:
getAcceleratorsList
in interfaceNodeConfigOrBuilder
-
getAcceleratorsOrBuilderList
public List<? extends AcceleratorConfigOrBuilder> 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:
getAcceleratorsOrBuilderList
in 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:
getAcceleratorsCount
in interfaceNodeConfigOrBuilder
-
getAccelerators
public AcceleratorConfig getAccelerators(int index)
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:
getAccelerators
in interfaceNodeConfigOrBuilder
-
getAcceleratorsOrBuilder
public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
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:
getAcceleratorsOrBuilder
in interfaceNodeConfigOrBuilder
-
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 = 12;
- Specified by:
getDiskType
in 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:
getDiskTypeBytes
in interfaceNodeConfigOrBuilder
- Returns:
- The bytes for diskType.
-
getMinCpuPlatform
public String 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:
getMinCpuPlatform
in 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:
getMinCpuPlatformBytes
in 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:
hasWorkloadMetadataConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the workloadMetadataConfig field is set.
-
getWorkloadMetadataConfig
public WorkloadMetadataConfig getWorkloadMetadataConfig()
The workload metadata configuration for this node.
.google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;
- Specified by:
getWorkloadMetadataConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The workloadMetadataConfig.
-
getWorkloadMetadataConfigOrBuilder
public WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()
The workload metadata configuration for this node.
.google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14;
- Specified by:
getWorkloadMetadataConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
getTaintsList
public List<NodeTaint> 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:
getTaintsList
in interfaceNodeConfigOrBuilder
-
getTaintsOrBuilderList
public List<? extends NodeTaintOrBuilder> 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:
getTaintsOrBuilderList
in 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:
getTaintsCount
in interfaceNodeConfigOrBuilder
-
getTaints
public NodeTaint getTaints(int index)
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:
getTaints
in interfaceNodeConfigOrBuilder
-
getTaintsOrBuilder
public NodeTaintOrBuilder getTaintsOrBuilder(int index)
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:
getTaintsOrBuilder
in interfaceNodeConfigOrBuilder
-
hasSandboxConfig
public boolean hasSandboxConfig()
Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;
- Specified by:
hasSandboxConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the sandboxConfig field is set.
-
getSandboxConfig
public SandboxConfig getSandboxConfig()
Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;
- Specified by:
getSandboxConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The sandboxConfig.
-
getSandboxConfigOrBuilder
public SandboxConfigOrBuilder getSandboxConfigOrBuilder()
Sandbox configuration for this node.
.google.container.v1.SandboxConfig sandbox_config = 17;
- Specified by:
getSandboxConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
getNodeGroup
public String 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:
getNodeGroup
in 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:
getNodeGroupBytes
in 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:
hasReservationAffinity
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
public ReservationAffinity 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:
getReservationAffinity
in interfaceNodeConfigOrBuilder
- Returns:
- The reservationAffinity.
-
getReservationAffinityOrBuilder
public ReservationAffinityOrBuilder 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:
getReservationAffinityOrBuilder
in interfaceNodeConfigOrBuilder
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;
- Specified by:
hasShieldedInstanceConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;
- Specified by:
getShieldedInstanceConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20;
- Specified by:
getShieldedInstanceConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasLinuxNodeConfig
public boolean hasLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;
- Specified by:
hasLinuxNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the linuxNodeConfig field is set.
-
getLinuxNodeConfig
public LinuxNodeConfig getLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;
- Specified by:
getLinuxNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The linuxNodeConfig.
-
getLinuxNodeConfigOrBuilder
public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1.LinuxNodeConfig linux_node_config = 21;
- Specified by:
getLinuxNodeConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasKubeletConfig
public boolean hasKubeletConfig()
Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;
- Specified by:
hasKubeletConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the kubeletConfig field is set.
-
getKubeletConfig
public NodeKubeletConfig getKubeletConfig()
Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;
- Specified by:
getKubeletConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The kubeletConfig.
-
getKubeletConfigOrBuilder
public NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
Node kubelet configs.
.google.container.v1.NodeKubeletConfig kubelet_config = 22;
- Specified by:
getKubeletConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
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 = 23;
- Specified by:
getBootDiskKmsKey
in 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:
getBootDiskKmsKeyBytes
in 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:
hasGcfsConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the gcfsConfig field is set.
-
getGcfsConfig
public GcfsConfig getGcfsConfig()
Google Container File System (image streaming) configs.
.google.container.v1.GcfsConfig gcfs_config = 25;
- Specified by:
getGcfsConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The gcfsConfig.
-
getGcfsConfigOrBuilder
public GcfsConfigOrBuilder getGcfsConfigOrBuilder()
Google Container File System (image streaming) configs.
.google.container.v1.GcfsConfig gcfs_config = 25;
- Specified by:
getGcfsConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasAdvancedMachineFeatures
public boolean hasAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;
- Specified by:
hasAdvancedMachineFeatures
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the advancedMachineFeatures field is set.
-
getAdvancedMachineFeatures
public AdvancedMachineFeatures getAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;
- Specified by:
getAdvancedMachineFeatures
in interfaceNodeConfigOrBuilder
- Returns:
- The advancedMachineFeatures.
-
getAdvancedMachineFeaturesOrBuilder
public AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()
Advanced features for the Compute Engine VM.
.google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26;
- Specified by:
getAdvancedMachineFeaturesOrBuilder
in interfaceNodeConfigOrBuilder
-
hasGvnic
public boolean hasGvnic()
Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;
- Specified by:
hasGvnic
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the gvnic field is set.
-
getGvnic
public VirtualNIC getGvnic()
Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;
- Specified by:
getGvnic
in interfaceNodeConfigOrBuilder
- Returns:
- The gvnic.
-
getGvnicOrBuilder
public VirtualNICOrBuilder getGvnicOrBuilder()
Enable or disable gvnic in the node pool.
.google.container.v1.VirtualNIC gvnic = 29;
- Specified by:
getGvnicOrBuilder
in 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:
getSpot
in 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:
hasConfidentialNodes
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the confidentialNodes field is set.
-
getConfidentialNodes
public ConfidentialNodes 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:
getConfidentialNodes
in interfaceNodeConfigOrBuilder
- Returns:
- The confidentialNodes.
-
getConfidentialNodesOrBuilder
public ConfidentialNodesOrBuilder 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:
getConfidentialNodesOrBuilder
in 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:
hasFastSocket
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the fastSocket field is set.
-
getFastSocket
public FastSocket getFastSocket()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1.FastSocket fast_socket = 36;
- Specified by:
getFastSocket
in interfaceNodeConfigOrBuilder
- Returns:
- The fastSocket.
-
getFastSocketOrBuilder
public FastSocketOrBuilder getFastSocketOrBuilder()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1.FastSocket fast_socket = 36;
- Specified by:
getFastSocketOrBuilder
in interfaceNodeConfigOrBuilder
-
getResourceLabelsCount
public int getResourceLabelsCount()
Description copied from interface:NodeConfigOrBuilder
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:
getResourceLabelsCount
in interfaceNodeConfigOrBuilder
-
containsResourceLabels
public boolean containsResourceLabels(String key)
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:
containsResourceLabels
in interfaceNodeConfigOrBuilder
-
getResourceLabels
@Deprecated public Map<String,String> getResourceLabels()
Deprecated.UsegetResourceLabelsMap()
instead.- Specified by:
getResourceLabels
in interfaceNodeConfigOrBuilder
-
getResourceLabelsMap
public Map<String,String> 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:
getResourceLabelsMap
in interfaceNodeConfigOrBuilder
-
getResourceLabelsOrDefault
public String getResourceLabelsOrDefault(String key, String defaultValue)
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:
getResourceLabelsOrDefault
in interfaceNodeConfigOrBuilder
-
getResourceLabelsOrThrow
public String getResourceLabelsOrThrow(String key)
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:
getResourceLabelsOrThrow
in interfaceNodeConfigOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()
Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
hasLoggingConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public NodePoolLoggingConfig getLoggingConfig()
Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
getLoggingConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
public NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()
Logging configuration.
.google.container.v1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
getLoggingConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasWindowsNodeConfig
public boolean hasWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;
- Specified by:
hasWindowsNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the windowsNodeConfig field is set.
-
getWindowsNodeConfig
public WindowsNodeConfig getWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;
- Specified by:
getWindowsNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The windowsNodeConfig.
-
getWindowsNodeConfigOrBuilder
public WindowsNodeConfigOrBuilder getWindowsNodeConfigOrBuilder()
Parameters that can be configured on Windows nodes.
.google.container.v1.WindowsNodeConfig windows_node_config = 39;
- Specified by:
getWindowsNodeConfigOrBuilder
in 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:
hasLocalNvmeSsdBlockConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the localNvmeSsdBlockConfig field is set.
-
getLocalNvmeSsdBlockConfig
public LocalNvmeSsdBlockConfig getLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
- Specified by:
getLocalNvmeSsdBlockConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The localNvmeSsdBlockConfig.
-
getLocalNvmeSsdBlockConfigOrBuilder
public LocalNvmeSsdBlockConfigOrBuilder getLocalNvmeSsdBlockConfigOrBuilder()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
- Specified by:
getLocalNvmeSsdBlockConfigOrBuilder
in 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:
hasEphemeralStorageLocalSsdConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the ephemeralStorageLocalSsdConfig field is set.
-
getEphemeralStorageLocalSsdConfig
public EphemeralStorageLocalSsdConfig 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:
getEphemeralStorageLocalSsdConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The ephemeralStorageLocalSsdConfig.
-
getEphemeralStorageLocalSsdConfigOrBuilder
public EphemeralStorageLocalSsdConfigOrBuilder 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:
getEphemeralStorageLocalSsdConfigOrBuilder
in 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:
hasSoleTenantConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the soleTenantConfig field is set.
-
getSoleTenantConfig
public SoleTenantConfig getSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1.SoleTenantConfig sole_tenant_config = 42;
- Specified by:
getSoleTenantConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The soleTenantConfig.
-
getSoleTenantConfigOrBuilder
public SoleTenantConfigOrBuilder getSoleTenantConfigOrBuilder()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1.SoleTenantConfig sole_tenant_config = 42;
- Specified by:
getSoleTenantConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static NodeConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NodeConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodeConfig.Builder newBuilder()
-
newBuilder
public static NodeConfig.Builder newBuilder(NodeConfig prototype)
-
toBuilder
public NodeConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NodeConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NodeConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<NodeConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-