Class ReportSummary.ChartData.DataPoint.Builder (0.65.0)

public static final class ReportSummary.ChartData.DataPoint.Builder extends GeneratedMessage.Builder<ReportSummary.ChartData.DataPoint.Builder> implements ReportSummary.ChartData.DataPointOrBuilder

Describes a single data point in the Chart.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.ChartData.DataPoint

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearLabel()

public ReportSummary.ChartData.DataPoint.Builder clearLabel()

The X-axis label for this data point.

string label = 1;

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

clearValue()

public ReportSummary.ChartData.DataPoint.Builder clearValue()

The Y-axis value for this data point.

double value = 2;

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getLabel()

public String getLabel()

The X-axis label for this data point.

string label = 1;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

The X-axis label for this data point.

string label = 1;

Returns
Type Description
ByteString

The bytes for label.

getValue()

public double getValue()

The Y-axis value for this data point.

double value = 2;

Returns
Type Description
double

The value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.ChartData.DataPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLabel(String value)

public ReportSummary.ChartData.DataPoint.Builder setLabel(String value)

The X-axis label for this data point.

string label = 1;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public ReportSummary.ChartData.DataPoint.Builder setLabelBytes(ByteString value)

The X-axis label for this data point.

string label = 1;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

setValue(double value)

public ReportSummary.ChartData.DataPoint.Builder setValue(double value)

The Y-axis value for this data point.

double value = 2;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.