public static final class GkeNodePoolTarget.Builder extends GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder> implements GkeNodePoolTargetOrBuilder
GKE NodePools that Dataproc workloads run on.Protobuf type
google.cloud.dataproc.v1.GkeNodePoolTarget
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<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GkeNodePoolTarget build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GkeNodePoolTarget buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GkeNodePoolTarget.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder mergeFrom(GkeNodePoolTarget other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public GkeNodePoolTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GkeNodePoolTarget.Builder>
IOException
public String getNodePool()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getNodePool
in interface GkeNodePoolTargetOrBuilder
public ByteString getNodePoolBytes()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getNodePoolBytes
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolTarget.Builder setNodePool(String value)
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The nodePool to set.public GkeNodePoolTarget.Builder clearNodePool()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
public GkeNodePoolTarget.Builder setNodePoolBytes(ByteString value)
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for nodePool to set.public List<GkeNodePoolTarget.Role> getRolesList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesList
in interface GkeNodePoolTargetOrBuilder
public int getRolesCount()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesCount
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolTarget.Role getRoles(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRoles
in interface GkeNodePoolTargetOrBuilder
index
- The index of the element to return.public GkeNodePoolTarget.Builder setRoles(int index, GkeNodePoolTarget.Role value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
index
- The index to set the value at.value
- The roles to set.public GkeNodePoolTarget.Builder addRoles(GkeNodePoolTarget.Role value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The roles to add.public GkeNodePoolTarget.Builder addAllRoles(Iterable<? extends GkeNodePoolTarget.Role> values)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
values
- The roles to add.public GkeNodePoolTarget.Builder clearRoles()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
public List<Integer> getRolesValueList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesValueList
in interface GkeNodePoolTargetOrBuilder
public int getRolesValue(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
getRolesValue
in interface GkeNodePoolTargetOrBuilder
index
- The index of the value to return.public GkeNodePoolTarget.Builder setRolesValue(int index, int value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
index
- The index to set the value at.value
- The enum numeric value on the wire for roles to set.public GkeNodePoolTarget.Builder addRolesValue(int value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The enum numeric value on the wire for roles to add.public GkeNodePoolTarget.Builder addAllRolesValue(Iterable<Integer> values)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
values
- The enum numeric values on the wire for roles to add.public boolean hasNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
hasNodePoolConfig
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolConfig getNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolConfig
in interface GkeNodePoolTargetOrBuilder
public GkeNodePoolTarget.Builder setNodePoolConfig(GkeNodePoolConfig value)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolTarget.Builder setNodePoolConfig(GkeNodePoolConfig.Builder builderForValue)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolTarget.Builder mergeNodePoolConfig(GkeNodePoolConfig value)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolTarget.Builder clearNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfig.Builder getNodePoolConfigBuilder()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolConfigOrBuilder
in interface GkeNodePoolTargetOrBuilder
public final GkeNodePoolTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
public final GkeNodePoolTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder>
Copyright © 2022 Google LLC. All rights reserved.