Class ClusterStatus (4.0.2)

Stay organized with collections Save and categorize content based on your preferences.
public final class ClusterStatus extends GeneratedMessageV3 implements ClusterStatusOrBuilder

The status of a cluster and its instances.

Protobuf type google.cloud.dataproc.v1.ClusterStatus

Static Fields

DETAIL_FIELD_NUMBER

public static final int DETAIL_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

SUBSTATE_FIELD_NUMBER

public static final int SUBSTATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterStatus getDefaultInstance()
Returns
TypeDescription
ClusterStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterStatus prototype)

public static ClusterStatus.Builder newBuilder(ClusterStatus prototype)
Parameter
NameDescription
prototypeClusterStatus
Returns
TypeDescription
ClusterStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ClusterStatus getDefaultInstanceForType()
Returns
TypeDescription
ClusterStatus

getDetail()

public String getDetail()

Optional. Output only. Details of cluster's state.

string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Optional. Output only. Details of cluster's state.

string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for detail.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public ClusterStatus.State getState()

Output only. The cluster's state.

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

Returns
TypeDescription
ClusterStatus.State

The state.

getStateStartTime()

public Timestamp getStateStartTime()

Output only. Time when this state was entered (see JSON representation of Timestamp).

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

Returns
TypeDescription
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. Time when this state was entered (see JSON representation of Timestamp).

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

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. The cluster's state.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSubstate()

public ClusterStatus.Substate getSubstate()

Output only. Additional state information that includes status reported by the agent.

.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterStatus.Substate

The substate.

getSubstateValue()

public int getSubstateValue()

Output only. Additional state information that includes status reported by the agent.

.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for substate.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasStateStartTime()

public boolean hasStateStartTime()

Output only. Time when this state was entered (see JSON representation of Timestamp).

.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 ClusterStatus.Builder newBuilderForType()
Returns
TypeDescription
ClusterStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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