Class ClusterOperationStatus (4.42.0)

public final class ClusterOperationStatus extends GeneratedMessageV3 implements ClusterOperationStatusOrBuilder

The status of the operation.

Protobuf type google.cloud.dataproc.v1.ClusterOperationStatus

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

INNER_STATE_FIELD_NUMBER

public static final int INNER_STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_START_TIME_FIELD_NUMBER

public static final int STATE_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterOperationStatus getDefaultInstance()
Returns
Type Description
ClusterOperationStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterOperationStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ClusterOperationStatus getDefaultInstanceForType()
Returns
Type Description
ClusterOperationStatus

getDetails()

public String getDetails()

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for details.

getInnerState()

public String getInnerState()

Output only. A message containing the detailed operation state.

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

Returns
Type Description
String

The innerState.

getInnerStateBytes()

public ByteString getInnerStateBytes()

Output only. A message containing the detailed operation state.

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

Returns
Type Description
ByteString

The bytes for innerState.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public ClusterOperationStatus.State getState()

Output only. A message containing the operation state.

.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationStatus.State

The state.

getStateStartTime()

public Timestamp getStateStartTime()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. A message containing the operation state.

.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasStateStartTime()

public boolean hasStateStartTime()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the stateStartTime field is set.

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 ClusterOperationStatus.Builder newBuilderForType()
Returns
Type Description
ClusterOperationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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