Class StragglerSummary.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StragglerSummary.Builder>
com.google.dataflow.v1beta3.StragglerSummary.Builder
All Implemented Interfaces:
StragglerSummaryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StragglerSummary

public static final class StragglerSummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<StragglerSummary.Builder> implements StragglerSummaryOrBuilder
 Summarized straggler identification details.
 
Protobuf type google.dataflow.v1beta3.StragglerSummary
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StragglerSummary.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StragglerSummary.Builder>
    • internalGetFieldAccessorTable

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

      public StragglerSummary.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<StragglerSummary.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<StragglerSummary.Builder>
    • getDefaultInstanceForType

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

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

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

      public StragglerSummary.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<StragglerSummary.Builder>
    • mergeFrom

      public StragglerSummary.Builder mergeFrom(StragglerSummary other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StragglerSummary.Builder>
    • mergeFrom

      public StragglerSummary.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<StragglerSummary.Builder>
      Throws:
      IOException
    • getTotalStragglerCount

      public long getTotalStragglerCount()
       The total count of stragglers.
       
      int64 total_straggler_count = 1;
      Specified by:
      getTotalStragglerCount in interface StragglerSummaryOrBuilder
      Returns:
      The totalStragglerCount.
    • setTotalStragglerCount

      public StragglerSummary.Builder setTotalStragglerCount(long value)
       The total count of stragglers.
       
      int64 total_straggler_count = 1;
      Parameters:
      value - The totalStragglerCount to set.
      Returns:
      This builder for chaining.
    • clearTotalStragglerCount

      public StragglerSummary.Builder clearTotalStragglerCount()
       The total count of stragglers.
       
      int64 total_straggler_count = 1;
      Returns:
      This builder for chaining.
    • getStragglerCauseCountCount

      public int getStragglerCauseCountCount()
      Description copied from interface: StragglerSummaryOrBuilder
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
      Specified by:
      getStragglerCauseCountCount in interface StragglerSummaryOrBuilder
    • containsStragglerCauseCount

      public boolean containsStragglerCauseCount(String key)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
      Specified by:
      containsStragglerCauseCount in interface StragglerSummaryOrBuilder
    • getStragglerCauseCount

      @Deprecated public Map<String,Long> getStragglerCauseCount()
      Deprecated.
      Specified by:
      getStragglerCauseCount in interface StragglerSummaryOrBuilder
    • getStragglerCauseCountMap

      public Map<String,Long> getStragglerCauseCountMap()
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
      Specified by:
      getStragglerCauseCountMap in interface StragglerSummaryOrBuilder
    • getStragglerCauseCountOrDefault

      public long getStragglerCauseCountOrDefault(String key, long defaultValue)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
      Specified by:
      getStragglerCauseCountOrDefault in interface StragglerSummaryOrBuilder
    • getStragglerCauseCountOrThrow

      public long getStragglerCauseCountOrThrow(String key)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
      Specified by:
      getStragglerCauseCountOrThrow in interface StragglerSummaryOrBuilder
    • clearStragglerCauseCount

      public StragglerSummary.Builder clearStragglerCauseCount()
    • removeStragglerCauseCount

      public StragglerSummary.Builder removeStragglerCauseCount(String key)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
    • getMutableStragglerCauseCount

      @Deprecated public Map<String,Long> getMutableStragglerCauseCount()
      Deprecated.
      Use alternate mutation accessors instead.
    • putStragglerCauseCount

      public StragglerSummary.Builder putStragglerCauseCount(String key, long value)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
    • putAllStragglerCauseCount

      public StragglerSummary.Builder putAllStragglerCauseCount(Map<String,Long> values)
       Aggregated counts of straggler causes, keyed by the string representation
       of the StragglerCause enum.
       
      map<string, int64> straggler_cause_count = 2;
    • getRecentStragglersList

      public List<Straggler> getRecentStragglersList()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
      Specified by:
      getRecentStragglersList in interface StragglerSummaryOrBuilder
    • getRecentStragglersCount

      public int getRecentStragglersCount()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
      Specified by:
      getRecentStragglersCount in interface StragglerSummaryOrBuilder
    • getRecentStragglers

      public Straggler getRecentStragglers(int index)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
      Specified by:
      getRecentStragglers in interface StragglerSummaryOrBuilder
    • setRecentStragglers

      public StragglerSummary.Builder setRecentStragglers(int index, Straggler value)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • setRecentStragglers

      public StragglerSummary.Builder setRecentStragglers(int index, Straggler.Builder builderForValue)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addRecentStragglers

      public StragglerSummary.Builder addRecentStragglers(Straggler value)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addRecentStragglers

      public StragglerSummary.Builder addRecentStragglers(int index, Straggler value)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addRecentStragglers

      public StragglerSummary.Builder addRecentStragglers(Straggler.Builder builderForValue)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addRecentStragglers

      public StragglerSummary.Builder addRecentStragglers(int index, Straggler.Builder builderForValue)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addAllRecentStragglers

      public StragglerSummary.Builder addAllRecentStragglers(Iterable<? extends Straggler> values)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • clearRecentStragglers

      public StragglerSummary.Builder clearRecentStragglers()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • removeRecentStragglers

      public StragglerSummary.Builder removeRecentStragglers(int index)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • getRecentStragglersBuilder

      public Straggler.Builder getRecentStragglersBuilder(int index)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • getRecentStragglersOrBuilder

      public StragglerOrBuilder getRecentStragglersOrBuilder(int index)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
      Specified by:
      getRecentStragglersOrBuilder in interface StragglerSummaryOrBuilder
    • getRecentStragglersOrBuilderList

      public List<? extends StragglerOrBuilder> getRecentStragglersOrBuilderList()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
      Specified by:
      getRecentStragglersOrBuilderList in interface StragglerSummaryOrBuilder
    • addRecentStragglersBuilder

      public Straggler.Builder addRecentStragglersBuilder()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • addRecentStragglersBuilder

      public Straggler.Builder addRecentStragglersBuilder(int index)
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;
    • getRecentStragglersBuilderList

      public List<Straggler.Builder> getRecentStragglersBuilderList()
       The most recent stragglers.
       
      repeated .google.dataflow.v1beta3.Straggler recent_stragglers = 3;