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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
    • clear

      public StageSummary.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StageSummary.Builder>
    • getDefaultInstanceForType

      public StageSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StageSummary build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StageSummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StageSummary.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StageSummary.Builder>
    • mergeFrom

      public StageSummary.Builder mergeFrom(StageSummary other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StageSummary.Builder>
      Throws:
      IOException
    • getStageId

      public String getStageId()
       ID of this stage
       
      string stage_id = 1;
      Specified by:
      getStageId in interface StageSummaryOrBuilder
      Returns:
      The stageId.
    • getStageIdBytes

      public com.google.protobuf.ByteString getStageIdBytes()
       ID of this stage
       
      string stage_id = 1;
      Specified by:
      getStageIdBytes in interface StageSummaryOrBuilder
      Returns:
      The bytes for stageId.
    • setStageId

      public StageSummary.Builder setStageId(String value)
       ID of this stage
       
      string stage_id = 1;
      Parameters:
      value - The stageId to set.
      Returns:
      This builder for chaining.
    • clearStageId

      public StageSummary.Builder clearStageId()
       ID of this stage
       
      string stage_id = 1;
      Returns:
      This builder for chaining.
    • setStageIdBytes

      public StageSummary.Builder setStageIdBytes(com.google.protobuf.ByteString value)
       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:
      getStateValue in interface StageSummaryOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public StageSummary.Builder setStateValue(int value)
       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

      public ExecutionState getState()
       State of this stage.
       
      .google.dataflow.v1beta3.ExecutionState state = 2;
      Specified by:
      getState in interface StageSummaryOrBuilder
      Returns:
      The state.
    • setState

      public StageSummary.Builder setState(ExecutionState value)
       State of this stage.
       
      .google.dataflow.v1beta3.ExecutionState state = 2;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public StageSummary.Builder 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:
      hasStartTime in interface StageSummaryOrBuilder
      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:
      getStartTime in interface StageSummaryOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public StageSummary.Builder setStartTime(com.google.protobuf.Timestamp value)
       Start time of this stage.
       
      .google.protobuf.Timestamp start_time = 3;
    • setStartTime

      public StageSummary.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Start time of this stage.
       
      .google.protobuf.Timestamp start_time = 3;
    • mergeStartTime

      public StageSummary.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Start time of this stage.
       
      .google.protobuf.Timestamp start_time = 3;
    • clearStartTime

      public StageSummary.Builder 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:
      getStartTimeOrBuilder in interface StageSummaryOrBuilder
    • 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:
      hasEndTime in interface StageSummaryOrBuilder
      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:
      getEndTime in interface StageSummaryOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public StageSummary.Builder setEndTime(com.google.protobuf.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;
    • setEndTime

      public StageSummary.Builder setEndTime(com.google.protobuf.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;
    • mergeEndTime

      public StageSummary.Builder mergeEndTime(com.google.protobuf.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;
    • 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;
    • 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:
      getEndTimeOrBuilder in interface StageSummaryOrBuilder
    • hasProgress

      public boolean hasProgress()
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
      Specified by:
      hasProgress in interface StageSummaryOrBuilder
      Returns:
      Whether the progress field is set.
    • getProgress

      public ProgressTimeseries getProgress()
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
      Specified by:
      getProgress in interface StageSummaryOrBuilder
      Returns:
      The progress.
    • setProgress

      public StageSummary.Builder setProgress(ProgressTimeseries value)
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
    • setProgress

      public StageSummary.Builder setProgress(ProgressTimeseries.Builder builderForValue)
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
    • mergeProgress

      public StageSummary.Builder mergeProgress(ProgressTimeseries value)
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
    • clearProgress

      public StageSummary.Builder clearProgress()
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
    • getProgressBuilder

      public ProgressTimeseries.Builder getProgressBuilder()
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
    • getProgressOrBuilder

      public ProgressTimeseriesOrBuilder getProgressOrBuilder()
       Progress for this stage.
       Only applicable to Batch jobs.
       
      .google.dataflow.v1beta3.ProgressTimeseries progress = 5;
      Specified by:
      getProgressOrBuilder in interface StageSummaryOrBuilder
    • getMetricsList

      public List<MetricUpdate> getMetricsList()
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
      Specified by:
      getMetricsList in interface StageSummaryOrBuilder
    • getMetricsCount

      public int getMetricsCount()
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
      Specified by:
      getMetricsCount in interface StageSummaryOrBuilder
    • getMetrics

      public MetricUpdate getMetrics(int index)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
      Specified by:
      getMetrics in interface StageSummaryOrBuilder
    • setMetrics

      public StageSummary.Builder setMetrics(int index, MetricUpdate value)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • setMetrics

      public StageSummary.Builder setMetrics(int index, MetricUpdate.Builder builderForValue)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addMetrics

      public StageSummary.Builder addMetrics(MetricUpdate value)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addMetrics

      public StageSummary.Builder addMetrics(int index, MetricUpdate value)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addMetrics

      public StageSummary.Builder addMetrics(MetricUpdate.Builder builderForValue)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addMetrics

      public StageSummary.Builder addMetrics(int index, MetricUpdate.Builder builderForValue)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addAllMetrics

      public StageSummary.Builder addAllMetrics(Iterable<? extends MetricUpdate> values)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • clearMetrics

      public StageSummary.Builder clearMetrics()
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • removeMetrics

      public StageSummary.Builder removeMetrics(int index)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • getMetricsBuilder

      public MetricUpdate.Builder getMetricsBuilder(int index)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • getMetricsOrBuilder

      public MetricUpdateOrBuilder getMetricsOrBuilder(int index)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
      Specified by:
      getMetricsOrBuilder in interface StageSummaryOrBuilder
    • getMetricsOrBuilderList

      public List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
      Specified by:
      getMetricsOrBuilderList in interface StageSummaryOrBuilder
    • addMetricsBuilder

      public MetricUpdate.Builder addMetricsBuilder()
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • addMetricsBuilder

      public MetricUpdate.Builder addMetricsBuilder(int index)
       Metrics for this stage.
       
      repeated .google.dataflow.v1beta3.MetricUpdate metrics = 6;
    • getMetricsBuilderList

      public List<MetricUpdate.Builder> 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:
      hasStragglerSummary in interface StageSummaryOrBuilder
      Returns:
      Whether the stragglerSummary field is set.
    • getStragglerSummary

      public StragglerSummary getStragglerSummary()
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
      Specified by:
      getStragglerSummary in interface StageSummaryOrBuilder
      Returns:
      The stragglerSummary.
    • setStragglerSummary

      public StageSummary.Builder setStragglerSummary(StragglerSummary value)
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
    • setStragglerSummary

      public StageSummary.Builder setStragglerSummary(StragglerSummary.Builder builderForValue)
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
    • mergeStragglerSummary

      public StageSummary.Builder mergeStragglerSummary(StragglerSummary value)
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
    • clearStragglerSummary

      public StageSummary.Builder clearStragglerSummary()
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
    • getStragglerSummaryBuilder

      public StragglerSummary.Builder getStragglerSummaryBuilder()
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
    • getStragglerSummaryOrBuilder

      public StragglerSummaryOrBuilder getStragglerSummaryOrBuilder()
       Straggler summary for this stage.
       
      .google.dataflow.v1beta3.StragglerSummary straggler_summary = 7;
      Specified by:
      getStragglerSummaryOrBuilder in interface StageSummaryOrBuilder