Class AggregationQuery.Aggregation.Count.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<AggregationQuery.Aggregation.Count.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<AggregationQuery.Aggregation.Count.Builder>
      • getDefaultInstanceForType

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

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

        public AggregationQuery.Aggregation.Count 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<AggregationQuery.Aggregation.Count.Builder>
      • hasUpTo

        public boolean hasUpTo()
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasUpTo in interface AggregationQuery.Aggregation.CountOrBuilder
        Returns:
        Whether the upTo field is set.
      • getUpTo

        public com.google.protobuf.Int64Value getUpTo()
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpTo in interface AggregationQuery.Aggregation.CountOrBuilder
        Returns:
        The upTo.
      • setUpTo

        public AggregationQuery.Aggregation.Count.Builder setUpTo​(com.google.protobuf.Int64Value value)
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
      • setUpTo

        public AggregationQuery.Aggregation.Count.Builder setUpTo​(com.google.protobuf.Int64Value.Builder builderForValue)
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
      • mergeUpTo

        public AggregationQuery.Aggregation.Count.Builder mergeUpTo​(com.google.protobuf.Int64Value value)
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
      • clearUpTo

        public AggregationQuery.Aggregation.Count.Builder clearUpTo()
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getUpToBuilder

        public com.google.protobuf.Int64Value.Builder getUpToBuilder()
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getUpToOrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder()
         Optional. Optional constraint on the maximum number of entities to
         count.
        
         This provides a way to set an upper bound on the number of entities
         to scan, limiting latency, and cost.
        
         Unspecified is interpreted as no bound.
        
         If a zero value is provided, a count result of zero should always be
         expected.
        
         High-Level Example:
        
         ```
         AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
         ```
        
         Requires:
        
         * Must be non-negative when present.
         
        .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpToOrBuilder in interface AggregationQuery.Aggregation.CountOrBuilder