Package com.google.container.v1beta1
Interface NodeConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodeConfig
,NodeConfig.Builder
public interface NodeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract 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.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.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.EphemeralStorageConfig
getEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem.EphemeralStorageConfigOrBuilder
getEphemeralStorageConfigOrBuilder()
Parameters for the ephemeral storage filesystem.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()
GCFS (Google Container File System) configs.GcfsConfigOrBuilder
getGcfsConfigOrBuilder()
GCFS (Google Container File System) configs.VirtualNIC
getGvnic()
Enable or disable gvnic on the node pool.VirtualNICOrBuilder
getGvnicOrBuilder()
Enable or disable gvnic on the node pool.HostMaintenancePolicy
getHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.HostMaintenancePolicyOrBuilder
getHostMaintenancePolicyOrBuilder()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.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).com.google.protobuf.ByteString
getMachineTypeBytes()
The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).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.List<String>
getOauthScopesList()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.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.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.List<String>
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
hasEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem.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()
GCFS (Google Container File System) configs.boolean
hasGvnic()
Enable or disable gvnic on the node pool.boolean
hasHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMachineType
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;
- Returns:
- The machineType.
-
getMachineTypeBytes
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;
- Returns:
- The bytes for machineType.
-
getDiskSizeGb
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;
- Returns:
- The diskSizeGb.
-
getOauthScopesList
List<String> 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;
- Returns:
- A list containing the oauthScopes.
-
getOauthScopesCount
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;
- Returns:
- The count of oauthScopes.
-
getOauthScopes
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The oauthScopes at the given index.
-
getOauthScopesBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
getServiceAccount
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;
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
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;
- Returns:
- The bytes for serviceAccount.
-
getMetadataCount
int getMetadataCount()
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-oslogin" - "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;
-
containsMetadata
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-oslogin" - "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;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.
-
getMetadataMap
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-oslogin" - "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;
-
getMetadataOrDefault
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-oslogin" - "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;
-
getMetadataOrThrow
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-oslogin" - "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;
-
getImageType
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;
- Returns:
- The imageType.
-
getImageTypeBytes
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;
- Returns:
- The bytes for imageType.
-
getLabelsCount
int getLabelsCount()
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;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
getLocalSsdCount
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;
- Returns:
- The localSsdCount.
-
getTagsList
List<String> 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;
- Returns:
- A list containing the tags.
-
getTagsCount
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;
- Returns:
- The count of tags.
-
getTags
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getPreemptible
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;
- Returns:
- The preemptible.
-
getAcceleratorsList
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.v1beta1.AcceleratorConfig accelerators = 11;
-
getAccelerators
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.v1beta1.AcceleratorConfig accelerators = 11;
-
getAcceleratorsCount
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.v1beta1.AcceleratorConfig accelerators = 11;
-
getAcceleratorsOrBuilderList
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.v1beta1.AcceleratorConfig accelerators = 11;
-
getAcceleratorsOrBuilder
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.v1beta1.AcceleratorConfig accelerators = 11;
-
hasSandboxConfig
boolean hasSandboxConfig()
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
- Returns:
- Whether the sandboxConfig field is set.
-
getSandboxConfig
SandboxConfig getSandboxConfig()
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
- Returns:
- The sandboxConfig.
-
getSandboxConfigOrBuilder
SandboxConfigOrBuilder getSandboxConfigOrBuilder()
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
getNodeGroup
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;
- Returns:
- The nodeGroup.
-
getNodeGroupBytes
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;
- Returns:
- The bytes for nodeGroup.
-
hasReservationAffinity
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.v1beta1.ReservationAffinity reservation_affinity = 19;
- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
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.v1beta1.ReservationAffinity reservation_affinity = 19;
- Returns:
- The reservationAffinity.
-
getReservationAffinityOrBuilder
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.v1beta1.ReservationAffinity reservation_affinity = 19;
-
getDiskType
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;
- Returns:
- The diskType.
-
getDiskTypeBytes
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;
- Returns:
- The bytes for diskType.
-
getMinCpuPlatform
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;
- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
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;
- Returns:
- The bytes for minCpuPlatform.
-
hasWorkloadMetadataConfig
boolean hasWorkloadMetadataConfig()
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
- Returns:
- Whether the workloadMetadataConfig field is set.
-
getWorkloadMetadataConfig
WorkloadMetadataConfig getWorkloadMetadataConfig()
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
- Returns:
- The workloadMetadataConfig.
-
getWorkloadMetadataConfigOrBuilder
WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
getTaintsList
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.v1beta1.NodeTaint taints = 15;
-
getTaints
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.v1beta1.NodeTaint taints = 15;
-
getTaintsCount
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.v1beta1.NodeTaint taints = 15;
-
getTaintsOrBuilderList
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.v1beta1.NodeTaint taints = 15;
-
getTaintsOrBuilder
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.v1beta1.NodeTaint taints = 15;
-
getBootDiskKmsKey
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;
- Returns:
- The bootDiskKmsKey.
-
getBootDiskKmsKeyBytes
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;
- Returns:
- The bytes for bootDiskKmsKey.
-
hasShieldedInstanceConfig
boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
ShieldedInstanceConfig getShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
hasLinuxNodeConfig
boolean hasLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
- Returns:
- Whether the linuxNodeConfig field is set.
-
getLinuxNodeConfig
LinuxNodeConfig getLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
- Returns:
- The linuxNodeConfig.
-
getLinuxNodeConfigOrBuilder
LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
hasKubeletConfig
boolean hasKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
- Returns:
- Whether the kubeletConfig field is set.
-
getKubeletConfig
NodeKubeletConfig getKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
- Returns:
- The kubeletConfig.
-
getKubeletConfigOrBuilder
NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
hasEphemeralStorageConfig
boolean hasEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
- Returns:
- Whether the ephemeralStorageConfig field is set.
-
getEphemeralStorageConfig
EphemeralStorageConfig getEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
- Returns:
- The ephemeralStorageConfig.
-
getEphemeralStorageConfigOrBuilder
EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder()
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
hasGcfsConfig
boolean hasGcfsConfig()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
- Returns:
- Whether the gcfsConfig field is set.
-
getGcfsConfig
GcfsConfig getGcfsConfig()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
- Returns:
- The gcfsConfig.
-
getGcfsConfigOrBuilder
GcfsConfigOrBuilder getGcfsConfigOrBuilder()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
hasAdvancedMachineFeatures
boolean hasAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
- Returns:
- Whether the advancedMachineFeatures field is set.
-
getAdvancedMachineFeatures
AdvancedMachineFeatures getAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
- Returns:
- The advancedMachineFeatures.
-
getAdvancedMachineFeaturesOrBuilder
AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
hasGvnic
boolean hasGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
- Returns:
- Whether the gvnic field is set.
-
getGvnic
VirtualNIC getGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
- Returns:
- The gvnic.
-
getGvnicOrBuilder
VirtualNICOrBuilder getGvnicOrBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
getSpot
boolean getSpot()
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
bool spot = 32;
- Returns:
- The spot.
-
hasConfidentialNodes
boolean hasConfidentialNodes()
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
- Returns:
- Whether the confidentialNodes field is set.
-
getConfidentialNodes
ConfidentialNodes getConfidentialNodes()
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
- Returns:
- The confidentialNodes.
-
getConfidentialNodesOrBuilder
ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder()
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
hasFastSocket
boolean hasFastSocket()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
- Returns:
- Whether the fastSocket field is set.
-
getFastSocket
FastSocket getFastSocket()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
- Returns:
- The fastSocket.
-
getFastSocketOrBuilder
FastSocketOrBuilder getFastSocketOrBuilder()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
getResourceLabelsCount
int getResourceLabelsCount()
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;
-
containsResourceLabels
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;
-
getResourceLabels
@Deprecated Map<String,String> getResourceLabels()
Deprecated.UsegetResourceLabelsMap()
instead.
-
getResourceLabelsMap
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;
-
getResourceLabelsOrDefault
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;
-
getResourceLabelsOrThrow
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;
-
hasLoggingConfig
boolean hasLoggingConfig()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
NodePoolLoggingConfig getLoggingConfig()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
hasWindowsNodeConfig
boolean hasWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
- Returns:
- Whether the windowsNodeConfig field is set.
-
getWindowsNodeConfig
WindowsNodeConfig getWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
- Returns:
- The windowsNodeConfig.
-
getWindowsNodeConfigOrBuilder
WindowsNodeConfigOrBuilder getWindowsNodeConfigOrBuilder()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
hasLocalNvmeSsdBlockConfig
boolean hasLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
- Returns:
- Whether the localNvmeSsdBlockConfig field is set.
-
getLocalNvmeSsdBlockConfig
LocalNvmeSsdBlockConfig getLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
- Returns:
- The localNvmeSsdBlockConfig.
-
getLocalNvmeSsdBlockConfigOrBuilder
LocalNvmeSsdBlockConfigOrBuilder getLocalNvmeSsdBlockConfigOrBuilder()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
hasEphemeralStorageLocalSsdConfig
boolean hasEphemeralStorageLocalSsdConfig()
Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config
.google.container.v1beta1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
- Returns:
- Whether the ephemeralStorageLocalSsdConfig field is set.
-
getEphemeralStorageLocalSsdConfig
EphemeralStorageLocalSsdConfig getEphemeralStorageLocalSsdConfig()
Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config
.google.container.v1beta1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
- Returns:
- The ephemeralStorageLocalSsdConfig.
-
getEphemeralStorageLocalSsdConfigOrBuilder
EphemeralStorageLocalSsdConfigOrBuilder getEphemeralStorageLocalSsdConfigOrBuilder()
Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config
.google.container.v1beta1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
-
hasSoleTenantConfig
boolean hasSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
- Returns:
- Whether the soleTenantConfig field is set.
-
getSoleTenantConfig
SoleTenantConfig getSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
- Returns:
- The soleTenantConfig.
-
getSoleTenantConfigOrBuilder
SoleTenantConfigOrBuilder getSoleTenantConfigOrBuilder()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
hasHostMaintenancePolicy
boolean hasHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
- Returns:
- Whether the hostMaintenancePolicy field is set.
-
getHostMaintenancePolicy
HostMaintenancePolicy getHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
- Returns:
- The hostMaintenancePolicy.
-
getHostMaintenancePolicyOrBuilder
HostMaintenancePolicyOrBuilder getHostMaintenancePolicyOrBuilder()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
-