Class ClusterOperationStatus (4.20.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
TypeDescription
int

INNER_STATE_FIELD_NUMBER

public static final int INNER_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_START_TIME_FIELD_NUMBER

public static final int STATE_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterOperationStatus getDefaultInstance()
Returns
TypeDescription
ClusterOperationStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ClusterOperationStatus.Builder newBuilder()
Returns
TypeDescription
ClusterOperationStatus.Builder

newBuilder(ClusterOperationStatus prototype)

public static ClusterOperationStatus.Builder newBuilder(ClusterOperationStatus prototype)
Parameter
NameDescription
prototypeClusterOperationStatus
Returns
TypeDescription
ClusterOperationStatus.Builder

parseDelimitedFrom(InputStream input)

public static ClusterOperationStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClusterOperationStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterOperationStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterOperationStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClusterOperationStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClusterOperationStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterOperationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClusterOperationStatus> parser()
Returns
TypeDescription
Parser<ClusterOperationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ClusterOperationStatus getDefaultInstanceForType()
Returns
TypeDescription
ClusterOperationStatus

getDetails()

public String getDetails()

Output only. A message containing any operation metadata details.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for innerState.

getParserForType()

public Parser<ClusterOperationStatus> getParserForType()
Returns
TypeDescription
Parser<ClusterOperationStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stateStartTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClusterOperationStatus.Builder newBuilderForType()
Returns
TypeDescription
ClusterOperationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClusterOperationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClusterOperationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClusterOperationStatus.Builder toBuilder()
Returns
TypeDescription
ClusterOperationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException