public static final class CalculateStatsResponse.TimeSeries extends GeneratedMessageV3 implements CalculateStatsResponse.TimeSeriesOrBuilder
A time series representing conversations over time.
Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
Static Fields
public static final int INTERVAL_DURATION_FIELD_NUMBER
Field Value
public static final int POINTS_FIELD_NUMBER
Field Value
Static Methods
public static CalculateStatsResponse.TimeSeries getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CalculateStatsResponse.TimeSeries.Builder newBuilder()
Returns
public static CalculateStatsResponse.TimeSeries.Builder newBuilder(CalculateStatsResponse.TimeSeries prototype)
Parameter
Returns
public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CalculateStatsResponse.TimeSeries> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
Returns
public Duration getIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
Type | Description |
Duration | The intervalDuration.
|
public DurationOrBuilder getIntervalDurationOrBuilder()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
public Parser<CalculateStatsResponse.TimeSeries> getParserForType()
Returns
Overrides
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;
Parameter
Returns
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;
Returns
public List<CalculateStatsResponse.TimeSeries.Interval> 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;
Returns
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
Type | Description |
boolean | Whether the intervalDuration field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder newBuilderForType()
Returns
protected CalculateStatsResponse.TimeSeries.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions