public final class QueryMetricsResponse extends com.google.protobuf.GeneratedMessageV3 implements QueryMetricsResponseOrBuilder
The response for querying metrics.Protobuf type
google.cloud.contactcenterinsights.v1.QueryMetricsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
QueryMetricsResponse.Builder
The response for querying metrics.
|
static class |
QueryMetricsResponse.Slice
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
static interface |
QueryMetricsResponse.SliceOrBuilder |
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 |
LOCATION_FIELD_NUMBER |
static int |
MACRO_AVERAGE_SLICE_FIELD_NUMBER |
static int |
SLICES_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static QueryMetricsResponse |
getDefaultInstance() |
QueryMetricsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLocation()
Required.
|
com.google.protobuf.ByteString |
getLocationBytes()
Required.
|
QueryMetricsResponse.Slice |
getMacroAverageSlice()
The macro average slice contains aggregated averages across the selected
dimension. i.e. if group_by agent is specified this field will contain the
average across all agents.
|
QueryMetricsResponse.SliceOrBuilder |
getMacroAverageSliceOrBuilder()
The macro average slice contains aggregated averages across the selected
dimension. i.e. if group_by agent is specified this field will contain the
average across all agents.
|
com.google.protobuf.Parser<QueryMetricsResponse> |
getParserForType() |
int |
getSerializedSize() |
QueryMetricsResponse.Slice |
getSlices(int index)
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
int |
getSlicesCount()
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
List<QueryMetricsResponse.Slice> |
getSlicesList()
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
QueryMetricsResponse.SliceOrBuilder |
getSlicesOrBuilder(int index)
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
List<? extends QueryMetricsResponse.SliceOrBuilder> |
getSlicesOrBuilderList()
A slice contains a total and (if the request specified a time granularity)
a time series of metric values.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The metrics last update time.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The metrics last update time.
|
int |
hashCode() |
boolean |
hasMacroAverageSlice()
The macro average slice contains aggregated averages across the selected
dimension. i.e. if group_by agent is specified this field will contain the
average across all agents.
|
boolean |
hasUpdateTime()
The metrics last update time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QueryMetricsResponse.Builder |
newBuilder() |
static QueryMetricsResponse.Builder |
newBuilder(QueryMetricsResponse prototype) |
QueryMetricsResponse.Builder |
newBuilderForType() |
protected QueryMetricsResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QueryMetricsResponse |
parseDelimitedFrom(InputStream input) |
static QueryMetricsResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse |
parseFrom(byte[] data) |
static QueryMetricsResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse |
parseFrom(ByteBuffer data) |
static QueryMetricsResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse |
parseFrom(com.google.protobuf.ByteString data) |
static QueryMetricsResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryMetricsResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryMetricsResponse |
parseFrom(InputStream input) |
static QueryMetricsResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryMetricsResponse> |
parser() |
QueryMetricsResponse.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 LOCATION_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int SLICES_FIELD_NUMBER
public static final int MACRO_AVERAGE_SLICE_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 String getLocation()
Required. The location of the data.
"projects/{project}/locations/{location}"
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getLocation in interface QueryMetricsResponseOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Required. The location of the data.
"projects/{project}/locations/{location}"
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getLocationBytes in interface QueryMetricsResponseOrBuilderpublic boolean hasUpdateTime()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;hasUpdateTime in interface QueryMetricsResponseOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;getUpdateTime in interface QueryMetricsResponseOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;getUpdateTimeOrBuilder in interface QueryMetricsResponseOrBuilderpublic List<QueryMetricsResponse.Slice> getSlicesList()
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.
repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2;
getSlicesList in interface QueryMetricsResponseOrBuilderpublic List<? extends QueryMetricsResponse.SliceOrBuilder> getSlicesOrBuilderList()
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.
repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2;
getSlicesOrBuilderList in interface QueryMetricsResponseOrBuilderpublic int getSlicesCount()
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.
repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2;
getSlicesCount in interface QueryMetricsResponseOrBuilderpublic QueryMetricsResponse.Slice getSlices(int index)
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.
repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2;
getSlices in interface QueryMetricsResponseOrBuilderpublic QueryMetricsResponse.SliceOrBuilder getSlicesOrBuilder(int index)
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.
repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2;
getSlicesOrBuilder in interface QueryMetricsResponseOrBuilderpublic boolean hasMacroAverageSlice()
The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension.
optional .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice macro_average_slice = 4;
hasMacroAverageSlice in interface QueryMetricsResponseOrBuilderpublic QueryMetricsResponse.Slice getMacroAverageSlice()
The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension.
optional .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice macro_average_slice = 4;
getMacroAverageSlice in interface QueryMetricsResponseOrBuilderpublic QueryMetricsResponse.SliceOrBuilder getMacroAverageSliceOrBuilder()
The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension.
optional .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice macro_average_slice = 4;
getMacroAverageSliceOrBuilder in interface QueryMetricsResponseOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryMetricsResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryMetricsResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryMetricsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryMetricsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryMetricsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryMetricsResponse.Builder newBuilder()
public static QueryMetricsResponse.Builder newBuilder(QueryMetricsResponse prototype)
public QueryMetricsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryMetricsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryMetricsResponse getDefaultInstance()
public static com.google.protobuf.Parser<QueryMetricsResponse> parser()
public com.google.protobuf.Parser<QueryMetricsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryMetricsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.