Class CalculateStatsResponse.TimeSeries.Builder (2.44.0)

public static final class CalculateStatsResponse.TimeSeries.Builder extends GeneratedMessageV3.Builder<CalculateStatsResponse.TimeSeries.Builder> implements CalculateStatsResponse.TimeSeriesOrBuilder

A time series representing conversations over time.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries

Static Methods

getDescriptor()

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

Methods

addAllPoints(Iterable<? extends CalculateStatsResponse.TimeSeries.Interval> values)

public CalculateStatsResponse.TimeSeries.Builder addAllPoints(Iterable<? extends CalculateStatsResponse.TimeSeries.Interval> values)

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
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval>
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

addPoints(CalculateStatsResponse.TimeSeries.Interval value)

public CalculateStatsResponse.TimeSeries.Builder addPoints(CalculateStatsResponse.TimeSeries.Interval value)

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

addPoints(CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

public CalculateStatsResponse.TimeSeries.Builder addPoints(CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

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

addPoints(int index, CalculateStatsResponse.TimeSeries.Interval value)

public CalculateStatsResponse.TimeSeries.Builder addPoints(int index, CalculateStatsResponse.TimeSeries.Interval value)

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;

Parameters
Name Description
index int
value CalculateStatsResponse.TimeSeries.Interval
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

addPoints(int index, CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

public CalculateStatsResponse.TimeSeries.Builder addPoints(int index, CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue CalculateStatsResponse.TimeSeries.Interval.Builder
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

addPointsBuilder()

public CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder()

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
CalculateStatsResponse.TimeSeries.Interval.Builder

addPointsBuilder(int index)

public CalculateStatsResponse.TimeSeries.Interval.Builder addPointsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CalculateStatsResponse.TimeSeries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

build()

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

buildPartial()

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

clear()

public CalculateStatsResponse.TimeSeries.Builder clear()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CalculateStatsResponse.TimeSeries.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

clearIntervalDuration()

public CalculateStatsResponse.TimeSeries.Builder clearIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateStatsResponse.TimeSeries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

clearPoints()

public CalculateStatsResponse.TimeSeries.Builder clearPoints()

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
CalculateStatsResponse.TimeSeries.Builder

clone()

public CalculateStatsResponse.TimeSeries.Builder clone()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIntervalDuration()

public Duration getIntervalDuration()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
Duration

The intervalDuration.

getIntervalDurationBuilder()

public Duration.Builder getIntervalDurationBuilder()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
Builder

getIntervalDurationOrBuilder()

public DurationOrBuilder getIntervalDurationOrBuilder()

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Returns
Type Description
DurationOrBuilder

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

getPointsBuilder(int index)

public CalculateStatsResponse.TimeSeries.Interval.Builder getPointsBuilder(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.Builder

getPointsBuilderList()

public List<CalculateStatsResponse.TimeSeries.Interval.Builder> getPointsBuilderList()

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<Builder>

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CalculateStatsResponse.TimeSeries other)

public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CalculateStatsResponse.TimeSeries other)
Parameter
Name Description
other CalculateStatsResponse.TimeSeries
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CalculateStatsResponse.TimeSeries.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

mergeIntervalDuration(Duration value)

public CalculateStatsResponse.TimeSeries.Builder mergeIntervalDuration(Duration value)

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

removePoints(int index)

public CalculateStatsResponse.TimeSeries.Builder removePoints(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.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateStatsResponse.TimeSeries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

setIntervalDuration(Duration value)

public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(Duration value)

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

setIntervalDuration(Duration.Builder builderForValue)

public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(Duration.Builder builderForValue)

The duration of each interval.

.google.protobuf.Duration interval_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

setPoints(int index, CalculateStatsResponse.TimeSeries.Interval value)

public CalculateStatsResponse.TimeSeries.Builder setPoints(int index, CalculateStatsResponse.TimeSeries.Interval value)

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;

Parameters
Name Description
index int
value CalculateStatsResponse.TimeSeries.Interval
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

setPoints(int index, CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

public CalculateStatsResponse.TimeSeries.Builder setPoints(int index, CalculateStatsResponse.TimeSeries.Interval.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue CalculateStatsResponse.TimeSeries.Interval.Builder
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CalculateStatsResponse.TimeSeries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateStatsResponse.TimeSeries.Builder
Overrides