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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
public CalculateStatsResponse.TimeSeries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CalculateStatsResponse.TimeSeries build()
public CalculateStatsResponse.TimeSeries buildPartial()
public CalculateStatsResponse.TimeSeries.Builder clear()
Overrides
public CalculateStatsResponse.TimeSeries.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CalculateStatsResponse.TimeSeries.Builder clearIntervalDuration()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
public CalculateStatsResponse.TimeSeries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public CalculateStatsResponse.TimeSeries.Builder clone()
Overrides
public CalculateStatsResponse.TimeSeries getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
public DurationOrBuilder getIntervalDurationOrBuilder()
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
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 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
|
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;
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 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()
Overrides
public final boolean isInitialized()
Overrides
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CalculateStatsResponse.TimeSeries other)
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public CalculateStatsResponse.TimeSeries.Builder mergeIntervalDuration(Duration value)
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
public final CalculateStatsResponse.TimeSeries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
public CalculateStatsResponse.TimeSeries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(Duration value)
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(Duration.Builder builderForValue)
The duration of each interval.
.google.protobuf.Duration interval_duration = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
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;
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;
public CalculateStatsResponse.TimeSeries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CalculateStatsResponse.TimeSeries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides