Class CountSchedulesResponse.Builder

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

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

      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, 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, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CountSchedulesResponse.Builder>
    • mergeFrom

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

      public CountSchedulesResponse.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<CountSchedulesResponse.Builder>
      Throws:
      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.
    • 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.CountSchedulesResponse.AggregationGroup groups = 2;
      Specified by:
      getGroupsList in interface CountSchedulesResponseOrBuilder
    • 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
    • getGroups

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

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

      public List<? extends CountSchedulesResponse.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.CountSchedulesResponse.AggregationGroup groups = 2;
      Specified by:
      getGroupsOrBuilderList in interface CountSchedulesResponseOrBuilder
    • 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 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>