Class AuxiliaryNodeGroup.Builder (4.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryNodeGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

build()

public AuxiliaryNodeGroup build()
Returns
TypeDescription
AuxiliaryNodeGroup

buildPartial()

public AuxiliaryNodeGroup buildPartial()
Returns
TypeDescription
AuxiliaryNodeGroup

clear()

public AuxiliaryNodeGroup.Builder clear()
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuxiliaryNodeGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AuxiliaryNodeGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AuxiliaryNodeGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

clone()

public AuxiliaryNodeGroup.Builder clone()
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

getDefaultInstanceForType()

public AuxiliaryNodeGroup getDefaultInstanceForType()
Returns
TypeDescription
AuxiliaryNodeGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodeGroup()

public NodeGroup getNodeGroup()

Required. Node group configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NodeGroupOrBuilder

hasNodeGroup()

public boolean hasNodeGroup()

Required. Node group configuration.

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

Returns
TypeDescription
boolean

Whether the nodeGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuxiliaryNodeGroup other)

public AuxiliaryNodeGroup.Builder mergeFrom(AuxiliaryNodeGroup other)
Parameter
NameDescription
otherAuxiliaryNodeGroup
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuxiliaryNodeGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuxiliaryNodeGroup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNodeGroup
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryNodeGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryNodeGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNodeGroup
Returns
TypeDescription
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
NameDescription
builderForValueNodeGroup.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nodeGroupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nodeGroupId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryNodeGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides