Class CalculateStatsResponse.TimeSeries (2.6.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
TypeDescription
int

POINTS_FIELD_NUMBER

public static final int POINTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CalculateStatsResponse.TimeSeries getDefaultInstance()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CalculateStatsResponse.TimeSeries.Builder newBuilder()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder

newBuilder(CalculateStatsResponse.TimeSeries prototype)

public static CalculateStatsResponse.TimeSeries.Builder newBuilder(CalculateStatsResponse.TimeSeries prototype)
Parameter
NameDescription
prototypeCalculateStatsResponse.TimeSeries
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder

parseDelimitedFrom(InputStream input)

public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsResponse.TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsResponse.TimeSeries
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries

getIntervalDuration()

public Duration getIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
TypeDescription
Duration

The intervalDuration.

getIntervalDurationOrBuilder()

public DurationOrBuilder getIntervalDurationOrBuilder()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<CalculateStatsResponse.TimeSeries> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IntervalOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIntervalDuration()

public boolean hasIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
TypeDescription
boolean

Whether the intervalDuration field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CalculateStatsResponse.TimeSeries.Builder newBuilderForType()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CalculateStatsResponse.TimeSeries.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CalculateStatsResponse.TimeSeries.Builder toBuilder()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException