Interface CountActivityExecutionsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CountActivityExecutionsResponse,CountActivityExecutionsResponse.Builder
@Generated(value="protoc",
comments="annotations:CountActivityExecutionsResponseOrBuilder.java.pb.meta")
public interface CountActivityExecutionsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetCount()If `query` is not grouping by any field, the count is an approximate number of activities that match the query.getGroups(int index) Contains the groups if the request is grouping by a field.intContains the groups if the request is grouping by a field.Contains the groups if the request is grouping by a field.getGroupsOrBuilder(int index) Contains the groups if the request is grouping by a field.Contains the groups if the request is grouping by a field.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCount
long getCount()If `query` is not grouping by any field, the count is an approximate number of activities that match the query. If `query` is grouping by a field, the count is simply the sum of the counts of the groups returned in the response. This number can be smaller than the total number of activities matching the query.
int64 count = 1;- Returns:
- The count.
-
getGroupsList
List<CountActivityExecutionsResponse.AggregationGroup> getGroupsList()Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate.
repeated .temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup groups = 2; -
getGroups
Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate.
repeated .temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup groups = 2; -
getGroupsCount
int getGroupsCount()Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate.
repeated .temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup groups = 2; -
getGroupsOrBuilderList
List<? extends CountActivityExecutionsResponse.AggregationGroupOrBuilder> getGroupsOrBuilderList()Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate.
repeated .temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup groups = 2; -
getGroupsOrBuilder
Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate.
repeated .temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup groups = 2;
-