Class CountSchedulesResponse.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<CountSchedulesResponse.Builder>
      • clear

        public CountSchedulesResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.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<CountSchedulesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public CountSchedulesResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • setField

        public CountSchedulesResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • clearField

        public CountSchedulesResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • clearOneof

        public CountSchedulesResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • setRepeatedField

        public CountSchedulesResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • addRepeatedField

        public CountSchedulesResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • isInitialized

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

        public CountSchedulesResponse.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<CountSchedulesResponse.Builder>
        Throws:
        java.io.IOException
      • getCount

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

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

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

        public 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.CountSchedulesResponse.AggregationGroup groups = 2;
        Specified by:
        getGroupsCount in interface CountSchedulesResponseOrBuilder
      • setGroups

        public CountSchedulesResponse.Builder setGroups​(int index,
                                                        CountSchedulesResponse.AggregationGroup value)
         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.CountSchedulesResponse.AggregationGroup groups = 2;
      • addGroups

        public CountSchedulesResponse.Builder addGroups​(int index,
                                                        CountSchedulesResponse.AggregationGroup value)
         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.CountSchedulesResponse.AggregationGroup groups = 2;
      • addAllGroups

        public CountSchedulesResponse.Builder addAllGroups​(java.lang.Iterable<? extends CountSchedulesResponse.AggregationGroup> values)
         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.CountSchedulesResponse.AggregationGroup groups = 2;
      • clearGroups

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

        public CountSchedulesResponse.Builder removeGroups​(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.CountSchedulesResponse.AggregationGroup groups = 2;
      • getGroupsBuilder

        public CountSchedulesResponse.AggregationGroup.Builder getGroupsBuilder​(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.CountSchedulesResponse.AggregationGroup groups = 2;
      • addGroupsBuilder

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

        public CountSchedulesResponse.AggregationGroup.Builder addGroupsBuilder​(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.CountSchedulesResponse.AggregationGroup groups = 2;
      • getGroupsBuilderList

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

        public final CountSchedulesResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
      • mergeUnknownFields

        public final CountSchedulesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>