Class StageSummary.Builder (0.31.0)

public static final class StageSummary.Builder extends GeneratedMessageV3.Builder<StageSummary.Builder> implements StageSummaryOrBuilder

Information about a particular execution stage of a job.

Protobuf type google.dataflow.v1beta3.StageSummary

Static Methods

getDescriptor()

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

Methods

addAllMetrics(Iterable<? extends MetricUpdate> values)

public StageSummary.Builder addAllMetrics(Iterable<? extends MetricUpdate> values)

Metrics for this stage.

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

Parameter
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.MetricUpdate>
Returns
TypeDescription
StageSummary.Builder

addMetrics(MetricUpdate value)

public StageSummary.Builder addMetrics(MetricUpdate value)

Metrics for this stage.

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

Parameter
NameDescription
valueMetricUpdate
Returns
TypeDescription
StageSummary.Builder

addMetrics(MetricUpdate.Builder builderForValue)

public StageSummary.Builder addMetrics(MetricUpdate.Builder builderForValue)

Metrics for this stage.

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

Parameter
NameDescription
builderForValueMetricUpdate.Builder
Returns
TypeDescription
StageSummary.Builder

addMetrics(int index, MetricUpdate value)

public StageSummary.Builder addMetrics(int index, MetricUpdate value)

Metrics for this stage.

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

Parameters
NameDescription
indexint
valueMetricUpdate
Returns
TypeDescription
StageSummary.Builder

addMetrics(int index, MetricUpdate.Builder builderForValue)

public StageSummary.Builder addMetrics(int index, MetricUpdate.Builder builderForValue)

Metrics for this stage.

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

Parameters
NameDescription
indexint
builderForValueMetricUpdate.Builder
Returns
TypeDescription
StageSummary.Builder

addMetricsBuilder()

public MetricUpdate.Builder addMetricsBuilder()

Metrics for this stage.

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

Returns
TypeDescription
MetricUpdate.Builder

addMetricsBuilder(int index)

public MetricUpdate.Builder addMetricsBuilder(int index)

Metrics for this stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StageSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StageSummary.Builder
Overrides

build()

public StageSummary build()
Returns
TypeDescription
StageSummary

buildPartial()

public StageSummary buildPartial()
Returns
TypeDescription
StageSummary

clear()

public StageSummary.Builder clear()
Returns
TypeDescription
StageSummary.Builder
Overrides

clearEndTime()

public StageSummary.Builder clearEndTime()

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
StageSummary.Builder

clearField(Descriptors.FieldDescriptor field)

public StageSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StageSummary.Builder
Overrides

clearMetrics()

public StageSummary.Builder clearMetrics()

Metrics for this stage.

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

Returns
TypeDescription
StageSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StageSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StageSummary.Builder
Overrides

clearProgress()

public StageSummary.Builder clearProgress()

Progress for this stage. Only applicable to Batch jobs.

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

Returns
TypeDescription
StageSummary.Builder

clearStageId()

public StageSummary.Builder clearStageId()

ID of this stage

string stage_id = 1;

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

clearStartTime()

public StageSummary.Builder clearStartTime()

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
StageSummary.Builder

clearState()

public StageSummary.Builder clearState()

State of this stage.

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

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

clone()

public StageSummary.Builder clone()
Returns
TypeDescription
StageSummary.Builder
Overrides

getDefaultInstanceForType()

public StageSummary getDefaultInstanceForType()
Returns
TypeDescription
StageSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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
Builder

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

getMetricsBuilder(int index)

public MetricUpdate.Builder getMetricsBuilder(int index)

Metrics for this stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdate.Builder

getMetricsBuilderList()

public List<MetricUpdate.Builder> getMetricsBuilderList()

Metrics for this stage.

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

Returns
TypeDescription
List<Builder>

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>

getProgress()

public ProgressTimeseries getProgress()

Progress for this stage. Only applicable to Batch jobs.

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

Returns
TypeDescription
ProgressTimeseries

