Class ReportSummary.ChartData.Builder (0.11.0)

public static final class ReportSummary.ChartData.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint>
Returns
TypeDescription
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
NameDescription
valueReportSummary.ChartData.DataPoint
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.ChartData.DataPoint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.ChartData.DataPoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.ChartData.DataPoint.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.ChartData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

build()

public ReportSummary.ChartData build()
Returns
TypeDescription
ReportSummary.ChartData

buildPartial()

public ReportSummary.ChartData buildPartial()
Returns
TypeDescription
ReportSummary.ChartData

clear()

public ReportSummary.ChartData.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReportSummary.ChartData.Builder

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.ChartData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.ChartData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

clone()

public ReportSummary.ChartData.Builder clone()
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPointOrBuilder>

getDefaultInstanceForType()

public ReportSummary.ChartData getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.ChartData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.ChartData other)

public ReportSummary.ChartData.Builder mergeFrom(ReportSummary.ChartData other)
Parameter
NameDescription
otherReportSummary.ChartData
Returns
TypeDescription
ReportSummary.ChartData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.ChartData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportSummary.ChartData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.ChartData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.ChartData.DataPoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.ChartData.DataPoint.Builder
Returns
TypeDescription
ReportSummary.ChartData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.ChartData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.ChartData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.ChartData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides