Class ClusterOperation (4.46.0)

public final class ClusterOperation extends GeneratedMessageV3 implements ClusterOperationOrBuilder

The cluster operation triggered by a workflow.

Protobuf type google.cloud.dataproc.v1.ClusterOperation

Static Fields

DONE_FIELD_NUMBER

public static final int DONE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterOperation getDefaultInstance()
Returns
Type Description
ClusterOperation

getDescriptor()

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

newBuilder()

public static ClusterOperation.Builder newBuilder()
Returns
Type Description
ClusterOperation.Builder

newBuilder(ClusterOperation prototype)

public static ClusterOperation.Builder newBuilder(ClusterOperation prototype)
Parameter
Name Description
prototype ClusterOperation
Returns
Type Description
ClusterOperation.Builder

parseDelimitedFrom(InputStream input)

public static ClusterOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClusterOperation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClusterOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClusterOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClusterOperation> parser()
Returns
Type Description
Parser<ClusterOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ClusterOperation getDefaultInstanceForType()
Returns
Type Description
ClusterOperation

getDone()

public boolean getDone()

Output only. Indicates the operation is done.

bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The done.

getError()

public String getError()

Output only. Error, if operation failed.

string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The error.

getErrorBytes()

public ByteString getErrorBytes()

Output only. Error, if operation failed.

string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for error.

getOperationId()

public String getOperationId()

Output only. The id of the cluster operation.

string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Output only. The id of the cluster operation.

string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationId.

getParserForType()

public Parser<ClusterOperation> getParserForType()
Returns
Type Description
Parser<ClusterOperation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClusterOperation.Builder newBuilderForType()
Returns
Type Description
ClusterOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClusterOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClusterOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ClusterOperation.Builder toBuilder()
Returns
Type Description
ClusterOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException