Class ReportSummary.HistogramChartData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportSummary.HistogramChartData.Builder>
com.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Builder
All Implemented Interfaces:
ReportSummary.HistogramChartDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReportSummary.HistogramChartData

public static final class ReportSummary.HistogramChartData.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportSummary.HistogramChartData.Builder> implements ReportSummary.HistogramChartDataOrBuilder
 A Histogram Chart shows a distribution of values into buckets, showing
 a count of values which fall into a bucket.
 
Protobuf type google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReportSummary.HistogramChartData.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.GeneratedMessage.Builder<ReportSummary.HistogramChartData.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.GeneratedMessage.Builder<ReportSummary.HistogramChartData.Builder>
    • getDefaultInstanceForType

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

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

    • isInitialized

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

      public ReportSummary.HistogramChartData.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<ReportSummary.HistogramChartData.Builder>
      Throws:
      IOException
    • 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.ReportSummary.HistogramChartData.Bucket buckets = 1;
      Specified by:
      getBucketsList in interface ReportSummary.HistogramChartDataOrBuilder
    • 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.ReportSummary.HistogramChartData.Bucket buckets = 1;
      Specified by:
      getBucketsCount in interface ReportSummary.HistogramChartDataOrBuilder
    • getBuckets

      public ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
      Specified by:
      getBuckets in interface ReportSummary.HistogramChartDataOrBuilder
    • setBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • setBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addAllBuckets

       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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • 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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • removeBuckets

      public ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • getBucketsBuilder

      public ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • getBucketsOrBuilder

      public ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
      Specified by:
      getBucketsOrBuilder in interface ReportSummary.HistogramChartDataOrBuilder
    • getBucketsOrBuilderList

      public List<? extends ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
      Specified by:
      getBucketsOrBuilderList in interface ReportSummary.HistogramChartDataOrBuilder
    • 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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • addBucketsBuilder

      public ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;
    • getBucketsBuilderList

      public List<ReportSummary.HistogramChartData.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.ReportSummary.HistogramChartData.Bucket buckets = 1;