Class ReportSummary.ChartData.Builder

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

public static final class ReportSummary.ChartData.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportSummary.ChartData.Builder> implements ReportSummary.ChartDataOrBuilder
 Describes a collection of data points rendered as a Chart.
 
Protobuf type google.cloud.migrationcenter.v1.ReportSummary.ChartData
  • 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.ChartData.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.ChartData.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.ChartData.Builder>
    • getDefaultInstanceForType

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

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

      public ReportSummary.ChartData buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ReportSummary.ChartData.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.ChartData.Builder>
      Throws:
      IOException
    • getDataPointsList

      public List<ReportSummary.ChartData.DataPoint> getDataPointsList()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
      Specified by:
      getDataPointsList in interface ReportSummary.ChartDataOrBuilder
    • getDataPointsCount

      public int getDataPointsCount()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
      Specified by:
      getDataPointsCount in interface ReportSummary.ChartDataOrBuilder
    • getDataPoints

      public ReportSummary.ChartData.DataPoint getDataPoints(int index)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
      Specified by:
      getDataPoints in interface ReportSummary.ChartDataOrBuilder
    • setDataPoints

      public ReportSummary.ChartData.Builder setDataPoints(int index, ReportSummary.ChartData.DataPoint value)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • setDataPoints

      public ReportSummary.ChartData.Builder setDataPoints(int index, ReportSummary.ChartData.DataPoint.Builder builderForValue)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addDataPoints

       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addDataPoints

      public ReportSummary.ChartData.Builder addDataPoints(int index, ReportSummary.ChartData.DataPoint value)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addDataPoints

       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addDataPoints

      public ReportSummary.ChartData.Builder addDataPoints(int index, ReportSummary.ChartData.DataPoint.Builder builderForValue)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addAllDataPoints

      public ReportSummary.ChartData.Builder addAllDataPoints(Iterable<? extends ReportSummary.ChartData.DataPoint> values)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • clearDataPoints

      public ReportSummary.ChartData.Builder clearDataPoints()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • removeDataPoints

      public ReportSummary.ChartData.Builder removeDataPoints(int index)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • getDataPointsBuilder

      public ReportSummary.ChartData.DataPoint.Builder getDataPointsBuilder(int index)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • getDataPointsOrBuilder

      public ReportSummary.ChartData.DataPointOrBuilder getDataPointsOrBuilder(int index)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
      Specified by:
      getDataPointsOrBuilder in interface ReportSummary.ChartDataOrBuilder
    • getDataPointsOrBuilderList

      public List<? extends ReportSummary.ChartData.DataPointOrBuilder> getDataPointsOrBuilderList()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
      Specified by:
      getDataPointsOrBuilderList in interface ReportSummary.ChartDataOrBuilder
    • addDataPointsBuilder

      public ReportSummary.ChartData.DataPoint.Builder addDataPointsBuilder()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • addDataPointsBuilder

      public ReportSummary.ChartData.DataPoint.Builder addDataPointsBuilder(int index)
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;
    • getDataPointsBuilderList

      public List<ReportSummary.ChartData.DataPoint.Builder> getDataPointsBuilderList()
       Each data point in the chart is represented as a name-value pair
       with the name being the x-axis label, and the value being the y-axis
       value.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint data_points = 1;