Class QueryMetricsResponse.Slice.DataPoint (2.54.0)

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

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryMetricsResponse.Slice.DataPoint

Static Fields

CONVERSATION_MEASURE_FIELD_NUMBER

public static final int CONVERSATION_MEASURE_FIELD_NUMBER
Field Value
Type Description
int

INTERVAL_FIELD_NUMBER

public static final int INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryMetricsResponse.Slice.DataPoint getDefaultInstance()
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint

getDescriptor()

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

newBuilder()

public static QueryMetricsResponse.Slice.DataPoint.Builder newBuilder()
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

newBuilder(QueryMetricsResponse.Slice.DataPoint prototype)

public static QueryMetricsResponse.Slice.DataPoint.Builder newBuilder(QueryMetricsResponse.Slice.DataPoint prototype)
Parameter
Name Description
prototype QueryMetricsResponse.Slice.DataPoint
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder

parseDelimitedFrom(InputStream input)

public static QueryMetricsResponse.Slice.DataPoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryMetricsResponse.Slice.DataPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueryMetricsResponse.Slice.DataPoint> parser()
Returns
Type Description
Parser<DataPoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

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

getParserForType()

public Parser<QueryMetricsResponse.Slice.DataPoint> getParserForType()
Returns
Type Description
Parser<DataPoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryMetricsResponse.Slice.DataPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryMetricsResponse.Slice.DataPoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException