Send feedback
Class ClusterOperation (2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.1 keyboard_arrow_down
public final class ClusterOperation extends GeneratedMessageV3 implements ClusterOperationOrBuilder
The cluster operation triggered by a workflow.
Protobuf type google.cloud.dataproc.v1.ClusterOperation
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
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstance()
public static ClusterOperation getDefaultInstance ()
Returns
getDefaultInstanceForType()
public ClusterOperation getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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
newBuilder()
public static ClusterOperation . Builder newBuilder ()
Returns
newBuilder(ClusterOperation prototype)
public static ClusterOperation . Builder newBuilder ( ClusterOperation prototype )
Parameter
Returns
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
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
toBuilder()
public ClusterOperation . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]