Class AuxiliaryNodeGroup.Builder (4.80.0)

public static final class AuxiliaryNodeGroup.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.