Class CalculateStatsResponse.TimeSeries.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder
- All Implemented Interfaces:
CalculateStatsResponse.TimeSeriesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CalculateStatsResponse.TimeSeries
public static final class CalculateStatsResponse.TimeSeries.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
implements CalculateStatsResponse.TimeSeriesOrBuilder
A time series representing conversations over time.Protobuf type
google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries-
Method Summary
Modifier and TypeMethodDescriptionaddAllPoints(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.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.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.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.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.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.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.build()clear()The duration of each interval.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe duration of each interval.com.google.protobuf.Duration.BuilderThe duration of each interval.com.google.protobuf.DurationOrBuilderThe duration of each 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.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.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.intAn ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.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.An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.booleanThe duration of each interval.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIntervalDuration(com.google.protobuf.Duration value) The duration of each interval.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.setIntervalDuration(com.google.protobuf.Duration value) The duration of each interval.setIntervalDuration(com.google.protobuf.Duration.Builder builderForValue) The duration of each interval.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>
-
mergeFrom
public CalculateStatsResponse.TimeSeries.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CalculateStatsResponse.TimeSeries.Builder>- Throws:
IOException
-
hasIntervalDuration
public boolean hasIntervalDuration()The duration of each interval.
.google.protobuf.Duration interval_duration = 1;- Specified by:
hasIntervalDurationin interfaceCalculateStatsResponse.TimeSeriesOrBuilder- Returns:
- Whether the intervalDuration field is set.
-
getIntervalDuration
public com.google.protobuf.Duration getIntervalDuration()The duration of each interval.
.google.protobuf.Duration interval_duration = 1;- Specified by:
getIntervalDurationin interfaceCalculateStatsResponse.TimeSeriesOrBuilder- Returns:
- The intervalDuration.
-
setIntervalDuration
public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(com.google.protobuf.Duration value) The duration of each interval.
.google.protobuf.Duration interval_duration = 1; -
setIntervalDuration
public CalculateStatsResponse.TimeSeries.Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderForValue) The duration of each interval.
.google.protobuf.Duration interval_duration = 1; -
mergeIntervalDuration
public CalculateStatsResponse.TimeSeries.Builder mergeIntervalDuration(com.google.protobuf.Duration value) The duration of each interval.
.google.protobuf.Duration interval_duration = 1; -
clearIntervalDuration
The duration of each interval.
.google.protobuf.Duration interval_duration = 1; -
getIntervalDurationBuilder
public com.google.protobuf.Duration.Builder getIntervalDurationBuilder()The duration of each interval.
.google.protobuf.Duration interval_duration = 1; -
getIntervalDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder()The duration of each interval.
.google.protobuf.Duration interval_duration = 1;- Specified by:
getIntervalDurationOrBuilderin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
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;- Specified by:
getPointsListin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
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;- Specified by:
getPointsCountin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
getPoints
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;- Specified by:
getPointsin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
setPoints
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; -
setPoints
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; -
addPoints
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; -
addPoints
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; -
addPoints
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; -
addPoints
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; -
addAllPoints
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; -
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; -
removePoints
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; -
getPointsBuilder
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; -
getPointsOrBuilder
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;- Specified by:
getPointsOrBuilderin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
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;- Specified by:
getPointsOrBuilderListin interfaceCalculateStatsResponse.TimeSeriesOrBuilder
-
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; -
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; -
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;
-