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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCount()If `query` is not grouping by any field, the count is an approximate number of activities that match the query.CountActivityExecutionsResponse.AggregationGroupgetGroups(int index)Contains the groups if the request is grouping by a field.intgetGroupsCount()Contains the groups if the request is grouping by a field.java.util.List<CountActivityExecutionsResponse.AggregationGroup>getGroupsList()Contains the groups if the request is grouping by a field.CountActivityExecutionsResponse.AggregationGroupOrBuildergetGroupsOrBuilder(int index)Contains the groups if the request is grouping by a field.java.util.List<? extends CountActivityExecutionsResponse.AggregationGroupOrBuilder>getGroupsOrBuilderList()Contains the groups if the request is grouping by a field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.util.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
CountActivityExecutionsResponse.AggregationGroup getGroups(int index)
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
java.util.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
CountActivityExecutionsResponse.AggregationGroupOrBuilder getGroupsOrBuilder(int index)
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;
-
-