Class CalculateStatsResponse.TimeSeries

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

public static final class CalculateStatsResponse.TimeSeries extends com.google.protobuf.GeneratedMessage implements CalculateStatsResponse.TimeSeriesOrBuilder
 A time series representing conversations over time.
 
Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
See Also:
  • Field Details

    • INTERVAL_DURATION_FIELD_NUMBER

      public static final int INTERVAL_DURATION_FIELD_NUMBER
      See Also:
    • POINTS_FIELD_NUMBER

      public static final int POINTS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalculateStatsResponse.TimeSeries parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static CalculateStatsResponse.TimeSeries.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CalculateStatsResponse.TimeSeries.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CalculateStatsResponse.TimeSeries getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CalculateStatsResponse.TimeSeries> parser()
    • getParserForType

      public com.google.protobuf.Parser<CalculateStatsResponse.TimeSeries> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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