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