Class StageSummary (0.40.0)

public final class StageSummary extends GeneratedMessageV3 implements StageSummaryOrBuilder

Information about a particular execution stage of a job.

Protobuf type google.dataflow.v1beta3.StageSummary

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

STAGE_ID_FIELD_NUMBER

public static final int STAGE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StageSummary getDefaultInstance()
Returns
TypeDescription
StageSummary

getDescriptor()

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

newBuilder()

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

newBuilder(StageSummary prototype)

public static StageSummary.Builder newBuilder(StageSummary prototype)
Parameter
NameDescription
prototypeStageSummary
Returns
TypeDescription
StageSummary.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StageSummary getDefaultInstanceForType()
Returns
TypeDescription
StageSummary

getEndTime()

public Timestamp getEndTime()

End time of this stage.

If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End time of this stage.

If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getMetrics(int index)

public MetricUpdate getMetrics(int index)

Metrics for this stage.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdate

getMetricsCount()

public int getMetricsCount()

Metrics for this stage.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;

Returns
TypeDescription
int

getMetricsList()

public List<MetricUpdate> getMetricsList()

Metrics for this stage.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;

Returns
TypeDescription
List<MetricUpdate>

getMetricsOrBuilder(int index)

public MetricUpdateOrBuilder getMetricsOrBuilder(int index)

Metrics for this stage.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdateOrBuilder

getMetricsOrBuilderList()

public List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()

Metrics for this stage.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;

Returns
TypeDescription
List<? extends com.google.dataflow.v1beta3.MetricUpdateOrBuilder>

getParserForType()

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

getProgress()

public ProgressTimeseries getProgress()

Progress for this stage. Only applicable to Batch jobs.

.google.dataflow.v1beta3.ProgressTimeseries progress = 5;

Returns
TypeDescription
ProgressTimeseries

The progress.

getProgressOrBuilder()

public ProgressTimeseriesOrBuilder getProgressOrBuilder()

Progress for this stage. Only applicable to Batch jobs.

.google.dataflow.v1beta3.ProgressTimeseries progress = 5;

Returns
TypeDescription
ProgressTimeseriesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStageId()

public String getStageId()

ID of this stage

string stage_id = 1;

Returns
TypeDescription
String

The stageId.

getStageIdBytes()

public ByteString getStageIdBytes()

ID of this stage

string stage_id = 1;

Returns
TypeDescription
ByteString

The bytes for stageId.

getStartTime()

public Timestamp getStartTime()

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getState()

public ExecutionState getState()

State of this stage.

.google.dataflow.v1beta3.ExecutionState state = 2;

Returns
TypeDescription
ExecutionState

The state.

getStateValue()

public int getStateValue()

State of this stage.

.google.dataflow.v1beta3.ExecutionState state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasEndTime()

public boolean hasEndTime()

End time of this stage.

If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasProgress()

public boolean hasProgress()

Progress for this stage. Only applicable to Batch jobs.

.google.dataflow.v1beta3.ProgressTimeseries progress = 5;

Returns
TypeDescription
boolean

Whether the progress field is set.

hasStartTime()

public boolean hasStartTime()

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime 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 StageSummary.Builder newBuilderForType()
Returns
TypeDescription
StageSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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