public final class GkeNodePoolConfig extends GeneratedMessageV3 implements GkeNodePoolConfigOrBuilder
The configuration of a GKE node pool used by a Dataproc-on-GKE
cluster.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTOSCALING_FIELD_NUMBER
public static final int AUTOSCALING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GkeNodePoolConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GkeNodePoolConfig.Builder newBuilder()
newBuilder(GkeNodePoolConfig prototype)
public static GkeNodePoolConfig.Builder newBuilder(GkeNodePoolConfig prototype)
public static GkeNodePoolConfig parseDelimitedFrom(InputStream input)
public static GkeNodePoolConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GkeNodePoolConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GkeNodePoolConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig parseFrom(CodedInputStream input)
public static GkeNodePoolConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig parseFrom(InputStream input)
public static GkeNodePoolConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GkeNodePoolConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GkeNodePoolConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAutoscaling()
public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getAutoscaling()
Optional. The autoscaler configuration for this node pool. The autoscaler
is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
getAutoscalingOrBuilder()
public GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder getAutoscalingOrBuilder()
Optional. The autoscaler configuration for this node pool. The autoscaler
is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
getConfig()
public GkeNodePoolConfig.GkeNodeConfig getConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfigOrBuilder()
public GkeNodePoolConfig.GkeNodeConfigOrBuilder getConfigOrBuilder()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public GkeNodePoolConfig getDefaultInstanceForType()
getLocations(int index)
public String getLocations(int index)
Optional. The list of Compute Engine
zones where
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note: All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The locations at the given index.
|
getLocationsBytes(int index)
public ByteString getLocationsBytes(int index)
Optional. The list of Compute Engine
zones where
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note: All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the locations at the given index.
|
getLocationsCount()
public int getLocationsCount()
Optional. The list of Compute Engine
zones where
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note: All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The count of locations.
|
getLocationsList()
public ProtocolStringList getLocationsList()
Optional. The list of Compute Engine
zones where
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note: All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<GkeNodePoolConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasAutoscaling()
public boolean hasAutoscaling()
Optional. The autoscaler configuration for this node pool. The autoscaler
is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the autoscaling field is set.
|
hasConfig()
public boolean hasConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the config field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GkeNodePoolConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GkeNodePoolConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GkeNodePoolConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides