Package com.google.container.v1beta1
Class NodeConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
- com.google.container.v1beta1.NodeConfig.Builder
-
- All Implemented Interfaces:
NodeConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NodeConfig
public static final class NodeConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder> implements NodeConfigOrBuilder
Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use [AutoprovisioningNodePoolDefaults][google.container.v1beta1.AutoprovisioningNodePoolDefaults] instead.
Protobuf typegoogle.container.v1beta1.NodeConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodeConfig.Builder
addAccelerators(int index, AcceleratorConfig value)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
addAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
addAccelerators(AcceleratorConfig value)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
addAccelerators(AcceleratorConfig.Builder builderForValue)
A list of hardware accelerators to be attached to each node.AcceleratorConfig.Builder
addAcceleratorsBuilder()
A list of hardware accelerators to be attached to each node.AcceleratorConfig.Builder
addAcceleratorsBuilder(int index)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
addAllAccelerators(Iterable<? extends AcceleratorConfig> values)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
addAllOauthScopes(Iterable<String> values)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.NodeConfig.Builder
addAllTags(Iterable<String> values)
The list of instance tags applied to all nodes.NodeConfig.Builder
addAllTaints(Iterable<? extends NodeTaint> values)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
addOauthScopes(String value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.NodeConfig.Builder
addOauthScopesBytes(com.google.protobuf.ByteString value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.NodeConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeConfig.Builder
addTags(String value)
The list of instance tags applied to all nodes.NodeConfig.Builder
addTagsBytes(com.google.protobuf.ByteString value)
The list of instance tags applied to all nodes.NodeConfig.Builder
addTaints(int index, NodeTaint value)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
addTaints(int index, NodeTaint.Builder builderForValue)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
addTaints(NodeTaint value)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
addTaints(NodeTaint.Builder builderForValue)
List of kubernetes taints to be applied to each node.NodeTaint.Builder
addTaintsBuilder()
List of kubernetes taints to be applied to each node.NodeTaint.Builder
addTaintsBuilder(int index)
List of kubernetes taints to be applied to each node.NodeConfig
build()
NodeConfig
buildPartial()
NodeConfig.Builder
clear()
NodeConfig.Builder
clearAccelerators()
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
clearAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.NodeConfig.Builder
clearBootDiskKmsKey()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.NodeConfig.Builder
clearConfidentialNodes()
Confidential nodes config.NodeConfig.Builder
clearDiskSizeGb()
Size of the disk attached to each node, specified in GB.NodeConfig.Builder
clearDiskType()
Type of the disk attached to each node (e.g.NodeConfig.Builder
clearEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem.NodeConfig.Builder
clearEphemeralStorageLocalSsdConfig()
Parameters for the node ephemeral storage using Local SSDs.NodeConfig.Builder
clearFastSocket()
Enable or disable NCCL fast socket for the node pool.NodeConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NodeConfig.Builder
clearGcfsConfig()
GCFS (Google Container File System) configs.NodeConfig.Builder
clearGvnic()
Enable or disable gvnic on the node pool.NodeConfig.Builder
clearHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.NodeConfig.Builder
clearImageType()
The image type to use for this node.NodeConfig.Builder
clearKubeletConfig()
Node kubelet configs.NodeConfig.Builder
clearLabels()
NodeConfig.Builder
clearLinuxNodeConfig()
Parameters that can be configured on Linux nodes.NodeConfig.Builder
clearLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.NodeConfig.Builder
clearLocalSsdCount()
The number of local SSD disks to be attached to the node.NodeConfig.Builder
clearLoggingConfig()
Logging configuration.NodeConfig.Builder
clearMachineType()
The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).NodeConfig.Builder
clearMetadata()
NodeConfig.Builder
clearMinCpuPlatform()
Minimum CPU platform to be used by this instance.NodeConfig.Builder
clearNodeGroup()
Setting this field will assign instances of this pool to run on the specified node group.NodeConfig.Builder
clearOauthScopes()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.NodeConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NodeConfig.Builder
clearPreemptible()
Whether the nodes are created as preemptible VM instances.NodeConfig.Builder
clearReservationAffinity()
The optional reservation affinity.NodeConfig.Builder
clearResourceLabels()
NodeConfig.Builder
clearSandboxConfig()
Sandbox configuration for this node.NodeConfig.Builder
clearServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs.NodeConfig.Builder
clearShieldedInstanceConfig()
Shielded Instance options.NodeConfig.Builder
clearSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.NodeConfig.Builder
clearSpot()
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.NodeConfig.Builder
clearTags()
The list of instance tags applied to all nodes.NodeConfig.Builder
clearTaints()
List of kubernetes taints to be applied to each node.NodeConfig.Builder
clearWindowsNodeConfig()
Parameters that can be configured on Windows nodes.NodeConfig.Builder
clearWorkloadMetadataConfig()
The workload metadata configuration for this node.NodeConfig.Builder
clone()
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.AcceleratorConfig.Builder
getAcceleratorsBuilder(int index)
A list of hardware accelerators to be attached to each node.List<AcceleratorConfig.Builder>
getAcceleratorsBuilderList()
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.AdvancedMachineFeatures.Builder
getAdvancedMachineFeaturesBuilder()
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.ConfidentialNodes.Builder
getConfidentialNodesBuilder()
Confidential nodes config.ConfidentialNodesOrBuilder
getConfidentialNodesOrBuilder()
Confidential nodes config.NodeConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.EphemeralStorageConfig.Builder
getEphemeralStorageConfigBuilder()
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.EphemeralStorageLocalSsdConfig.Builder
getEphemeralStorageLocalSsdConfigBuilder()
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.FastSocket.Builder
getFastSocketBuilder()
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.GcfsConfig.Builder
getGcfsConfigBuilder()
GCFS (Google Container File System) configs.GcfsConfigOrBuilder
getGcfsConfigOrBuilder()
GCFS (Google Container File System) configs.VirtualNIC
getGvnic()
Enable or disable gvnic on the node pool.VirtualNIC.Builder
getGvnicBuilder()
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.HostMaintenancePolicy.Builder
getHostMaintenancePolicyBuilder()
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.NodeKubeletConfig.Builder
getKubeletConfigBuilder()
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.LinuxNodeConfig.Builder
getLinuxNodeConfigBuilder()
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.LocalNvmeSsdBlockConfig.Builder
getLocalNvmeSsdBlockConfigBuilder()
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.NodePoolLoggingConfig.Builder
getLoggingConfigBuilder()
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.Map<String,String>
getMutableLabels()
Deprecated.Map<String,String>
getMutableMetadata()
Deprecated.Map<String,String>
getMutableResourceLabels()
Deprecated.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.boolean
getPreemptible()
Whether the nodes are created as preemptible VM instances.ReservationAffinity
getReservationAffinity()
The optional reservation affinity.ReservationAffinity.Builder
getReservationAffinityBuilder()
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.SandboxConfig.Builder
getSandboxConfigBuilder()
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.ShieldedInstanceConfig.Builder
getShieldedInstanceConfigBuilder()
Shielded Instance options.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Shielded Instance options.SoleTenantConfig
getSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.SoleTenantConfig.Builder
getSoleTenantConfigBuilder()
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.NodeTaint.Builder
getTaintsBuilder(int index)
List of kubernetes taints to be applied to each node.List<NodeTaint.Builder>
getTaintsBuilderList()
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.WindowsNodeConfig.Builder
getWindowsNodeConfigBuilder()
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.WorkloadMetadataConfig.Builder
getWorkloadMetadataConfigBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
NodeConfig.Builder
mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
Advanced features for the Compute Engine VM.NodeConfig.Builder
mergeConfidentialNodes(ConfidentialNodes value)
Confidential nodes config.NodeConfig.Builder
mergeEphemeralStorageConfig(EphemeralStorageConfig value)
Parameters for the ephemeral storage filesystem.NodeConfig.Builder
mergeEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig value)
Parameters for the node ephemeral storage using Local SSDs.NodeConfig.Builder
mergeFastSocket(FastSocket value)
Enable or disable NCCL fast socket for the node pool.NodeConfig.Builder
mergeFrom(NodeConfig other)
NodeConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodeConfig.Builder
mergeFrom(com.google.protobuf.Message other)
NodeConfig.Builder
mergeGcfsConfig(GcfsConfig value)
GCFS (Google Container File System) configs.NodeConfig.Builder
mergeGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.NodeConfig.Builder
mergeHostMaintenancePolicy(HostMaintenancePolicy value)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.NodeConfig.Builder
mergeKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.NodeConfig.Builder
mergeLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.NodeConfig.Builder
mergeLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig value)
Parameters for using raw-block Local NVMe SSDs.NodeConfig.Builder
mergeLoggingConfig(NodePoolLoggingConfig value)
Logging configuration.NodeConfig.Builder
mergeReservationAffinity(ReservationAffinity value)
The optional reservation affinity.NodeConfig.Builder
mergeSandboxConfig(SandboxConfig value)
Sandbox configuration for this node.NodeConfig.Builder
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.NodeConfig.Builder
mergeSoleTenantConfig(SoleTenantConfig value)
Parameters for node pools to be backed by shared sole tenant node groups.NodeConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodeConfig.Builder
mergeWindowsNodeConfig(WindowsNodeConfig value)
Parameters that can be configured on Windows nodes.NodeConfig.Builder
mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)
The workload metadata configuration for this node.NodeConfig.Builder
putAllLabels(Map<String,String> values)
The map of Kubernetes labels (key/value pairs) to be applied to each node.NodeConfig.Builder
putAllMetadata(Map<String,String> values)
The metadata key/value pairs assigned to instances in the cluster.NodeConfig.Builder
putAllResourceLabels(Map<String,String> values)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.NodeConfig.Builder
putLabels(String key, String value)
The map of Kubernetes labels (key/value pairs) to be applied to each node.NodeConfig.Builder
putMetadata(String key, String value)
The metadata key/value pairs assigned to instances in the cluster.NodeConfig.Builder
putResourceLabels(String key, String value)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.NodeConfig.Builder
removeAccelerators(int index)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
removeLabels(String key)
The map of Kubernetes labels (key/value pairs) to be applied to each node.NodeConfig.Builder
removeMetadata(String key)
The metadata key/value pairs assigned to instances in the cluster.NodeConfig.Builder
removeResourceLabels(String key)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.NodeConfig.Builder
removeTaints(int index)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
setAccelerators(int index, AcceleratorConfig value)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
setAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of hardware accelerators to be attached to each node.NodeConfig.Builder
setAdvancedMachineFeatures(AdvancedMachineFeatures value)
Advanced features for the Compute Engine VM.NodeConfig.Builder
setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
Advanced features for the Compute Engine VM.NodeConfig.Builder
setBootDiskKmsKey(String value)
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.NodeConfig.Builder
setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value)
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.NodeConfig.Builder
setConfidentialNodes(ConfidentialNodes value)
Confidential nodes config.NodeConfig.Builder
setConfidentialNodes(ConfidentialNodes.Builder builderForValue)
Confidential nodes config.NodeConfig.Builder
setDiskSizeGb(int value)
Size of the disk attached to each node, specified in GB.NodeConfig.Builder
setDiskType(String value)
Type of the disk attached to each node (e.g.NodeConfig.Builder
setDiskTypeBytes(com.google.protobuf.ByteString value)
Type of the disk attached to each node (e.g.NodeConfig.Builder
setEphemeralStorageConfig(EphemeralStorageConfig value)
Parameters for the ephemeral storage filesystem.NodeConfig.Builder
setEphemeralStorageConfig(EphemeralStorageConfig.Builder builderForValue)
Parameters for the ephemeral storage filesystem.NodeConfig.Builder
setEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig value)
Parameters for the node ephemeral storage using Local SSDs.NodeConfig.Builder
setEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig.Builder builderForValue)
Parameters for the node ephemeral storage using Local SSDs.NodeConfig.Builder
setFastSocket(FastSocket value)
Enable or disable NCCL fast socket for the node pool.NodeConfig.Builder
setFastSocket(FastSocket.Builder builderForValue)
Enable or disable NCCL fast socket for the node pool.NodeConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeConfig.Builder
setGcfsConfig(GcfsConfig value)
GCFS (Google Container File System) configs.NodeConfig.Builder
setGcfsConfig(GcfsConfig.Builder builderForValue)
GCFS (Google Container File System) configs.NodeConfig.Builder
setGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.NodeConfig.Builder
setGvnic(VirtualNIC.Builder builderForValue)
Enable or disable gvnic on the node pool.NodeConfig.Builder
setHostMaintenancePolicy(HostMaintenancePolicy value)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.NodeConfig.Builder
setHostMaintenancePolicy(HostMaintenancePolicy.Builder builderForValue)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.NodeConfig.Builder
setImageType(String value)
The image type to use for this node.NodeConfig.Builder
setImageTypeBytes(com.google.protobuf.ByteString value)
The image type to use for this node.NodeConfig.Builder
setKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.NodeConfig.Builder
setKubeletConfig(NodeKubeletConfig.Builder builderForValue)
Node kubelet configs.NodeConfig.Builder
setLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.NodeConfig.Builder
setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)
Parameters that can be configured on Linux nodes.NodeConfig.Builder
setLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig value)
Parameters for using raw-block Local NVMe SSDs.NodeConfig.Builder
setLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig.Builder builderForValue)
Parameters for using raw-block Local NVMe SSDs.NodeConfig.Builder
setLocalSsdCount(int value)
The number of local SSD disks to be attached to the node.NodeConfig.Builder
setLoggingConfig(NodePoolLoggingConfig value)
Logging configuration.NodeConfig.Builder
setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)
Logging configuration.NodeConfig.Builder
setMachineType(String value)
The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).NodeConfig.Builder
setMachineTypeBytes(com.google.protobuf.ByteString value)
The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).NodeConfig.Builder
setMinCpuPlatform(String value)
Minimum CPU platform to be used by this instance.NodeConfig.Builder
setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Minimum CPU platform to be used by this instance.NodeConfig.Builder
setNodeGroup(String value)
Setting this field will assign instances of this pool to run on the specified node group.NodeConfig.Builder
setNodeGroupBytes(com.google.protobuf.ByteString value)
Setting this field will assign instances of this pool to run on the specified node group.NodeConfig.Builder
setOauthScopes(int index, String value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.NodeConfig.Builder
setPreemptible(boolean value)
Whether the nodes are created as preemptible VM instances.NodeConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NodeConfig.Builder
setReservationAffinity(ReservationAffinity value)
The optional reservation affinity.NodeConfig.Builder
setReservationAffinity(ReservationAffinity.Builder builderForValue)
The optional reservation affinity.NodeConfig.Builder
setSandboxConfig(SandboxConfig value)
Sandbox configuration for this node.NodeConfig.Builder
setSandboxConfig(SandboxConfig.Builder builderForValue)
Sandbox configuration for this node.NodeConfig.Builder
setServiceAccount(String value)
The Google Cloud Platform Service Account to be used by the node VMs.NodeConfig.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
The Google Cloud Platform Service Account to be used by the node VMs.NodeConfig.Builder
setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.NodeConfig.Builder
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.NodeConfig.Builder
setSoleTenantConfig(SoleTenantConfig value)
Parameters for node pools to be backed by shared sole tenant node groups.NodeConfig.Builder
setSoleTenantConfig(SoleTenantConfig.Builder builderForValue)
Parameters for node pools to be backed by shared sole tenant node groups.NodeConfig.Builder
setSpot(boolean value)
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.NodeConfig.Builder
setTags(int index, String value)
The list of instance tags applied to all nodes.NodeConfig.Builder
setTaints(int index, NodeTaint value)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
setTaints(int index, NodeTaint.Builder builderForValue)
List of kubernetes taints to be applied to each node.NodeConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodeConfig.Builder
setWindowsNodeConfig(WindowsNodeConfig value)
Parameters that can be configured on Windows nodes.NodeConfig.Builder
setWindowsNodeConfig(WindowsNodeConfig.Builder builderForValue)
Parameters that can be configured on Windows nodes.NodeConfig.Builder
setWorkloadMetadataConfig(WorkloadMetadataConfig value)
The workload metadata configuration for this node.NodeConfig.Builder
setWorkloadMetadataConfig(WorkloadMetadataConfig.Builder builderForValue)
The workload metadata configuration for this node.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
clear
public NodeConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
getDefaultInstanceForType
public NodeConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
setField
public NodeConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
clearField
public NodeConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
clearOneof
public NodeConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
setRepeatedField
public NodeConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
addRepeatedField
public NodeConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
mergeFrom
public NodeConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeConfig.Builder>
-
mergeFrom
public NodeConfig.Builder mergeFrom(NodeConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
mergeFrom
public NodeConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeConfig.Builder>
- Throws:
IOException
-
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.
-
setMachineType
public NodeConfig.Builder setMachineType(String value)
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;
- Parameters:
value
- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
public NodeConfig.Builder clearMachineType()
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:
- This builder for chaining.
-
setMachineTypeBytes
public NodeConfig.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
getDiskSizeGb
public int getDiskSizeGb()
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
int32 disk_size_gb = 2;
- Specified by:
getDiskSizeGb
in interfaceNodeConfigOrBuilder
- Returns:
- The diskSizeGb.
-
setDiskSizeGb
public NodeConfig.Builder setDiskSizeGb(int value)
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
int32 disk_size_gb = 2;
- Parameters:
value
- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
public NodeConfig.Builder clearDiskSizeGb()
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
int32 disk_size_gb = 2;
- Returns:
- This builder for chaining.
-
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.
-
setOauthScopes
public NodeConfig.Builder setOauthScopes(int index, String value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
- Parameters:
index
- The index to set the value at.value
- The oauthScopes to set.- Returns:
- This builder for chaining.
-
addOauthScopes
public NodeConfig.Builder addOauthScopes(String value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
- Parameters:
value
- The oauthScopes to add.- Returns:
- This builder for chaining.
-
addAllOauthScopes
public NodeConfig.Builder addAllOauthScopes(Iterable<String> values)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
- Parameters:
values
- The oauthScopes to add.- Returns:
- This builder for chaining.
-
clearOauthScopes
public NodeConfig.Builder clearOauthScopes()
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
- Returns:
- This builder for chaining.
-
addOauthScopesBytes
public NodeConfig.Builder addOauthScopesBytes(com.google.protobuf.ByteString value)
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
repeated string oauth_scopes = 3;
- Parameters:
value
- The bytes of the oauthScopes to add.- Returns:
- This builder for chaining.
-
getServiceAccount
public String getServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
string service_account = 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.
-
setServiceAccount
public NodeConfig.Builder setServiceAccount(String value)
The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
string service_account = 9;
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public NodeConfig.Builder clearServiceAccount()
The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
string service_account = 9;
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public NodeConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
string service_account = 9;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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-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;
- 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-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;
- 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-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;
- 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-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;
- 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-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;
- Specified by:
getMetadataOrThrow
in interfaceNodeConfigOrBuilder
-
clearMetadata
public NodeConfig.Builder clearMetadata()
-
removeMetadata
public NodeConfig.Builder removeMetadata(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;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public NodeConfig.Builder putMetadata(String key, String value)
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;
-
putAllMetadata
public NodeConfig.Builder putAllMetadata(Map<String,String> values)
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
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.
-
setImageType
public NodeConfig.Builder setImageType(String value)
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;
- Parameters:
value
- The imageType to set.- Returns:
- This builder for chaining.
-
clearImageType
public NodeConfig.Builder clearImageType()
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:
- This builder for chaining.
-
setImageTypeBytes
public NodeConfig.Builder setImageTypeBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for imageType to set.- Returns:
- This builder for chaining.
-
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
-
clearLabels
public NodeConfig.Builder clearLabels()
-
removeLabels
public NodeConfig.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public NodeConfig.Builder putLabels(String key, String value)
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;
-
putAllLabels
public NodeConfig.Builder putAllLabels(Map<String,String> values)
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
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.
-
setLocalSsdCount
public NodeConfig.Builder setLocalSsdCount(int value)
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;
- Parameters:
value
- The localSsdCount to set.- Returns:
- This builder for chaining.
-
clearLocalSsdCount
public NodeConfig.Builder clearLocalSsdCount()
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:
- This builder for chaining.
-
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.
-
setTags
public NodeConfig.Builder setTags(int index, String value)
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 to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public NodeConfig.Builder addTags(String value)
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:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public NodeConfig.Builder addAllTags(Iterable<String> values)
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:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public NodeConfig.Builder clearTags()
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:
- This builder for chaining.
-
addTagsBytes
public NodeConfig.Builder addTagsBytes(com.google.protobuf.ByteString value)
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:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
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.
-
setPreemptible
public NodeConfig.Builder setPreemptible(boolean value)
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;
- Parameters:
value
- The preemptible to set.- Returns:
- This builder for chaining.
-
clearPreemptible
public NodeConfig.Builder clearPreemptible()
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:
- This builder for chaining.
-
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.v1beta1.AcceleratorConfig accelerators = 11;
- Specified by:
getAcceleratorsList
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.v1beta1.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.v1beta1.AcceleratorConfig accelerators = 11;
- Specified by:
getAccelerators
in interfaceNodeConfigOrBuilder
-
setAccelerators
public NodeConfig.Builder setAccelerators(int index, AcceleratorConfig value)
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;
-
setAccelerators
public NodeConfig.Builder setAccelerators(int index, AcceleratorConfig.Builder builderForValue)
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;
-
addAccelerators
public NodeConfig.Builder addAccelerators(AcceleratorConfig value)
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;
-
addAccelerators
public NodeConfig.Builder addAccelerators(int index, AcceleratorConfig value)
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;
-
addAccelerators
public NodeConfig.Builder addAccelerators(AcceleratorConfig.Builder builderForValue)
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;
-
addAccelerators
public NodeConfig.Builder addAccelerators(int index, AcceleratorConfig.Builder builderForValue)
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;
-
addAllAccelerators
public NodeConfig.Builder addAllAccelerators(Iterable<? extends AcceleratorConfig> values)
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;
-
clearAccelerators
public NodeConfig.Builder clearAccelerators()
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;
-
removeAccelerators
public NodeConfig.Builder removeAccelerators(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;
-
getAcceleratorsBuilder
public AcceleratorConfig.Builder getAcceleratorsBuilder(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;
-
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.v1beta1.AcceleratorConfig accelerators = 11;
- Specified by:
getAcceleratorsOrBuilder
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.v1beta1.AcceleratorConfig accelerators = 11;
- Specified by:
getAcceleratorsOrBuilderList
in interfaceNodeConfigOrBuilder
-
addAcceleratorsBuilder
public AcceleratorConfig.Builder addAcceleratorsBuilder()
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;
-
addAcceleratorsBuilder
public AcceleratorConfig.Builder addAcceleratorsBuilder(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;
-
getAcceleratorsBuilderList
public List<AcceleratorConfig.Builder> getAcceleratorsBuilderList()
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
public boolean hasSandboxConfig()
Sandbox configuration for this node.
.google.container.v1beta1.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.v1beta1.SandboxConfig sandbox_config = 17;
- Specified by:
getSandboxConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The sandboxConfig.
-
setSandboxConfig
public NodeConfig.Builder setSandboxConfig(SandboxConfig value)
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
setSandboxConfig
public NodeConfig.Builder setSandboxConfig(SandboxConfig.Builder builderForValue)
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
mergeSandboxConfig
public NodeConfig.Builder mergeSandboxConfig(SandboxConfig value)
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
clearSandboxConfig
public NodeConfig.Builder clearSandboxConfig()
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
getSandboxConfigBuilder
public SandboxConfig.Builder getSandboxConfigBuilder()
Sandbox configuration for this node.
.google.container.v1beta1.SandboxConfig sandbox_config = 17;
-
getSandboxConfigOrBuilder
public SandboxConfigOrBuilder getSandboxConfigOrBuilder()
Sandbox configuration for this node.
.google.container.v1beta1.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.
-
setNodeGroup
public NodeConfig.Builder setNodeGroup(String value)
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;
- Parameters:
value
- The nodeGroup to set.- Returns:
- This builder for chaining.
-
clearNodeGroup
public NodeConfig.Builder clearNodeGroup()
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:
- This builder for chaining.
-
setNodeGroupBytes
public NodeConfig.Builder setNodeGroupBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for nodeGroup to set.- Returns:
- This builder for chaining.
-
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.v1beta1.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.v1beta1.ReservationAffinity reservation_affinity = 19;
- Specified by:
getReservationAffinity
in interfaceNodeConfigOrBuilder
- Returns:
- The reservationAffinity.
-
setReservationAffinity
public NodeConfig.Builder setReservationAffinity(ReservationAffinity value)
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;
-
setReservationAffinity
public NodeConfig.Builder setReservationAffinity(ReservationAffinity.Builder builderForValue)
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;
-
mergeReservationAffinity
public NodeConfig.Builder mergeReservationAffinity(ReservationAffinity value)
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;
-
clearReservationAffinity
public NodeConfig.Builder clearReservationAffinity()
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;
-
getReservationAffinityBuilder
public ReservationAffinity.Builder getReservationAffinityBuilder()
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;
-
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.v1beta1.ReservationAffinity reservation_affinity = 19;
- Specified by:
getReservationAffinityOrBuilder
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.
-
setDiskType
public NodeConfig.Builder setDiskType(String value)
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
string disk_type = 12;
- Parameters:
value
- The diskType to set.- Returns:
- This builder for chaining.
-
clearDiskType
public NodeConfig.Builder clearDiskType()
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
string disk_type = 12;
- Returns:
- This builder for chaining.
-
setDiskTypeBytes
public NodeConfig.Builder setDiskTypeBytes(com.google.protobuf.ByteString value)
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
string disk_type = 12;
- Parameters:
value
- The bytes for diskType to set.- Returns:
- This builder for chaining.
-
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.
-
setMinCpuPlatform
public NodeConfig.Builder setMinCpuPlatform(String value)
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;
- Parameters:
value
- The minCpuPlatform to set.- Returns:
- This builder for chaining.
-
clearMinCpuPlatform
public NodeConfig.Builder clearMinCpuPlatform()
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:
- This builder for chaining.
-
setMinCpuPlatformBytes
public NodeConfig.Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for minCpuPlatform to set.- Returns:
- This builder for chaining.
-
hasWorkloadMetadataConfig
public boolean hasWorkloadMetadataConfig()
The workload metadata configuration for this node.
.google.container.v1beta1.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.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
- Specified by:
getWorkloadMetadataConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The workloadMetadataConfig.
-
setWorkloadMetadataConfig
public NodeConfig.Builder setWorkloadMetadataConfig(WorkloadMetadataConfig value)
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
setWorkloadMetadataConfig
public NodeConfig.Builder setWorkloadMetadataConfig(WorkloadMetadataConfig.Builder builderForValue)
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
mergeWorkloadMetadataConfig
public NodeConfig.Builder mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
clearWorkloadMetadataConfig
public NodeConfig.Builder clearWorkloadMetadataConfig()
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
getWorkloadMetadataConfigBuilder
public WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder()
The workload metadata configuration for this node.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
-
getWorkloadMetadataConfigOrBuilder
public WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()
The workload metadata configuration for this node.
.google.container.v1beta1.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.v1beta1.NodeTaint taints = 15;
- Specified by:
getTaintsList
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.v1beta1.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.v1beta1.NodeTaint taints = 15;
- Specified by:
getTaints
in interfaceNodeConfigOrBuilder
-
setTaints
public NodeConfig.Builder setTaints(int index, NodeTaint value)
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;
-
setTaints
public NodeConfig.Builder setTaints(int index, NodeTaint.Builder builderForValue)
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;
-
addTaints
public NodeConfig.Builder addTaints(NodeTaint value)
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;
-
addTaints
public NodeConfig.Builder addTaints(int index, NodeTaint value)
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;
-
addTaints
public NodeConfig.Builder addTaints(NodeTaint.Builder builderForValue)
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;
-
addTaints
public NodeConfig.Builder addTaints(int index, NodeTaint.Builder builderForValue)
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;
-
addAllTaints
public NodeConfig.Builder addAllTaints(Iterable<? extends NodeTaint> values)
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;
-
clearTaints
public NodeConfig.Builder clearTaints()
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;
-
removeTaints
public NodeConfig.Builder removeTaints(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;
-
getTaintsBuilder
public NodeTaint.Builder getTaintsBuilder(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;
-
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.v1beta1.NodeTaint taints = 15;
- Specified by:
getTaintsOrBuilder
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.v1beta1.NodeTaint taints = 15;
- Specified by:
getTaintsOrBuilderList
in interfaceNodeConfigOrBuilder
-
addTaintsBuilder
public NodeTaint.Builder addTaintsBuilder()
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;
-
addTaintsBuilder
public NodeTaint.Builder addTaintsBuilder(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;
-
getTaintsBuilderList
public List<NodeTaint.Builder> getTaintsBuilderList()
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
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.
-
setBootDiskKmsKey
public NodeConfig.Builder setBootDiskKmsKey(String value)
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
string boot_disk_kms_key = 23;
- Parameters:
value
- The bootDiskKmsKey to set.- Returns:
- This builder for chaining.
-
clearBootDiskKmsKey
public NodeConfig.Builder clearBootDiskKmsKey()
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
string boot_disk_kms_key = 23;
- Returns:
- This builder for chaining.
-
setBootDiskKmsKeyBytes
public NodeConfig.Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value)
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
string boot_disk_kms_key = 23;
- Parameters:
value
- The bytes for bootDiskKmsKey to set.- Returns:
- This builder for chaining.
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.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.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
- Specified by:
getShieldedInstanceConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
public NodeConfig.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
setShieldedInstanceConfig
public NodeConfig.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
mergeShieldedInstanceConfig
public NodeConfig.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
clearShieldedInstanceConfig
public NodeConfig.Builder clearShieldedInstanceConfig()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
getShieldedInstanceConfigBuilder
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
-
getShieldedInstanceConfigOrBuilder
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Shielded Instance options.
.google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20;
- Specified by:
getShieldedInstanceConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasLinuxNodeConfig
public boolean hasLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.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.v1beta1.LinuxNodeConfig linux_node_config = 21;
- Specified by:
getLinuxNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The linuxNodeConfig.
-
setLinuxNodeConfig
public NodeConfig.Builder setLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
setLinuxNodeConfig
public NodeConfig.Builder setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
mergeLinuxNodeConfig
public NodeConfig.Builder mergeLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
clearLinuxNodeConfig
public NodeConfig.Builder clearLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
getLinuxNodeConfigBuilder
public LinuxNodeConfig.Builder getLinuxNodeConfigBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
-
getLinuxNodeConfigOrBuilder
public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 21;
- Specified by:
getLinuxNodeConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasKubeletConfig
public boolean hasKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.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.v1beta1.NodeKubeletConfig kubelet_config = 22;
- Specified by:
getKubeletConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The kubeletConfig.
-
setKubeletConfig
public NodeConfig.Builder setKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
setKubeletConfig
public NodeConfig.Builder setKubeletConfig(NodeKubeletConfig.Builder builderForValue)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
mergeKubeletConfig
public NodeConfig.Builder mergeKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
clearKubeletConfig
public NodeConfig.Builder clearKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
getKubeletConfigBuilder
public NodeKubeletConfig.Builder getKubeletConfigBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
-
getKubeletConfigOrBuilder
public NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 22;
- Specified by:
getKubeletConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasEphemeralStorageConfig
public 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;
- Specified by:
hasEphemeralStorageConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the ephemeralStorageConfig field is set.
-
getEphemeralStorageConfig
public 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;
- Specified by:
getEphemeralStorageConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The ephemeralStorageConfig.
-
setEphemeralStorageConfig
public NodeConfig.Builder setEphemeralStorageConfig(EphemeralStorageConfig value)
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
setEphemeralStorageConfig
public NodeConfig.Builder setEphemeralStorageConfig(EphemeralStorageConfig.Builder builderForValue)
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
mergeEphemeralStorageConfig
public NodeConfig.Builder mergeEphemeralStorageConfig(EphemeralStorageConfig value)
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
clearEphemeralStorageConfig
public NodeConfig.Builder clearEphemeralStorageConfig()
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
getEphemeralStorageConfigBuilder
public EphemeralStorageConfig.Builder getEphemeralStorageConfigBuilder()
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
.google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
-
getEphemeralStorageConfigOrBuilder
public 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;
- Specified by:
getEphemeralStorageConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasGcfsConfig
public boolean hasGcfsConfig()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
- Specified by:
hasGcfsConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the gcfsConfig field is set.
-
getGcfsConfig
public GcfsConfig getGcfsConfig()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
- Specified by:
getGcfsConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The gcfsConfig.
-
setGcfsConfig
public NodeConfig.Builder setGcfsConfig(GcfsConfig value)
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
setGcfsConfig
public NodeConfig.Builder setGcfsConfig(GcfsConfig.Builder builderForValue)
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
mergeGcfsConfig
public NodeConfig.Builder mergeGcfsConfig(GcfsConfig value)
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
clearGcfsConfig
public NodeConfig.Builder clearGcfsConfig()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
getGcfsConfigBuilder
public GcfsConfig.Builder getGcfsConfigBuilder()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
-
getGcfsConfigOrBuilder
public GcfsConfigOrBuilder getGcfsConfigOrBuilder()
GCFS (Google Container File System) configs.
.google.container.v1beta1.GcfsConfig gcfs_config = 25;
- Specified by:
getGcfsConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasAdvancedMachineFeatures
public boolean hasAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.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.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
- Specified by:
getAdvancedMachineFeatures
in interfaceNodeConfigOrBuilder
- Returns:
- The advancedMachineFeatures.
-
setAdvancedMachineFeatures
public NodeConfig.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures value)
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
setAdvancedMachineFeatures
public NodeConfig.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
mergeAdvancedMachineFeatures
public NodeConfig.Builder mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
clearAdvancedMachineFeatures
public NodeConfig.Builder clearAdvancedMachineFeatures()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
getAdvancedMachineFeaturesBuilder
public AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
-
getAdvancedMachineFeaturesOrBuilder
public AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()
Advanced features for the Compute Engine VM.
.google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26;
- Specified by:
getAdvancedMachineFeaturesOrBuilder
in interfaceNodeConfigOrBuilder
-
hasGvnic
public boolean hasGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
- Specified by:
hasGvnic
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the gvnic field is set.
-
getGvnic
public VirtualNIC getGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
- Specified by:
getGvnic
in interfaceNodeConfigOrBuilder
- Returns:
- The gvnic.
-
setGvnic
public NodeConfig.Builder setGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
setGvnic
public NodeConfig.Builder setGvnic(VirtualNIC.Builder builderForValue)
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
mergeGvnic
public NodeConfig.Builder mergeGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
clearGvnic
public NodeConfig.Builder clearGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
getGvnicBuilder
public VirtualNIC.Builder getGvnicBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
-
getGvnicOrBuilder
public VirtualNICOrBuilder getGvnicOrBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.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.
-
setSpot
public NodeConfig.Builder setSpot(boolean value)
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
bool spot = 32;
- Parameters:
value
- The spot to set.- Returns:
- This builder for chaining.
-
clearSpot
public NodeConfig.Builder clearSpot()
Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
bool spot = 32;
- Returns:
- This builder for chaining.
-
hasConfidentialNodes
public 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;
- 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.v1beta1.ConfidentialNodes confidential_nodes = 35;
- Specified by:
getConfidentialNodes
in interfaceNodeConfigOrBuilder
- Returns:
- The confidentialNodes.
-
setConfidentialNodes
public NodeConfig.Builder setConfidentialNodes(ConfidentialNodes value)
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
setConfidentialNodes
public NodeConfig.Builder setConfidentialNodes(ConfidentialNodes.Builder builderForValue)
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
mergeConfidentialNodes
public NodeConfig.Builder mergeConfidentialNodes(ConfidentialNodes value)
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
clearConfidentialNodes
public NodeConfig.Builder clearConfidentialNodes()
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
getConfidentialNodesBuilder
public ConfidentialNodes.Builder getConfidentialNodesBuilder()
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
-
getConfidentialNodesOrBuilder
public 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;
- Specified by:
getConfidentialNodesOrBuilder
in interfaceNodeConfigOrBuilder
-
hasFastSocket
public boolean hasFastSocket()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.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.v1beta1.FastSocket fast_socket = 36;
- Specified by:
getFastSocket
in interfaceNodeConfigOrBuilder
- Returns:
- The fastSocket.
-
setFastSocket
public NodeConfig.Builder setFastSocket(FastSocket value)
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
setFastSocket
public NodeConfig.Builder setFastSocket(FastSocket.Builder builderForValue)
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
mergeFastSocket
public NodeConfig.Builder mergeFastSocket(FastSocket value)
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
clearFastSocket
public NodeConfig.Builder clearFastSocket()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
getFastSocketBuilder
public FastSocket.Builder getFastSocketBuilder()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.FastSocket fast_socket = 36;
-
getFastSocketOrBuilder
public FastSocketOrBuilder getFastSocketOrBuilder()
Enable or disable NCCL fast socket for the node pool.
optional .google.container.v1beta1.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
-
clearResourceLabels
public NodeConfig.Builder clearResourceLabels()
-
removeResourceLabels
public NodeConfig.Builder removeResourceLabels(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;
-
getMutableResourceLabels
@Deprecated public Map<String,String> getMutableResourceLabels()
Deprecated.Use alternate mutation accessors instead.
-
putResourceLabels
public NodeConfig.Builder putResourceLabels(String key, String value)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;
-
putAllResourceLabels
public NodeConfig.Builder putAllResourceLabels(Map<String,String> values)
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 37;
-
hasLoggingConfig
public boolean hasLoggingConfig()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
hasLoggingConfig
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public NodePoolLoggingConfig getLoggingConfig()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
getLoggingConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The loggingConfig.
-
setLoggingConfig
public NodeConfig.Builder setLoggingConfig(NodePoolLoggingConfig value)
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
setLoggingConfig
public NodeConfig.Builder setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
mergeLoggingConfig
public NodeConfig.Builder mergeLoggingConfig(NodePoolLoggingConfig value)
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
clearLoggingConfig
public NodeConfig.Builder clearLoggingConfig()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
getLoggingConfigBuilder
public NodePoolLoggingConfig.Builder getLoggingConfigBuilder()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
-
getLoggingConfigOrBuilder
public NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()
Logging configuration.
.google.container.v1beta1.NodePoolLoggingConfig logging_config = 38;
- Specified by:
getLoggingConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasWindowsNodeConfig
public boolean hasWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.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.v1beta1.WindowsNodeConfig windows_node_config = 39;
- Specified by:
getWindowsNodeConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The windowsNodeConfig.
-
setWindowsNodeConfig
public NodeConfig.Builder setWindowsNodeConfig(WindowsNodeConfig value)
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
setWindowsNodeConfig
public NodeConfig.Builder setWindowsNodeConfig(WindowsNodeConfig.Builder builderForValue)
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
mergeWindowsNodeConfig
public NodeConfig.Builder mergeWindowsNodeConfig(WindowsNodeConfig value)
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
clearWindowsNodeConfig
public NodeConfig.Builder clearWindowsNodeConfig()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
getWindowsNodeConfigBuilder
public WindowsNodeConfig.Builder getWindowsNodeConfigBuilder()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
-
getWindowsNodeConfigOrBuilder
public WindowsNodeConfigOrBuilder getWindowsNodeConfigOrBuilder()
Parameters that can be configured on Windows nodes.
.google.container.v1beta1.WindowsNodeConfig windows_node_config = 39;
- Specified by:
getWindowsNodeConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasLocalNvmeSsdBlockConfig
public boolean hasLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.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.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
- Specified by:
getLocalNvmeSsdBlockConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The localNvmeSsdBlockConfig.
-
setLocalNvmeSsdBlockConfig
public NodeConfig.Builder setLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig value)
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
setLocalNvmeSsdBlockConfig
public NodeConfig.Builder setLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig.Builder builderForValue)
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
mergeLocalNvmeSsdBlockConfig
public NodeConfig.Builder mergeLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig value)
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
clearLocalNvmeSsdBlockConfig
public NodeConfig.Builder clearLocalNvmeSsdBlockConfig()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
getLocalNvmeSsdBlockConfigBuilder
public LocalNvmeSsdBlockConfig.Builder getLocalNvmeSsdBlockConfigBuilder()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;
-
getLocalNvmeSsdBlockConfigOrBuilder
public LocalNvmeSsdBlockConfigOrBuilder getLocalNvmeSsdBlockConfigOrBuilder()
Parameters for using raw-block Local NVMe SSDs.
.google.container.v1beta1.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. This field is functionally equivalent to the ephemeral_storage_config
.google.container.v1beta1.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. This field is functionally equivalent to the ephemeral_storage_config
.google.container.v1beta1.EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
- Specified by:
getEphemeralStorageLocalSsdConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The ephemeralStorageLocalSsdConfig.
-
setEphemeralStorageLocalSsdConfig
public NodeConfig.Builder setEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig value)
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;
-
setEphemeralStorageLocalSsdConfig
public NodeConfig.Builder setEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig.Builder builderForValue)
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;
-
mergeEphemeralStorageLocalSsdConfig
public NodeConfig.Builder mergeEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig value)
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;
-
clearEphemeralStorageLocalSsdConfig
public NodeConfig.Builder clearEphemeralStorageLocalSsdConfig()
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;
-
getEphemeralStorageLocalSsdConfigBuilder
public EphemeralStorageLocalSsdConfig.Builder getEphemeralStorageLocalSsdConfigBuilder()
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;
-
getEphemeralStorageLocalSsdConfigOrBuilder
public 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;
- Specified by:
getEphemeralStorageLocalSsdConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasSoleTenantConfig
public boolean hasSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.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.v1beta1.SoleTenantConfig sole_tenant_config = 42;
- Specified by:
getSoleTenantConfig
in interfaceNodeConfigOrBuilder
- Returns:
- The soleTenantConfig.
-
setSoleTenantConfig
public NodeConfig.Builder setSoleTenantConfig(SoleTenantConfig value)
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
setSoleTenantConfig
public NodeConfig.Builder setSoleTenantConfig(SoleTenantConfig.Builder builderForValue)
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
mergeSoleTenantConfig
public NodeConfig.Builder mergeSoleTenantConfig(SoleTenantConfig value)
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
clearSoleTenantConfig
public NodeConfig.Builder clearSoleTenantConfig()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
getSoleTenantConfigBuilder
public SoleTenantConfig.Builder getSoleTenantConfigBuilder()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
-
getSoleTenantConfigOrBuilder
public SoleTenantConfigOrBuilder getSoleTenantConfigOrBuilder()
Parameters for node pools to be backed by shared sole tenant node groups.
.google.container.v1beta1.SoleTenantConfig sole_tenant_config = 42;
- Specified by:
getSoleTenantConfigOrBuilder
in interfaceNodeConfigOrBuilder
-
hasHostMaintenancePolicy
public boolean hasHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
- Specified by:
hasHostMaintenancePolicy
in interfaceNodeConfigOrBuilder
- Returns:
- Whether the hostMaintenancePolicy field is set.
-
getHostMaintenancePolicy
public HostMaintenancePolicy getHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
- Specified by:
getHostMaintenancePolicy
in interfaceNodeConfigOrBuilder
- Returns:
- The hostMaintenancePolicy.
-
setHostMaintenancePolicy
public NodeConfig.Builder setHostMaintenancePolicy(HostMaintenancePolicy value)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
setHostMaintenancePolicy
public NodeConfig.Builder setHostMaintenancePolicy(HostMaintenancePolicy.Builder builderForValue)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
mergeHostMaintenancePolicy
public NodeConfig.Builder mergeHostMaintenancePolicy(HostMaintenancePolicy value)
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
clearHostMaintenancePolicy
public NodeConfig.Builder clearHostMaintenancePolicy()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
getHostMaintenancePolicyBuilder
public HostMaintenancePolicy.Builder getHostMaintenancePolicyBuilder()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
-
getHostMaintenancePolicyOrBuilder
public HostMaintenancePolicyOrBuilder getHostMaintenancePolicyOrBuilder()
HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts.
.google.container.v1beta1.HostMaintenancePolicy host_maintenance_policy = 44;
- Specified by:
getHostMaintenancePolicyOrBuilder
in interfaceNodeConfigOrBuilder
-
setUnknownFields
public final NodeConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
mergeUnknownFields
public final NodeConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>
-
-