public static final class GkeNodePoolConfig.Builder extends GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder> implements GkeNodePoolConfigOrBuilder
The configuration of a GKE NodePool used by a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).Protobuf type
google.cloud.dataproc.v1.GkeNodePoolConfig
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.Builder>
public GkeNodePoolConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GkeNodePoolConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GkeNodePoolConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GkeNodePoolConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder mergeFrom(GkeNodePoolConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public GkeNodePoolConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolConfig.Builder>
IOException
public boolean hasConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
hasConfig
in interface GkeNodePoolConfigOrBuilder
public GkeNodePoolConfig.GkeNodeConfig getConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfig
in interface GkeNodePoolConfigOrBuilder
public GkeNodePoolConfig.Builder setConfig(GkeNodePoolConfig.GkeNodeConfig value)
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder setConfig(GkeNodePoolConfig.GkeNodeConfig.Builder builderForValue)
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder mergeConfig(GkeNodePoolConfig.GkeNodeConfig value)
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder clearConfig()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfig.Builder getConfigBuilder()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodeConfigOrBuilder getConfigOrBuilder()
Optional. The node pool configuration.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
getConfigOrBuilder
in interface GkeNodePoolConfigOrBuilder
public ProtocolStringList getLocationsList()
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
getLocationsList
in interface GkeNodePoolConfigOrBuilder
public int getLocationsCount()
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
getLocationsCount
in interface GkeNodePoolConfigOrBuilder
public String getLocations(int index)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
getLocations
in interface GkeNodePoolConfigOrBuilder
index
- The index of the element to return.public ByteString getLocationsBytes(int index)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
getLocationsBytes
in interface GkeNodePoolConfigOrBuilder
index
- The index of the value to return.public GkeNodePoolConfig.Builder setLocations(int index, String value)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
index
- The index to set the value at.value
- The locations to set.public GkeNodePoolConfig.Builder addLocations(String value)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
value
- The locations to add.public GkeNodePoolConfig.Builder addAllLocations(Iterable<String> values)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
values
- The locations to add.public GkeNodePoolConfig.Builder clearLocations()
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder addLocationsBytes(ByteString value)
Optional. The list of Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) where NodePool's nodes will be located. **Note:** Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes of the locations to add.public boolean hasAutoscaling()
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAutoscaling
in interface GkeNodePoolConfigOrBuilder
public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig getAutoscaling()
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
getAutoscaling
in interface GkeNodePoolConfigOrBuilder
public GkeNodePoolConfig.Builder setAutoscaling(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig value)
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder setAutoscaling(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder builderForValue)
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder mergeAutoscaling(GkeNodePoolConfig.GkeNodePoolAutoscalingConfig value)
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder clearAutoscaling()
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodePoolAutoscalingConfig.Builder getAutoscalingBuilder()
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.GkeNodePoolAutoscalingConfigOrBuilder getAutoscalingOrBuilder()
Optional. The autoscaler configuration for this NodePool. 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
in interface GkeNodePoolConfigOrBuilder
public final GkeNodePoolConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
public final GkeNodePoolConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.