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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryNodeGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AuxiliaryNodeGroup build()
Returns
buildPartial()
public AuxiliaryNodeGroup buildPartial()
Returns
clear()
public AuxiliaryNodeGroup.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AuxiliaryNodeGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNodeGroup()
public AuxiliaryNodeGroup.Builder clearNodeGroup()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AuxiliaryNodeGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AuxiliaryNodeGroup.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AuxiliaryNodeGroup getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNodeGroup()
public NodeGroup getNodeGroup()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getNodeGroupBuilder()
public NodeGroup.Builder getNodeGroupBuilder()
Required. Node group configuration.
.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AuxiliaryNodeGroup other)
public AuxiliaryNodeGroup.Builder mergeFrom(AuxiliaryNodeGroup other)
Parameter
Returns
public AuxiliaryNodeGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AuxiliaryNodeGroup.Builder mergeFrom(Message other)
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryNodeGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryNodeGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuxiliaryNodeGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryNodeGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides