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
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ClusterOperation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ClusterOperation.Builder newBuilder()
Returns
newBuilder(ClusterOperation prototype)
public static ClusterOperation.Builder newBuilder(ClusterOperation prototype)
Parameter
Returns
public static ClusterOperation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ClusterOperation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ClusterOperation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClusterOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ClusterOperation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ClusterOperation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ClusterOperation getDefaultInstanceForType()
Returns
getDone()
Output only. Indicates the operation is done.
bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ClusterOperation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ClusterOperation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions