Class ReportSummary.ChartData.Builder (0.65.0)

public static final class ReportSummary.ChartData.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataPoints(Iterable<? extends ReportSummary.ChartData.DataPoint> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint>
Returns
Type Description
ReportSummary.ChartData.Builder

addDataPoints(ReportSummary.ChartData.DataPoint value)

public ReportSummary.ChartData.Builder addDataPoints(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;

Parameter
Name Description
value ReportSummary.ChartData.DataPoint
Returns
Type Description
ReportSummary.ChartData.Builder

addDataPoints(ReportSummary.ChartData.DataPoint.Builder builderForValue)

public ReportSummary.ChartData.Builder addDataPoints(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;

Parameter
Name Description
builderForValue ReportSummary.ChartData.DataPoint.Builder
Returns
Type Description
ReportSummary.ChartData.Builder

addDataPoints(int index, ReportSummary.ChartData.DataPoint value)

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;

Parameters
Name Description
index int
value ReportSummary.ChartData.DataPoint
Returns
Type Description
ReportSummary.ChartData.Builder

addDataPoints(int index, ReportSummary.ChartData.DataPoint.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ReportSummary.ChartData.DataPoint.Builder
Returns
Type Description
ReportSummary.ChartData.Builder

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;

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

addDataPointsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

build()

public ReportSummary.ChartData build()
Returns
Type Description
ReportSummary.ChartData

buildPartial()

public ReportSummary.ChartData buildPartial()
Returns
Type Description
ReportSummary.ChartData

clear()

public ReportSummary.ChartData.Builder clear()
Returns
Type Description
ReportSummary.ChartData.Builder
Overrides

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;

Returns
Type Description
ReportSummary.ChartData.Builder

getDataPoints(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.ChartData.DataPoint

getDataPointsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<DataPoint>

getDataPointsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.ChartData.DataPointOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPointOrBuilder>

getDefaultInstanceForType()

public ReportSummary.ChartData getDefaultInstanceForType()
Returns
Type Description
ReportSummary.ChartData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.ChartData other)

public ReportSummary.ChartData.Builder mergeFrom(ReportSummary.ChartData other)
Parameter
Name Description
other ReportSummary.ChartData
Returns
Type Description
ReportSummary.ChartData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.ChartData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.ChartData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportSummary.ChartData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportSummary.ChartData.Builder
Overrides

removeDataPoints(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.ChartData.Builder

setDataPoints(int index, ReportSummary.ChartData.DataPoint value)

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;

Parameters
Name Description
index int
value ReportSummary.ChartData.DataPoint
Returns
Type Description
ReportSummary.ChartData.Builder

setDataPoints(int index, ReportSummary.ChartData.DataPoint.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ReportSummary.ChartData.DataPoint.Builder
Returns
Type Description
ReportSummary.ChartData.Builder