Package com.google.dataflow.v1beta3
Class StageSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
com.google.dataflow.v1beta3.StageSummary.Builder
- All Implemented Interfaces:
StageSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StageSummary
public static final class StageSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
implements StageSummaryOrBuilder
Information about a particular execution stage of a job.Protobuf type
google.dataflow.v1beta3.StageSummary-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics(Iterable<? extends MetricUpdate> values) Metrics for this stage.addMetrics(int index, MetricUpdate value) Metrics for this stage.addMetrics(int index, MetricUpdate.Builder builderForValue) Metrics for this stage.addMetrics(MetricUpdate value) Metrics for this stage.addMetrics(MetricUpdate.Builder builderForValue) Metrics for this stage.Metrics for this stage.addMetricsBuilder(int index) Metrics for this stage.build()clear()End time of this stage.Metrics for this stage.Progress for this stage.ID of this stageStart time of this stage.State of this stage.Straggler summary for this stage.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampEnd time of this stage.com.google.protobuf.Timestamp.BuilderEnd time of this stage.com.google.protobuf.TimestampOrBuilderEnd time of this stage.getMetrics(int index) Metrics for this stage.getMetricsBuilder(int index) Metrics for this stage.Metrics for this stage.intMetrics for this stage.Metrics for this stage.getMetricsOrBuilder(int index) Metrics for this stage.List<? extends MetricUpdateOrBuilder>Metrics for this stage.Progress for this stage.Progress for this stage.Progress for this stage.ID of this stagecom.google.protobuf.ByteStringID of this stagecom.google.protobuf.TimestampStart time of this stage.com.google.protobuf.Timestamp.BuilderStart time of this stage.com.google.protobuf.TimestampOrBuilderStart time of this stage.getState()State of this stage.intState of this stage.Straggler summary for this stage.Straggler summary for this stage.Straggler summary for this stage.booleanEnd time of this stage.booleanProgress for this stage.booleanStart time of this stage.booleanStraggler summary for this stage.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) End time of this stage.mergeFrom(StageSummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProgress(ProgressTimeseries value) Progress for this stage.mergeStartTime(com.google.protobuf.Timestamp value) Start time of this stage.Straggler summary for this stage.removeMetrics(int index) Metrics for this stage.setEndTime(com.google.protobuf.Timestamp value) End time of this stage.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) End time of this stage.setMetrics(int index, MetricUpdate value) Metrics for this stage.setMetrics(int index, MetricUpdate.Builder builderForValue) Metrics for this stage.setProgress(ProgressTimeseries value) Progress for this stage.setProgress(ProgressTimeseries.Builder builderForValue) Progress for this stage.setStageId(String value) ID of this stagesetStageIdBytes(com.google.protobuf.ByteString value) ID of this stagesetStartTime(com.google.protobuf.Timestamp value) Start time of this stage.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Start time of this stage.setState(ExecutionState value) State of this stage.setStateValue(int value) State of this stage.Straggler summary for this stage.setStragglerSummary(StragglerSummary.Builder builderForValue) Straggler summary for this stage.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StageSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
-
mergeFrom
public StageSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StageSummary.Builder>- Throws:
IOException
-
getStageId
ID of this stage
string stage_id = 1;- Specified by:
getStageIdin interfaceStageSummaryOrBuilder- Returns:
- The stageId.
-
getStageIdBytes
public com.google.protobuf.ByteString getStageIdBytes()ID of this stage
string stage_id = 1;- Specified by:
getStageIdBytesin interfaceStageSummaryOrBuilder- Returns:
- The bytes for stageId.
-
setStageId
ID of this stage
string stage_id = 1;- Parameters:
value- The stageId to set.- Returns:
- This builder for chaining.
-
clearStageId
ID of this stage
string stage_id = 1;- Returns:
- This builder for chaining.
-
setStageIdBytes
ID of this stage
string stage_id = 1;- Parameters:
value- The bytes for stageId to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()State of this stage.
.google.dataflow.v1beta3.ExecutionState state = 2;- Specified by:
getStateValuein interfaceStageSummaryOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
State of this stage.
.google.dataflow.v1beta3.ExecutionState state = 2;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
State of this stage.
.google.dataflow.v1beta3.ExecutionState state = 2;- Specified by:
getStatein interfaceStageSummaryOrBuilder- Returns:
- The state.
-
setState
State of this stage.
.google.dataflow.v1beta3.ExecutionState state = 2;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
State of this stage.
.google.dataflow.v1beta3.ExecutionState state = 2;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Start time of this stage.
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceStageSummaryOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Start time of this stage.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceStageSummaryOrBuilder- Returns:
- The startTime.
-
setStartTime
Start time of this stage.
.google.protobuf.Timestamp start_time = 3; -
setStartTime
Start time of this stage.
.google.protobuf.Timestamp start_time = 3; -
mergeStartTime
Start time of this stage.
.google.protobuf.Timestamp start_time = 3; -
clearStartTime
Start time of this stage.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Start time of this stage.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of this stage.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceStageSummaryOrBuilder
-
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;- Specified by:
hasEndTimein interfaceStageSummaryOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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;- Specified by:
getEndTimein interfaceStageSummaryOrBuilder- Returns:
- The endTime.
-
setEndTime
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; -
setEndTime
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; -
mergeEndTime
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; -
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; -
getEndTimeBuilder
public com.google.protobuf.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; -
getEndTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getEndTimeOrBuilderin interfaceStageSummaryOrBuilder
-
hasProgress
public boolean hasProgress()Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5;- Specified by:
hasProgressin interfaceStageSummaryOrBuilder- Returns:
- Whether the progress field is set.
-
getProgress
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5;- Specified by:
getProgressin interfaceStageSummaryOrBuilder- Returns:
- The progress.
-
setProgress
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5; -
setProgress
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5; -
mergeProgress
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5; -
clearProgress
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5; -
getProgressBuilder
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5; -
getProgressOrBuilder
Progress for this stage. Only applicable to Batch jobs.
.google.dataflow.v1beta3.ProgressTimeseries progress = 5;- Specified by:
getProgressOrBuilderin interfaceStageSummaryOrBuilder
-
getMetricsList
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;- Specified by:
getMetricsListin interfaceStageSummaryOrBuilder
-
getMetricsCount
public int getMetricsCount()Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;- Specified by:
getMetricsCountin interfaceStageSummaryOrBuilder
-
getMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;- Specified by:
getMetricsin interfaceStageSummaryOrBuilder
-
setMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
setMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addAllMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
clearMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
removeMetrics
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
getMetricsBuilder
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
getMetricsOrBuilder
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;- Specified by:
getMetricsOrBuilderin interfaceStageSummaryOrBuilder
-
getMetricsOrBuilderList
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;- Specified by:
getMetricsOrBuilderListin interfaceStageSummaryOrBuilder
-
addMetricsBuilder
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
addMetricsBuilder
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
getMetricsBuilderList
Metrics for this stage.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6; -
hasStragglerSummary
public boolean hasStragglerSummary()Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;- Specified by:
hasStragglerSummaryin interfaceStageSummaryOrBuilder- Returns:
- Whether the stragglerSummary field is set.
-
getStragglerSummary
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;- Specified by:
getStragglerSummaryin interfaceStageSummaryOrBuilder- Returns:
- The stragglerSummary.
-
setStragglerSummary
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7; -
setStragglerSummary
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7; -
mergeStragglerSummary
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7; -
clearStragglerSummary
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7; -
getStragglerSummaryBuilder
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7; -
getStragglerSummaryOrBuilder
Straggler summary for this stage.
.google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;- Specified by:
getStragglerSummaryOrBuilderin interfaceStageSummaryOrBuilder
-