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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public CalculateStatsResponse.TimeSeries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CalculateStatsResponse.TimeSeries build()
Returns
public CalculateStatsResponse.TimeSeries buildPartial()
Returns
public CalculateStatsResponse.TimeSeries.Builder clear()
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder clearIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
public CalculateStatsResponse.TimeSeries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CalculateStatsResponse.TimeSeries.Builder clone()
Returns
Overrides
public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Duration getIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
Type | Description |
Duration | The intervalDuration.
|
public Duration.Builder getIntervalDurationBuilder()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
public DurationOrBuilder getIntervalDurationOrBuilder()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
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 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
Returns
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
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 boolean hasIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Returns
Type | Description |
boolean | Whether the intervalDuration field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CalculateStatsResponse.TimeSeries other)
Parameter
Returns
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder mergeIntervalDuration(Duration value)
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Parameter
Returns
public final CalculateStatsResponse.TimeSeries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public CalculateStatsResponse.TimeSeries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(Duration value)
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Parameter
Returns
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
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
Returns
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
Returns
public CalculateStatsResponse.TimeSeries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CalculateStatsResponse.TimeSeries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides