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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 QueryMetricsResponse.Slice.DataPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QueryMetricsResponse.Slice.DataPoint build()
public QueryMetricsResponse.Slice.DataPoint buildPartial()
public QueryMetricsResponse.Slice.DataPoint.Builder clear()
Overrides
public QueryMetricsResponse.Slice.DataPoint.Builder clearConversationMeasure()
The measure related to conversations.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;
public QueryMetricsResponse.Slice.DataPoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public QueryMetricsResponse.Slice.DataPoint.Builder clearMeasure()
public QueryMetricsResponse.Slice.DataPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public QueryMetricsResponse.Slice.DataPoint.Builder clone()
Overrides
public QueryMetricsResponse.Slice.DataPoint.ConversationMeasure getConversationMeasure()
The measure related to conversations.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;
public QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.Builder getConversationMeasureBuilder()
The measure related to conversations.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;
public QueryMetricsResponse.Slice.DataPoint.ConversationMeasureOrBuilder getConversationMeasureOrBuilder()
The measure related to conversations.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure conversation_measure = 2;
public QueryMetricsResponse.Slice.DataPoint getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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 |
|
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 |
|
public QueryMetricsResponse.Slice.DataPoint.MeasureCase getMeasureCase()
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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;
public QueryMetricsResponse.Slice.DataPoint.Builder mergeFrom(QueryMetricsResponse.Slice.DataPoint other)
public QueryMetricsResponse.Slice.DataPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public QueryMetricsResponse.Slice.DataPoint.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
public final QueryMetricsResponse.Slice.DataPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
public QueryMetricsResponse.Slice.DataPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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
|
public QueryMetricsResponse.Slice.DataPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final QueryMetricsResponse.Slice.DataPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides