Interface QueryMetricsResponseOrBuilder (2.55.0)

public interface QueryMetricsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract String getLocation()

Required. The location of the data. "projects/{project}/locations/{location}"

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Required. The location of the data. "projects/{project}/locations/{location}"

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getMacroAverageSlice()

public abstract 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;

Returns
Type Description
QueryMetricsResponse.Slice

The macroAverageSlice.

getMacroAverageSliceOrBuilder()

public abstract 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;

Returns
Type Description
QueryMetricsResponse.SliceOrBuilder

getSlices(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.Slice

getSlicesCount()

public abstract 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;

Returns
Type Description
int

getSlicesList()

public abstract 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;

Returns
Type Description
List<Slice>

getSlicesOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
QueryMetricsResponse.SliceOrBuilder

getSlicesOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.SliceOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

The metrics last update time.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The metrics last update time.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasMacroAverageSlice()

public abstract 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;

Returns
Type Description
boolean

Whether the macroAverageSlice field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The metrics last update time.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.