- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class QueryMetricsResponse.Builder extends GeneratedMessageV3.Builder<QueryMetricsResponse.Builder> implements QueryMetricsResponseOrBuilder
The response for querying metrics.
Protobuf type google.cloud.contactcenterinsights.v1.QueryMetricsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryMetricsResponse.BuilderImplements
QueryMetricsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSlices(Iterable<? extends QueryMetricsResponse.Slice> values)
public QueryMetricsResponse.Builder addAllSlices(Iterable<? extends QueryMetricsResponse.Slice> values)
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 |
values |
Iterable<? extends com.google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice> |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addSlices(QueryMetricsResponse.Slice value)
public QueryMetricsResponse.Builder addSlices(QueryMetricsResponse.Slice value)
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 |
value |
QueryMetricsResponse.Slice |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addSlices(QueryMetricsResponse.Slice.Builder builderForValue)
public QueryMetricsResponse.Builder addSlices(QueryMetricsResponse.Slice.Builder builderForValue)
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 |
builderForValue |
QueryMetricsResponse.Slice.Builder |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addSlices(int index, QueryMetricsResponse.Slice value)
public QueryMetricsResponse.Builder addSlices(int index, QueryMetricsResponse.Slice value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
QueryMetricsResponse.Slice |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addSlices(int index, QueryMetricsResponse.Slice.Builder builderForValue)
public QueryMetricsResponse.Builder addSlices(int index, QueryMetricsResponse.Slice.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
QueryMetricsResponse.Slice.Builder |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
addSlicesBuilder()
public QueryMetricsResponse.Slice.Builder addSlicesBuilder()
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 |
QueryMetricsResponse.Slice.Builder |
addSlicesBuilder(int index)
public QueryMetricsResponse.Slice.Builder addSlicesBuilder(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.Builder |
build()
public QueryMetricsResponse build()
Returns | |
---|---|
Type | Description |
QueryMetricsResponse |
buildPartial()
public QueryMetricsResponse buildPartial()
Returns | |
---|---|
Type | Description |
QueryMetricsResponse |
clear()
public QueryMetricsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueryMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
clearLocation()
public QueryMetricsResponse.Builder clearLocation()
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 |
QueryMetricsResponse.Builder |
This builder for chaining. |
clearMacroAverageSlice()
public QueryMetricsResponse.Builder clearMacroAverageSlice()
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.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
clearSlices()
public QueryMetricsResponse.Builder clearSlices()
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 |
QueryMetricsResponse.Builder |
clearUpdateTime()
public QueryMetricsResponse.Builder clearUpdateTime()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
clone()
public QueryMetricsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
getDefaultInstanceForType()
public QueryMetricsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QueryMetricsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLocation()
public 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 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 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. |
getMacroAverageSliceBuilder()
public QueryMetricsResponse.Slice.Builder getMacroAverageSliceBuilder()
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.Builder |
getMacroAverageSliceOrBuilder()
public 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 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 |
getSlicesBuilder(int index)
public QueryMetricsResponse.Slice.Builder getSlicesBuilder(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.Builder |
getSlicesBuilderList()
public List<QueryMetricsResponse.Slice.Builder> getSlicesBuilderList()
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<Builder> |
getSlicesCount()
public 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 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 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 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 Timestamp getUpdateTime()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasMacroAverageSlice()
public 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 boolean hasUpdateTime()
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QueryMetricsResponse other)
public QueryMetricsResponse.Builder mergeFrom(QueryMetricsResponse other)
Parameter | |
---|---|
Name | Description |
other |
QueryMetricsResponse |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QueryMetricsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
mergeMacroAverageSlice(QueryMetricsResponse.Slice value)
public QueryMetricsResponse.Builder mergeMacroAverageSlice(QueryMetricsResponse.Slice value)
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;
Parameter | |
---|---|
Name | Description |
value |
QueryMetricsResponse.Slice |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
mergeUpdateTime(Timestamp value)
public QueryMetricsResponse.Builder mergeUpdateTime(Timestamp value)
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
removeSlices(int index)
public QueryMetricsResponse.Builder removeSlices(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.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setLocation(String value)
public QueryMetricsResponse.Builder setLocation(String value)
Required. The location of the data. "projects/{project}/locations/{location}"
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The location to set. |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public QueryMetricsResponse.Builder setLocationBytes(ByteString value)
Required. The location of the data. "projects/{project}/locations/{location}"
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for location to set. |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
This builder for chaining. |
setMacroAverageSlice(QueryMetricsResponse.Slice value)
public QueryMetricsResponse.Builder setMacroAverageSlice(QueryMetricsResponse.Slice value)
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;
Parameter | |
---|---|
Name | Description |
value |
QueryMetricsResponse.Slice |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setMacroAverageSlice(QueryMetricsResponse.Slice.Builder builderForValue)
public QueryMetricsResponse.Builder setMacroAverageSlice(QueryMetricsResponse.Slice.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
QueryMetricsResponse.Slice.Builder |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setSlices(int index, QueryMetricsResponse.Slice value)
public QueryMetricsResponse.Builder setSlices(int index, QueryMetricsResponse.Slice value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
QueryMetricsResponse.Slice |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setSlices(int index, QueryMetricsResponse.Slice.Builder builderForValue)
public QueryMetricsResponse.Builder setSlices(int index, QueryMetricsResponse.Slice.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
QueryMetricsResponse.Slice.Builder |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setUpdateTime(Timestamp value)
public QueryMetricsResponse.Builder setUpdateTime(Timestamp value)
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public QueryMetricsResponse.Builder setUpdateTime(Timestamp.Builder builderForValue)
The metrics last update time.
.google.protobuf.Timestamp update_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QueryMetricsResponse.Builder |