Class AuxiliaryNodeGroup (4.28.0)

public final class AuxiliaryNodeGroup extends GeneratedMessageV3 implements AuxiliaryNodeGroupOrBuilder

Node group identification and configuration information.

Protobuf type google.cloud.dataproc.v1.AuxiliaryNodeGroup

Static Fields

NODE_GROUP_FIELD_NUMBER

public static final int NODE_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_GROUP_ID_FIELD_NUMBER

public static final int NODE_GROUP_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuxiliaryNodeGroup getDefaultInstance()
Returns
TypeDescription
AuxiliaryNodeGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuxiliaryNodeGroup.Builder newBuilder()
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

newBuilder(AuxiliaryNodeGroup prototype)

public static AuxiliaryNodeGroup.Builder newBuilder(AuxiliaryNodeGroup prototype)
Parameter
NameDescription
prototypeAuxiliaryNodeGroup
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

parseDelimitedFrom(InputStream input)

public static AuxiliaryNodeGroup parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuxiliaryNodeGroup parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuxiliaryNodeGroup parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuxiliaryNodeGroup parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuxiliaryNodeGroup parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuxiliaryNodeGroup parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryNodeGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryNodeGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuxiliaryNodeGroup> parser()
Returns
TypeDescription
Parser<AuxiliaryNodeGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AuxiliaryNodeGroup getDefaultInstanceForType()
Returns
TypeDescription
AuxiliaryNodeGroup

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.

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

getParserForType()

public Parser<AuxiliaryNodeGroup> getParserForType()
Returns
TypeDescription
Parser<AuxiliaryNodeGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuxiliaryNodeGroup.Builder newBuilderForType()
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuxiliaryNodeGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuxiliaryNodeGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuxiliaryNodeGroup.Builder toBuilder()
Returns
TypeDescription
AuxiliaryNodeGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException