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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INTERVAL_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int POINTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static CalculateStatsResponse.TimeSeries getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CalculateStatsResponse.TimeSeries.Builder newBuilder()
public static CalculateStatsResponse.TimeSeries.Builder newBuilder(CalculateStatsResponse.TimeSeries prototype)
public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input)
public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data)
public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input)
public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input)
public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data)
public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CalculateStatsResponse.TimeSeries> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
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;
public Parser<CalculateStatsResponse.TimeSeries> getParserForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CalculateStatsResponse.TimeSeries.Builder newBuilderForType()
protected CalculateStatsResponse.TimeSeries.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public CalculateStatsResponse.TimeSeries.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides