Class AuxiliaryNodeGroup.Builder (4.13.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 4.13.0keyboard_arrow_down
public static final class AuxiliaryNodeGroup . Builder extends GeneratedMessageV3 . Builder<AuxiliaryNodeGroup . Builder > implements AuxiliaryNodeGroupOrBuilder
Node group identification and configuration information.
Protobuf type google.cloud.dataproc.v1.AuxiliaryNodeGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryNodeGroup . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AuxiliaryNodeGroup build ()
buildPartial()
public AuxiliaryNodeGroup buildPartial ()
clear()
public AuxiliaryNodeGroup . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AuxiliaryNodeGroup . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNodeGroup()
public AuxiliaryNodeGroup . Builder clearNodeGroup ()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
clearNodeGroupId()
public AuxiliaryNodeGroup . Builder clearNodeGroupId ()
Optional. A node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of from 3 to 33 characters.
string node_group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public AuxiliaryNodeGroup . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public AuxiliaryNodeGroup . Builder clone ()
Overrides
getDefaultInstanceForType()
public AuxiliaryNodeGroup getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNodeGroup()
public NodeGroup getNodeGroup ()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
NodeGroup
The nodeGroup.
getNodeGroupBuilder()
public NodeGroup . Builder getNodeGroupBuilder ()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
getNodeGroupId()
public String getNodeGroupId ()
Optional. A node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of from 3 to 33 characters.
string node_group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The nodeGroupId.
getNodeGroupIdBytes()
public ByteString getNodeGroupIdBytes ()
Optional. A node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of from 3 to 33 characters.
string node_group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for nodeGroupId.
getNodeGroupOrBuilder()
public NodeGroupOrBuilder getNodeGroupOrBuilder ()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
hasNodeGroup()
public boolean hasNodeGroup ()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the nodeGroup field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AuxiliaryNodeGroup other)
public AuxiliaryNodeGroup . Builder mergeFrom ( AuxiliaryNodeGroup other )
public AuxiliaryNodeGroup . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AuxiliaryNodeGroup . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeNodeGroup(NodeGroup value)
public AuxiliaryNodeGroup . Builder mergeNodeGroup ( NodeGroup value )
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryNodeGroup . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryNodeGroup . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNodeGroup(NodeGroup value)
public AuxiliaryNodeGroup . Builder setNodeGroup ( NodeGroup value )
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
setNodeGroup(NodeGroup.Builder builderForValue)
public AuxiliaryNodeGroup . Builder setNodeGroup ( NodeGroup . Builder builderForValue )
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
setNodeGroupId(String value)
public AuxiliaryNodeGroup . Builder setNodeGroupId ( String value )
Optional. A node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of from 3 to 33 characters.
string node_group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The nodeGroupId to set.
setNodeGroupIdBytes(ByteString value)
public AuxiliaryNodeGroup . Builder setNodeGroupIdBytes ( ByteString value )
Optional. A node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-). Cannot begin or end with underscore
or hyphen. Must consist of from 3 to 33 characters.
string node_group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for nodeGroupId to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuxiliaryNodeGroup . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryNodeGroup . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]