Class CountActivityExecutionsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CountActivityExecutionsResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CountActivityExecutionsResponse.Builder>
io.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CountActivityExecutionsResponseOrBuilder, Cloneable
Enclosing class:
CountActivityExecutionsResponse

public static final class CountActivityExecutionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CountActivityExecutionsResponse.Builder> implements CountActivityExecutionsResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.CountActivityExecutionsResponse
  • Method Details

    • 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<CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CountActivityExecutionsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<CountActivityExecutionsResponse.Builder>
    • setField

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

      public CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.Builder>
    • clearOneof

      public CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.Builder>
    • setRepeatedField

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

      public CountActivityExecutionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CountActivityExecutionsResponse.Builder>
    • mergeFrom

      public CountActivityExecutionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CountActivityExecutionsResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public CountActivityExecutionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<CountActivityExecutionsResponse.Builder>
      Throws:
      IOException
    • getCount

      public 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;
      Specified by:
      getCount in interface CountActivityExecutionsResponseOrBuilder
      Returns:
      The count.
    • setCount

      public CountActivityExecutionsResponse.Builder setCount(long value)
       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;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

       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:
      This builder for chaining.
    • 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;
      Specified by:
      getGroupsList in interface CountActivityExecutionsResponseOrBuilder
    • 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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
      Specified by:
      getGroupsCount in interface CountActivityExecutionsResponseOrBuilder
    • 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;
      Specified by:
      getGroups in interface CountActivityExecutionsResponseOrBuilder
    • setGroups

       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;
    • setGroups

       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;
    • addGroups

       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;
    • addGroups

       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;
    • addGroups

       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;
    • addGroups

       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;
    • addAllGroups

       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;
    • 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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • removeGroups

      public CountActivityExecutionsResponse.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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • getGroupsBuilder

      public CountActivityExecutionsResponse.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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • getGroupsOrBuilder

      public 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;
      Specified by:
      getGroupsOrBuilder in interface CountActivityExecutionsResponseOrBuilder
    • getGroupsOrBuilderList

      public 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;
      Specified by:
      getGroupsOrBuilderList in interface CountActivityExecutionsResponseOrBuilder
    • 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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • addGroupsBuilder

      public CountActivityExecutionsResponse.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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • 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.CountActivityExecutionsResponse.AggregationGroup groups = 2;
    • setUnknownFields

      public final CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.Builder>
    • mergeUnknownFields

      public final CountActivityExecutionsResponse.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<CountActivityExecutionsResponse.Builder>