Class Session.SessionStateHistory (4.38.0)

public static final class Session.SessionStateHistory extends GeneratedMessageV3 implements Session.SessionStateHistoryOrBuilder

Historical state information.

Protobuf type google.cloud.dataproc.v1.Session.SessionStateHistory

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 Session.SessionStateHistory getDefaultInstance()
Returns
TypeDescription
Session.SessionStateHistory

getDescriptor()

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

newBuilder()

public static Session.SessionStateHistory.Builder newBuilder()
Returns
TypeDescription
Session.SessionStateHistory.Builder

newBuilder(Session.SessionStateHistory prototype)

public static Session.SessionStateHistory.Builder newBuilder(Session.SessionStateHistory prototype)
Parameter
NameDescription
prototypeSession.SessionStateHistory
Returns
TypeDescription
Session.SessionStateHistory.Builder

parseDelimitedFrom(InputStream input)

public static Session.SessionStateHistory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Session.SessionStateHistory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Session.SessionStateHistory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Session.SessionStateHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Session.SessionStateHistory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Session.SessionStateHistory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Session.SessionStateHistory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Session.SessionStateHistory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Session.SessionStateHistory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Session.SessionStateHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Session.SessionStateHistory> parser()
Returns
TypeDescription
Parser<SessionStateHistory>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Session.SessionStateHistory getDefaultInstanceForType()
Returns
TypeDescription
Session.SessionStateHistory

getParserForType()

public Parser<Session.SessionStateHistory> getParserForType()
Returns
TypeDescription
Parser<SessionStateHistory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public Session.State getState()

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

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

Returns
TypeDescription
Session.State

The state.

getStateMessage()

public String getStateMessage()

Output only. Details about the state at this point in the session 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 the session 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 session 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 session 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 session at this point in the session history.

.google.cloud.dataproc.v1.Session.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 session 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 Session.SessionStateHistory.Builder newBuilderForType()
Returns
TypeDescription
Session.SessionStateHistory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Session.SessionStateHistory.Builder toBuilder()
Returns
TypeDescription
Session.SessionStateHistory.Builder

writeTo(CodedOutputStream output)

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