Class CalculateStatsResponse.TimeSeries.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder
All Implemented Interfaces:
CalculateStatsResponse.TimeSeriesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CalculateStatsResponse.TimeSeries

public static final class CalculateStatsResponse.TimeSeries.Builder extends com.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder> implements CalculateStatsResponse.TimeSeriesOrBuilder
 A time series representing conversations over time.
 
Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
  • 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<CalculateStatsResponse.TimeSeries.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<CalculateStatsResponse.TimeSeries.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<CalculateStatsResponse.TimeSeries.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public CalculateStatsResponse.TimeSeries.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<CalculateStatsResponse.TimeSeries.Builder>
      Throws:
      IOException
    • hasIntervalDuration

      public boolean hasIntervalDuration()
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
      Specified by:
      hasIntervalDuration in interface CalculateStatsResponse.TimeSeriesOrBuilder
      Returns:
      Whether the intervalDuration field is set.
    • getIntervalDuration

      public com.google.protobuf.Duration getIntervalDuration()
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
      Specified by:
      getIntervalDuration in interface CalculateStatsResponse.TimeSeriesOrBuilder
      Returns:
      The intervalDuration.
    • setIntervalDuration

      public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(com.google.protobuf.Duration value)
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
    • setIntervalDuration

      public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderForValue)
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
    • mergeIntervalDuration

      public CalculateStatsResponse.TimeSeries.Builder mergeIntervalDuration(com.google.protobuf.Duration value)
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
    • clearIntervalDuration

      public CalculateStatsResponse.TimeSeries.Builder clearIntervalDuration()
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
    • getIntervalDurationBuilder

      public com.google.protobuf.Duration.Builder getIntervalDurationBuilder()
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
    • getIntervalDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder()
       The duration of each interval.
       
      .google.protobuf.Duration interval_duration = 1;
      Specified by:
      getIntervalDurationOrBuilder in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • getPointsList

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
      Specified by:
      getPointsList in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • getPointsCount

      public int getPointsCount()
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
      Specified by:
      getPointsCount in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • getPoints

      public CalculateStatsResponse.TimeSeries.Interval getPoints(int index)
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
      Specified by:
      getPoints in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • setPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • setPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addAllPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • clearPoints

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • removePoints

      public CalculateStatsResponse.TimeSeries.Builder removePoints(int index)
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • getPointsBuilder

      public CalculateStatsResponse.TimeSeries.Interval.Builder getPointsBuilder(int index)
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • getPointsOrBuilder

      public CalculateStatsResponse.TimeSeries.IntervalOrBuilder getPointsOrBuilder(int index)
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
      Specified by:
      getPointsOrBuilder in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • getPointsOrBuilderList

      public List<? extends CalculateStatsResponse.TimeSeries.IntervalOrBuilder> getPointsOrBuilderList()
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
      Specified by:
      getPointsOrBuilderList in interface CalculateStatsResponse.TimeSeriesOrBuilder
    • addPointsBuilder

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • addPointsBuilder

      public CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder(int index)
       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;
    • getPointsBuilderList

       An ordered list of intervals from earliest to latest, where each interval
       represents the number of conversations that transpired during the time
       window.
       
      repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2;