public static final class GkeNodePoolConfig.GkeNodeConfig.Builder extends GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder> implements GkeNodePoolConfig.GkeNodeConfigOrBuilder
Parameters that describe cluster nodes.Protobuf type
google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GkeNodePoolConfig.GkeNodeConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GkeNodePoolConfig.GkeNodeConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GkeNodePoolConfig.GkeNodeConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder mergeFrom(GkeNodePoolConfig.GkeNodeConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public GkeNodePoolConfig.GkeNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
IOException
public String getMachineType()
Optional. The name of a Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getMachineType
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public ByteString getMachineTypeBytes()
Optional. The name of a Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getMachineTypeBytes
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig.Builder setMachineType(String value)
Optional. The name of a Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The machineType to set.public GkeNodePoolConfig.GkeNodeConfig.Builder clearMachineType()
Optional. The name of a Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder setMachineTypeBytes(ByteString value)
Optional. The name of a Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types).
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for machineType to set.public boolean getPreemptible()
Optional. Whether the nodes are created as [preemptible VM instances](https://cloud.google.com/compute/docs/instances/preemptible).
bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
getPreemptible
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig.Builder setPreemptible(boolean value)
Optional. Whether the nodes are created as [preemptible VM instances](https://cloud.google.com/compute/docs/instances/preemptible).
bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
value
- The preemptible to set.public GkeNodePoolConfig.GkeNodeConfig.Builder clearPreemptible()
Optional. Whether the nodes are created as [preemptible VM instances](https://cloud.google.com/compute/docs/instances/preemptible).
bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
public int getLocalSsdCount()
Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see [Adding Local SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)).
int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
getLocalSsdCount
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig.Builder setLocalSsdCount(int value)
Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see [Adding Local SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)).
int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
value
- The localSsdCount to set.public GkeNodePoolConfig.GkeNodeConfig.Builder clearLocalSsdCount()
Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see [Adding Local SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)).
int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
public List<GkeNodePoolConfig.GkeNodePoolAcceleratorConfig> getAcceleratorsList()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
getAcceleratorsList
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public int getAcceleratorsCount()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
getAcceleratorsCount
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodePoolAcceleratorConfig getAccelerators(int index)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
getAccelerators
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig.Builder setAccelerators(int index, GkeNodePoolConfig.GkeNodePoolAcceleratorConfig value)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder setAccelerators(int index, GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder builderForValue)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder addAccelerators(GkeNodePoolConfig.GkeNodePoolAcceleratorConfig value)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder addAccelerators(int index, GkeNodePoolConfig.GkeNodePoolAcceleratorConfig value)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder addAccelerators(GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder builderForValue)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder addAccelerators(int index, GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder builderForValue)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder addAllAccelerators(Iterable<? extends GkeNodePoolConfig.GkeNodePoolAcceleratorConfig> values)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder clearAccelerators()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder removeAccelerators(int index)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder getAcceleratorsBuilder(int index)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
getAcceleratorsOrBuilder
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public List<? extends GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
getAcceleratorsOrBuilderList
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder addAcceleratorsBuilder()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder addAcceleratorsBuilder(int index)
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public List<GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder> getAcceleratorsBuilderList()
Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus) to attach to each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
public String getMinCpuPlatform()
Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
getMinCpuPlatform
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public ByteString getMinCpuPlatformBytes()
Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
getMinCpuPlatformBytes
in interface GkeNodePoolConfig.GkeNodeConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig.Builder setMinCpuPlatform(String value)
Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
value
- The minCpuPlatform to set.public GkeNodePoolConfig.GkeNodeConfig.Builder clearMinCpuPlatform()
Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder setMinCpuPlatformBytes(ByteString value)
Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for minCpuPlatform to set.public final GkeNodePoolConfig.GkeNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
public final GkeNodePoolConfig.GkeNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.GkeNodeConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.