The progress.

getProgressBuilder()

public ProgressTimeseries.Builder getProgressBuilder()

Progress for this stage. Only applicable to Batch jobs.

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

Returns
TypeDescription
ProgressTimeseries.Builder

getProgressOrBuilder()

public ProgressTimeseriesOrBuilder getProgressOrBuilder()

Progress for this stage. Only applicable to Batch jobs.

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

Returns
TypeDescription
ProgressTimeseriesOrBuilder

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public StageSummary.Builder mergeEndTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StageSummary.Builder

mergeFrom(StageSummary other)

public StageSummary.Builder mergeFrom(StageSummary other)
Parameter
NameDescription
otherStageSummary
Returns
TypeDescription
StageSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StageSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StageSummary.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StageSummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StageSummary.Builder
Overrides

mergeProgress(ProgressTimeseries value)

public StageSummary.Builder mergeProgress(ProgressTimeseries value)

Progress for this stage. Only applicable to Batch jobs.

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

Parameter
NameDescription
valueProgressTimeseries
Returns
TypeDescription
StageSummary.Builder

mergeStartTime(Timestamp value)

public StageSummary.Builder mergeStartTime(Timestamp value)

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StageSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StageSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StageSummary.Builder
Overrides

removeMetrics(int index)

public StageSummary.Builder removeMetrics(int index)

Metrics for this stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StageSummary.Builder

setEndTime(Timestamp value)

public StageSummary.Builder setEndTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StageSummary.Builder

setEndTime(Timestamp.Builder builderForValue)

public StageSummary.Builder setEndTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
StageSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StageSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StageSummary.Builder
Overrides

setMetrics(int index, MetricUpdate value)

public StageSummary.Builder setMetrics(int index, MetricUpdate value)

Metrics for this stage.

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

Parameters
NameDescription
indexint
valueMetricUpdate
Returns
TypeDescription
StageSummary.Builder

setMetrics(int index, MetricUpdate.Builder builderForValue)

public StageSummary.Builder setMetrics(int index, MetricUpdate.Builder builderForValue)

Metrics for this stage.

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

Parameters
NameDescription
indexint
builderForValueMetricUpdate.Builder
Returns
TypeDescription
StageSummary.Builder

setProgress(ProgressTimeseries value)

public StageSummary.Builder setProgress(ProgressTimeseries value)

Progress for this stage. Only applicable to Batch jobs.

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

Parameter
NameDescription
valueProgressTimeseries
Returns
TypeDescription
StageSummary.Builder

setProgress(ProgressTimeseries.Builder builderForValue)

public StageSummary.Builder setProgress(ProgressTimeseries.Builder builderForValue)

Progress for this stage. Only applicable to Batch jobs.

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

Parameter
NameDescription
builderForValueProgressTimeseries.Builder
Returns
TypeDescription
StageSummary.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StageSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StageSummary.Builder
Overrides

setStageId(String value)

public StageSummary.Builder setStageId(String value)

ID of this stage

string stage_id = 1;

Parameter
NameDescription
valueString

The stageId to set.

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

setStageIdBytes(ByteString value)

public StageSummary.Builder setStageIdBytes(ByteString value)

ID of this stage

string stage_id = 1;

Parameter
NameDescription
valueByteString

The bytes for stageId to set.

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

setStartTime(Timestamp value)

public StageSummary.Builder setStartTime(Timestamp value)

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StageSummary.Builder

setStartTime(Timestamp.Builder builderForValue)

public StageSummary.Builder setStartTime(Timestamp.Builder builderForValue)

Start time of this stage.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
StageSummary.Builder

setState(ExecutionState value)

public StageSummary.Builder setState(ExecutionState value)

State of this stage.

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

Parameter
NameDescription
valueExecutionState

The state to set.

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

setStateValue(int value)

public StageSummary.Builder setStateValue(int value)

State of this stage.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
StageSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final StageSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StageSummary.Builder
Overrides