Class AggregationResult.Histogram.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<AggregationResult.Histogram.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<AggregationResult.Histogram.Builder>
      • getDefaultInstanceForType

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

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

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

        public AggregationResult.Histogram.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<AggregationResult.Histogram.Builder>
        Throws:
        IOException
      • getBucketsList

        public List<AggregationResult.Histogram.Bucket> getBucketsList()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
        Specified by:
        getBucketsList in interface AggregationResult.HistogramOrBuilder
      • getBucketsCount

        public int getBucketsCount()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
        Specified by:
        getBucketsCount in interface AggregationResult.HistogramOrBuilder
      • getBuckets

        public AggregationResult.Histogram.Bucket getBuckets​(int index)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
        Specified by:
        getBuckets in interface AggregationResult.HistogramOrBuilder
      • setBuckets

        public AggregationResult.Histogram.Builder setBuckets​(int index,
                                                              AggregationResult.Histogram.Bucket value)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • setBuckets

        public AggregationResult.Histogram.Builder setBuckets​(int index,
                                                              AggregationResult.Histogram.Bucket.Builder builderForValue)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addBuckets

        public AggregationResult.Histogram.Builder addBuckets​(AggregationResult.Histogram.Bucket value)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addBuckets

        public AggregationResult.Histogram.Builder addBuckets​(int index,
                                                              AggregationResult.Histogram.Bucket value)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addBuckets

        public AggregationResult.Histogram.Builder addBuckets​(AggregationResult.Histogram.Bucket.Builder builderForValue)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addBuckets

        public AggregationResult.Histogram.Builder addBuckets​(int index,
                                                              AggregationResult.Histogram.Bucket.Builder builderForValue)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addAllBuckets

        public AggregationResult.Histogram.Builder addAllBuckets​(Iterable<? extends AggregationResult.Histogram.Bucket> values)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • clearBuckets

        public AggregationResult.Histogram.Builder clearBuckets()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • removeBuckets

        public AggregationResult.Histogram.Builder removeBuckets​(int index)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • getBucketsBuilder

        public AggregationResult.Histogram.Bucket.Builder getBucketsBuilder​(int index)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • getBucketsOrBuilder

        public AggregationResult.Histogram.BucketOrBuilder getBucketsOrBuilder​(int index)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
        Specified by:
        getBucketsOrBuilder in interface AggregationResult.HistogramOrBuilder
      • getBucketsOrBuilderList

        public List<? extends AggregationResult.Histogram.BucketOrBuilder> getBucketsOrBuilderList()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
        Specified by:
        getBucketsOrBuilderList in interface AggregationResult.HistogramOrBuilder
      • addBucketsBuilder

        public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • addBucketsBuilder

        public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder​(int index)
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • getBucketsBuilderList

        public List<AggregationResult.Histogram.Bucket.Builder> getBucketsBuilderList()
         Buckets in the histogram.
         There will be `n+1` buckets matching `n` lower bounds in the request.
         The first bucket will be from -infinity to the first bound.
         Subsequent buckets will be between one bound and the next.
         The final bucket will be from the final bound to infinity.
         
        repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
      • mergeUnknownFields

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