Class CalculateStatsResponse.TimeSeries (2.44.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CalculateStatsResponse.TimeSeries

Static Fields

INTERVAL_DURATION_FIELD_NUMBER

public static final int INTERVAL_DURATION_FIELD_NUMBER
Field Value
Type Description
int

POINTS_FIELD_NUMBER

public static final int POINTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CalculateStatsResponse.TimeSeries getDefaultInstance()
Returns
Type Description
CalculateStatsResponse.TimeSeries

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CalculateStatsResponse.TimeSeries.Builder newBuilder()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

newBuilder(CalculateStatsResponse.TimeSeries prototype)

public static CalculateStatsResponse.TimeSeries.Builder newBuilder(CalculateStatsResponse.TimeSeries prototype)
Parameter
Name Description
prototype CalculateStatsResponse.TimeSeries
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

parseDelimitedFrom(InputStream input)

public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CalculateStatsResponse.TimeSeries> parser()
Returns
Type Description
Parser<TimeSeries>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
Returns
Type Description
CalculateStatsResponse.TimeSeries

getIntervalDuration()

public Duration getIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
Duration

The intervalDuration.

getIntervalDurationOrBuilder()

public DurationOrBuilder getIntervalDurationOrBuilder()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<CalculateStatsResponse.TimeSeries> getParserForType()
Returns
Type Description
Parser<TimeSeries>
Overrides

getPoints(int index)

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
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval

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;

Returns
Type Description
int

getPointsList()

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
Type Description
List<Interval>

getPointsOrBuilder(int index)

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
Returns
Type Description
CalculateStatsResponse.TimeSeries.IntervalOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasIntervalDuration()

public boolean hasIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
boolean

Whether the intervalDuration field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CalculateStatsResponse.TimeSeries.Builder newBuilderForType()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CalculateStatsResponse.TimeSeries.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CalculateStatsResponse.TimeSeries.Builder toBuilder()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException