public static final class QueryMetricsResponse.Slice extends com.google.protobuf.GeneratedMessageV3 implements QueryMetricsResponse.SliceOrBuilder
A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices: * Slice 1 -> dimensions=[Issue 1] * Slice 2 -> dimensions=[Issue 2]Protobuf type
google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice| Modifier and Type | Class and Description |
|---|---|
static class |
QueryMetricsResponse.Slice.Builder
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
static class |
QueryMetricsResponse.Slice.DataPoint
A data point contains the metric values mapped to an interval.
|
static interface |
QueryMetricsResponse.Slice.DataPointOrBuilder |
static class |
QueryMetricsResponse.Slice.TimeSeries
A time series of metric values.
|
static interface |
QueryMetricsResponse.Slice.TimeSeriesOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DIMENSIONS_FIELD_NUMBER |
static int |
TIME_SERIES_FIELD_NUMBER |
static int |
TOTAL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static QueryMetricsResponse.Slice |
getDefaultInstance() |
QueryMetricsResponse.Slice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Dimension |
getDimensions(int index)
A unique combination of dimensions that this slice represents.
|
int |
getDimensionsCount()
A unique combination of dimensions that this slice represents.
|
List<Dimension> |
getDimensionsList()
A unique combination of dimensions that this slice represents.
|
DimensionOrBuilder |
getDimensionsOrBuilder(int index)
A unique combination of dimensions that this slice represents.
|
List<? extends DimensionOrBuilder> |
getDimensionsOrBuilderList()
A unique combination of dimensions that this slice represents.
|
com.google.protobuf.Parser<QueryMetricsResponse.Slice> |
getParserForType() |
int |
getSerializedSize() |
QueryMetricsResponse.Slice.TimeSeries |
getTimeSeries()
A time series of metric values.
|
QueryMetricsResponse.Slice.TimeSeriesOrBuilder |
getTimeSeriesOrBuilder()
A time series of metric values.
|
QueryMetricsResponse.Slice.DataPoint |
getTotal()
The total metric value.
|
QueryMetricsResponse.Slice.DataPointOrBuilder |
getTotalOrBuilder()
The total metric value.
|
int |
hashCode() |
boolean |
hasTimeSeries()
A time series of metric values.
|
boolean |
hasTotal()
The total metric value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QueryMetricsResponse.Slice.Builder |
newBuilder() |
static QueryMetricsResponse.Slice.Builder |
newBuilder(QueryMetricsResponse.Slice prototype) |
QueryMetricsResponse.Slice.Builder |
newBuilderForType() |
protected QueryMetricsResponse.Slice.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QueryMetricsResponse.Slice |
parseDelimitedFrom(InputStream input) |
static QueryMetricsResponse.Slice |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse.Slice |
parseFrom(byte[] data) |
static QueryMetricsResponse.Slice |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse.Slice |
parseFrom(ByteBuffer data) |
static QueryMetricsResponse.Slice |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse.Slice |
parseFrom(com.google.protobuf.ByteString data) |
static QueryMetricsResponse.Slice |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse.Slice |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryMetricsResponse.Slice |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse.Slice |
parseFrom(InputStream input) |
static QueryMetricsResponse.Slice |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryMetricsResponse.Slice> |
parser() |
QueryMetricsResponse.Slice.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DIMENSIONS_FIELD_NUMBER
public static final int TOTAL_FIELD_NUMBER
public static final int TIME_SERIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Dimension> getDimensionsList()
A unique combination of dimensions that this slice represents.
repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1;getDimensionsList in interface QueryMetricsResponse.SliceOrBuilderpublic List<? extends DimensionOrBuilder> getDimensionsOrBuilderList()
A unique combination of dimensions that this slice represents.
repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1;getDimensionsOrBuilderList in interface QueryMetricsResponse.SliceOrBuilderpublic int getDimensionsCount()
A unique combination of dimensions that this slice represents.
repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1;getDimensionsCount in interface QueryMetricsResponse.SliceOrBuilderpublic Dimension getDimensions(int index)
A unique combination of dimensions that this slice represents.
repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1;getDimensions in interface QueryMetricsResponse.SliceOrBuilderpublic DimensionOrBuilder getDimensionsOrBuilder(int index)
A unique combination of dimensions that this slice represents.
repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1;getDimensionsOrBuilder in interface QueryMetricsResponse.SliceOrBuilderpublic boolean hasTotal()
The total metric value. The interval of this data point is [starting create time, ending create time) from the request.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint total = 2;
hasTotal in interface QueryMetricsResponse.SliceOrBuilderpublic QueryMetricsResponse.Slice.DataPoint getTotal()
The total metric value. The interval of this data point is [starting create time, ending create time) from the request.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint total = 2;
getTotal in interface QueryMetricsResponse.SliceOrBuilderpublic QueryMetricsResponse.Slice.DataPointOrBuilder getTotalOrBuilder()
The total metric value. The interval of this data point is [starting create time, ending create time) from the request.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint total = 2;
getTotalOrBuilder in interface QueryMetricsResponse.SliceOrBuilderpublic boolean hasTimeSeries()
A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.TimeSeries time_series = 3;
hasTimeSeries in interface QueryMetricsResponse.SliceOrBuilderpublic QueryMetricsResponse.Slice.TimeSeries getTimeSeries()
A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.TimeSeries time_series = 3;
getTimeSeries in interface QueryMetricsResponse.SliceOrBuilderpublic QueryMetricsResponse.Slice.TimeSeriesOrBuilder getTimeSeriesOrBuilder()
A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.
.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.TimeSeries time_series = 3;
getTimeSeriesOrBuilder in interface QueryMetricsResponse.SliceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QueryMetricsResponse.Slice parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse.Slice parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse.Slice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryMetricsResponse.Slice parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse.Slice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryMetricsResponse.Slice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse.Slice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryMetricsResponse.Slice.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryMetricsResponse.Slice.Builder newBuilder()
public static QueryMetricsResponse.Slice.Builder newBuilder(QueryMetricsResponse.Slice prototype)
public QueryMetricsResponse.Slice.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryMetricsResponse.Slice.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryMetricsResponse.Slice getDefaultInstance()
public static com.google.protobuf.Parser<QueryMetricsResponse.Slice> parser()
public com.google.protobuf.Parser<QueryMetricsResponse.Slice> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryMetricsResponse.Slice getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.