Class QueryMetricsResponse.Slice.TimeSeries.Builder (2.54.0)

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

A time series of metric values.

Protobuf type google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.TimeSeries

Static Methods

getDescriptor()

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

Methods

addAllDataPoints(Iterable<? extends QueryMetricsResponse.Slice.DataPoint> values)

public QueryMetricsResponse.Slice.TimeSeries.Builder addAllDataPoints(Iterable<? extends QueryMetricsResponse.Slice.DataPoint> values)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint>
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

addDataPoints(QueryMetricsResponse.Slice.DataPoint value)

public QueryMetricsResponse.Slice.TimeSeries.Builder addDataPoints(QueryMetricsResponse.Slice.DataPoint value)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
value QueryMetricsResponse.Slice.DataPoint
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

addDataPoints(QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

public QueryMetricsResponse.Slice.TimeSeries.Builder addDataPoints(QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
builderForValue QueryMetricsResponse.Slice.DataPoint.Builder
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

addDataPoints(int index, QueryMetricsResponse.Slice.DataPoint value)

public QueryMetricsResponse.Slice.TimeSeries.Builder addDataPoints(int index, QueryMetricsResponse.Slice.DataPoint value)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameters
Name Description
index int
value QueryMetricsResponse.Slice.DataPoint
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

addDataPoints(int index, QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

public QueryMetricsResponse.Slice.TimeSeries.Builder addDataPoints(int index, QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameters
Name Description
index int
builderForValue QueryMetricsResponse.Slice.DataPoint.Builder
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

addDataPointsBuilder()

public QueryMetricsResponse.Slice.DataPoint.Builder addDataPointsBuilder()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

addDataPointsBuilder(int index)

public QueryMetricsResponse.Slice.DataPoint.Builder addDataPointsBuilder(int index)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryMetricsResponse.Slice.TimeSeries build()
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries

buildPartial()

public QueryMetricsResponse.Slice.TimeSeries buildPartial()
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries

clear()

public QueryMetricsResponse.Slice.TimeSeries.Builder clear()
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder
Overrides

clearDataPoints()

public QueryMetricsResponse.Slice.TimeSeries.Builder clearDataPoints()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public QueryMetricsResponse.Slice.TimeSeries.Builder clone()
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder
Overrides

getDataPoints(int index)

public QueryMetricsResponse.Slice.DataPoint getDataPoints(int index)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint

getDataPointsBuilder(int index)

public QueryMetricsResponse.Slice.DataPoint.Builder getDataPointsBuilder(int index)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

getDataPointsBuilderList()

public List<QueryMetricsResponse.Slice.DataPoint.Builder> getDataPointsBuilderList()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
List<Builder>

getDataPointsCount()

public int getDataPointsCount()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
int

getDataPointsList()

public List<QueryMetricsResponse.Slice.DataPoint> getDataPointsList()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
List<DataPoint>

getDataPointsOrBuilder(int index)

public QueryMetricsResponse.Slice.DataPointOrBuilder getDataPointsOrBuilder(int index)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice.DataPointOrBuilder

getDataPointsOrBuilderList()

public List<? extends QueryMetricsResponse.Slice.DataPointOrBuilder> getDataPointsOrBuilderList()

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPointOrBuilder>

getDefaultInstanceForType()

public QueryMetricsResponse.Slice.TimeSeries getDefaultInstanceForType()
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryMetricsResponse.Slice.TimeSeries other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataPoints(int index)

public QueryMetricsResponse.Slice.TimeSeries.Builder removeDataPoints(int index)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

setDataPoints(int index, QueryMetricsResponse.Slice.DataPoint value)

public QueryMetricsResponse.Slice.TimeSeries.Builder setDataPoints(int index, QueryMetricsResponse.Slice.DataPoint value)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameters
Name Description
index int
value QueryMetricsResponse.Slice.DataPoint
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

setDataPoints(int index, QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

public QueryMetricsResponse.Slice.TimeSeries.Builder setDataPoints(int index, QueryMetricsResponse.Slice.DataPoint.Builder builderForValue)

The data points that make up the time series .

repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4;

Parameters
Name Description
index int
builderForValue QueryMetricsResponse.Slice.DataPoint.Builder
Returns
Type Description
QueryMetricsResponse.Slice.TimeSeries.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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