Class Batch.StateHistory (4.36.0)

public static final class Batch.StateHistory extends GeneratedMessageV3 implements Batch.StateHistoryOrBuilder

Historical state information.

Protobuf type google.cloud.dataproc.v1.Batch.StateHistory

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_MESSAGE_FIELD_NUMBER

public static final int STATE_MESSAGE_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 Batch.StateHistory getDefaultInstance()
Returns
TypeDescription
Batch.StateHistory

getDescriptor()

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

newBuilder()

public static Batch.StateHistory.Builder newBuilder()
Returns
TypeDescription
Batch.StateHistory.Builder

newBuilder(Batch.StateHistory prototype)

public static Batch.StateHistory.Builder newBuilder(Batch.StateHistory prototype)
Parameter
NameDescription
prototypeBatch.StateHistory
Returns
TypeDescription
Batch.StateHistory.Builder

parseDelimitedFrom(InputStream input)

public static Batch.StateHistory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Batch.StateHistory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Batch.StateHistory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Batch.StateHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Batch.StateHistory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Batch.StateHistory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Batch.StateHistory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Batch.StateHistory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Batch.StateHistory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Batch.StateHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Batch.StateHistory> parser()
Returns
TypeDescription
Parser<StateHistory>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Batch.StateHistory getDefaultInstanceForType()
Returns
TypeDescription
Batch.StateHistory

getParserForType()

public Parser<Batch.StateHistory> getParserForType()
Returns
TypeDescription
Parser<StateHistory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public Batch.State getState()

Output only. The state of the batch at this point in history.

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

Returns
TypeDescription
Batch.State

The state.

getStateMessage()

public String getStateMessage()

Output only. Details about the state at this point in history.

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

Returns
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. Details about the state at this point in history.

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

Returns
TypeDescription
ByteString

The bytes for stateMessage.

getStateStartTime()

public Timestamp getStateStartTime()

Output only. The time when the batch entered the historical state.

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

Returns
TypeDescription
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time when the batch entered the historical state.

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

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. The state of the batch at this point in history.

.google.cloud.dataproc.v1.Batch.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 when the batch entered the historical state.

.google.protobuf.Timestamp state_start_time = 3 [(.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 Batch.StateHistory.Builder newBuilderForType()
Returns
TypeDescription
Batch.StateHistory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Batch.StateHistory.Builder toBuilder()
Returns
TypeDescription
Batch.StateHistory.Builder

writeTo(CodedOutputStream output)

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