Class CountWorkflowExecutionsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CountWorkflowExecutionsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CountWorkflowExecutionsResponse.Builder>
      • getDefaultInstanceForType

        public CountWorkflowExecutionsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CountWorkflowExecutionsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CountWorkflowExecutionsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CountWorkflowExecutionsResponse.Builder>
      • mergeFrom

        public CountWorkflowExecutionsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CountWorkflowExecutionsResponse.Builder>
        Throws:
        java.io.IOException
      • getCount

        public long getCount()
         If `query` is not grouping by any field, the count is an approximate number
         of workflows that matches 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 workflows matching the query.
         
        int64 count = 1;
        Specified by:
        getCount in interface CountWorkflowExecutionsResponseOrBuilder
        Returns:
        The count.
      • setCount

        public CountWorkflowExecutionsResponse.Builder setCount​(long value)
         If `query` is not grouping by any field, the count is an approximate number
         of workflows that matches 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 workflows matching the query.
         
        int64 count = 1;
        Parameters:
        value - The count to set.
        Returns:
        This builder for chaining.
      • clearCount

        public CountWorkflowExecutionsResponse.Builder clearCount()
         If `query` is not grouping by any field, the count is an approximate number
         of workflows that matches 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 workflows matching the query.
         
        int64 count = 1;
        Returns:
        This builder for chaining.
      • getGroupsCount

        public int getGroupsCount()
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
        Specified by:
        getGroupsCount in interface CountWorkflowExecutionsResponseOrBuilder
      • clearGroups

        public CountWorkflowExecutionsResponse.Builder clearGroups()
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
      • removeGroups

        public CountWorkflowExecutionsResponse.Builder removeGroups​(int index)
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
      • getGroupsBuilder

        public CountWorkflowExecutionsResponse.AggregationGroup.Builder getGroupsBuilder​(int index)
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
      • addGroupsBuilder

        public CountWorkflowExecutionsResponse.AggregationGroup.Builder addGroupsBuilder()
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
      • addGroupsBuilder

        public CountWorkflowExecutionsResponse.AggregationGroup.Builder addGroupsBuilder​(int index)
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;
      • getGroupsBuilderList

        public java.util.List<CountWorkflowExecutionsResponse.AggregationGroup.Builder> getGroupsBuilderList()
         `groups` 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.CountWorkflowExecutionsResponse.AggregationGroup groups = 2;