Class QueryMetricsResponse.Slice.DataPoint.Builder (2.55.0)

public static final class QueryMetricsResponse.Slice.DataPoint.Builder extends GeneratedMessageV3.Builder<QueryMetricsResponse.Slice.DataPoint.Builder> implements QueryMetricsResponse.Slice.DataPointOrBuilder

A data point contains the metric values mapped to an interval.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearConversationMeasure()

public QueryMetricsResponse.Slice.DataPoint.Builder clearConversationMeasure()

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInterval()

public QueryMetricsResponse.Slice.DataPoint.Builder clearInterval()

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

clearMeasure()

public QueryMetricsResponse.Slice.DataPoint.Builder clearMeasure()
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversationMeasure()

public QueryMetricsResponse.Slice.DataPoint.ConversationMeasure getConversationMeasure()

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.ConversationMeasure

The conversationMeasure.

getConversationMeasureBuilder()

public QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.Builder getConversationMeasureBuilder()

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.Builder

getConversationMeasureOrBuilder()

public QueryMetricsResponse.Slice.DataPoint.ConversationMeasureOrBuilder getConversationMeasureOrBuilder()

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.ConversationMeasureOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getInterval()

public Interval getInterval()

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Returns
Type Description
com.google.type.Interval

The interval.

getIntervalBuilder()

public Interval.Builder getIntervalBuilder()

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Returns
Type Description
com.google.type.Interval.Builder

getIntervalOrBuilder()

public IntervalOrBuilder getIntervalOrBuilder()

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Returns
Type Description
com.google.type.IntervalOrBuilder

getMeasureCase()

public QueryMetricsResponse.Slice.DataPoint.MeasureCase getMeasureCase()
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.MeasureCase

hasConversationMeasure()

public boolean hasConversationMeasure()

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

Returns
Type Description
boolean

Whether the conversationMeasure field is set.

hasInterval()

public boolean hasInterval()

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Returns
Type Description
boolean

Whether the interval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure value)

public QueryMetricsResponse.Slice.DataPoint.Builder mergeConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure value)

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

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

mergeFrom(QueryMetricsResponse.Slice.DataPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInterval(Interval value)

public QueryMetricsResponse.Slice.DataPoint.Builder mergeInterval(Interval value)

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure value)

public QueryMetricsResponse.Slice.DataPoint.Builder setConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure value)

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

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

setConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.Builder builderForValue)

public QueryMetricsResponse.Slice.DataPoint.Builder setConversationMeasure(QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.Builder builderForValue)

The measure related to conversations.

.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterval(Interval value)

public QueryMetricsResponse.Slice.DataPoint.Builder setInterval(Interval value)

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

setInterval(Interval.Builder builderForValue)

public QueryMetricsResponse.Slice.DataPoint.Builder setInterval(Interval.Builder builderForValue)

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

.google.type.Interval interval = 1;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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