Class AuxiliaryNodeGroup.Builder (4.43.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryNodeGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

build()

public AuxiliaryNodeGroup build()
Returns
Type Description
AuxiliaryNodeGroup

buildPartial()

public AuxiliaryNodeGroup buildPartial()
Returns
Type Description
AuxiliaryNodeGroup

clear()

public AuxiliaryNodeGroup.Builder clear()
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuxiliaryNodeGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

clearNodeGroup()

public AuxiliaryNodeGroup.Builder clearNodeGroup()

Required. Node group configuration.

.google.cloud.dataproc.v1.NodeGroup node_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AuxiliaryNodeGroup.Builder

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
Type Description
AuxiliaryNodeGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AuxiliaryNodeGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

clone()

public AuxiliaryNodeGroup.Builder clone()
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

getDefaultInstanceForType()

public AuxiliaryNodeGroup getDefaultInstanceForType()
Returns
Type Description
AuxiliaryNodeGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
NodeGroup.Builder

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
Type Description
NodeGroupOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuxiliaryNodeGroup other)

public AuxiliaryNodeGroup.Builder mergeFrom(AuxiliaryNodeGroup other)
Parameter
Name Description
other AuxiliaryNodeGroup
Returns
Type Description
AuxiliaryNodeGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuxiliaryNodeGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuxiliaryNodeGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuxiliaryNodeGroup.Builder
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
Name Description
value NodeGroup
Returns
Type Description
AuxiliaryNodeGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryNodeGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryNodeGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuxiliaryNodeGroup.Builder
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
Name Description
value NodeGroup
Returns
Type Description
AuxiliaryNodeGroup.Builder

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
Name Description
builderForValue NodeGroup.Builder
Returns
Type Description
AuxiliaryNodeGroup.Builder

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
Type Description
AuxiliaryNodeGroup.Builder

This builder for chaining.

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
Type Description
AuxiliaryNodeGroup.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AuxiliaryNodeGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryNodeGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuxiliaryNodeGroup.Builder
Overrides