Send feedback
Class GkeNodePoolConfig.GkeNodeConfig (3.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.3 keyboard_arrow_down
public static final class GkeNodePoolConfig . GkeNodeConfig extends GeneratedMessageV3 implements GkeNodePoolConfig . GkeNodeConfigOrBuilder
Parameters that describe cluster nodes.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig
Static Fields
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
Field Value
LOCAL_SSD_COUNT_FIELD_NUMBER
public static final int LOCAL_SSD_COUNT_FIELD_NUMBER
Field Value
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
Field Value
PREEMPTIBLE_FIELD_NUMBER
public static final int PREEMPTIBLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GkeNodePoolConfig . GkeNodeConfig getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static GkeNodePoolConfig . GkeNodeConfig . Builder newBuilder ()
Returns
newBuilder(GkeNodePoolConfig.GkeNodeConfig prototype)
public static GkeNodePoolConfig . GkeNodeConfig . Builder newBuilder ( GkeNodePoolConfig . GkeNodeConfig prototype )
Parameter
Returns
public static GkeNodePoolConfig . GkeNodeConfig parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolConfig . GkeNodeConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig . GkeNodeConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<GkeNodePoolConfig . GkeNodeConfig > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAccelerators(int index)
public GkeNodePoolConfig . GkeNodePoolAcceleratorConfig getAccelerators ( int index )
Optional. A list of hardware
accelerators to attach to
each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getAcceleratorsCount()
public int getAcceleratorsCount ()
Optional. A list of hardware
accelerators to attach to
each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAcceleratorsList()
public List<GkeNodePoolConfig . GkeNodePoolAcceleratorConfig > getAcceleratorsList ()
Optional. A list of hardware
accelerators to attach to
each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAcceleratorsOrBuilder(int index)
public GkeNodePoolConfig . GkeNodePoolAcceleratorConfigOrBuilder getAcceleratorsOrBuilder ( int index )
Optional. A list of hardware
accelerators to attach to
each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getAcceleratorsOrBuilderList()
public List <? extends GkeNodePoolConfig . GkeNodePoolAcceleratorConfigOrBuilder > getAcceleratorsOrBuilderList ()
Optional. A list of hardware
accelerators to attach to
each node.
repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description List <? extends com.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder >
getDefaultInstanceForType()
public GkeNodePoolConfig . GkeNodeConfig getDefaultInstanceForType ()
Returns
getLocalSsdCount()
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 ).
int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description int The localSsdCount.
getMachineType()
public String getMachineType ()
Optional. The name of a Compute Engine machine
type .
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description String The machineType.
getMachineTypeBytes()
public ByteString getMachineTypeBytes ()
Optional. The name of a Compute Engine machine
type .
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description ByteString The bytes for machineType.
public String getMinCpuPlatform ()
Optional. Minimum 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];
Returns
Type Description String The minCpuPlatform.
public ByteString getMinCpuPlatformBytes ()
Optional. Minimum 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];
Returns
Type Description ByteString The bytes for minCpuPlatform.
getParserForType()
public Parser<GkeNodePoolConfig . GkeNodeConfig > getParserForType ()
Returns
Overrides
getPreemptible()
public boolean getPreemptible ()
Optional. Whether the nodes are created as preemptible VM
instances .
bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean The preemptible.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public GkeNodePoolConfig . GkeNodeConfig . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GkeNodePoolConfig . GkeNodeConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public GkeNodePoolConfig . GkeNodeConfig . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]