Class CountWorkflowExecutionsResponse.Builder

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

public static final class CountWorkflowExecutionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CountWorkflowExecutionsResponse.Builder> implements CountWorkflowExecutionsResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse
  • 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<CountWorkflowExecutionsResponse.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<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

      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
    • 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<CountWorkflowExecutionsResponse.Builder>
    • setField

      public CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.Builder>
    • clearField

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

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

      public CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.Builder>
    • addRepeatedField

      public CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.Builder>
    • mergeFrom

      public CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.Builder>
    • mergeFrom

      public CountWorkflowExecutionsResponse.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<CountWorkflowExecutionsResponse.Builder>
      Throws:
      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

       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.
    • getGroupsList

       `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:
      getGroupsList in interface CountWorkflowExecutionsResponseOrBuilder
    • 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
    • getGroups

       `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:
      getGroups in interface CountWorkflowExecutionsResponseOrBuilder
    • setGroups

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

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

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

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

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

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

       `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;
    • 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;
    • getGroupsOrBuilder

      public CountWorkflowExecutionsResponse.AggregationGroupOrBuilder getGroupsOrBuilder(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;
      Specified by:
      getGroupsOrBuilder in interface CountWorkflowExecutionsResponseOrBuilder
    • getGroupsOrBuilderList

      public List<? extends CountWorkflowExecutionsResponse.AggregationGroupOrBuilder> getGroupsOrBuilderList()
       `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:
      getGroupsOrBuilderList in interface CountWorkflowExecutionsResponseOrBuilder
    • 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

       `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;
    • setUnknownFields

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

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