Class ReportSummary.ChartData.DataPoint.Builder (0.34.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.ChartData.DataPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.ChartData.DataPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.ChartData.DataPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.ChartData.DataPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.ChartData.DataPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public ReportSummary.ChartData.DataPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.ChartData.DataPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.ChartData.DataPoint.Builder
Overrides

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.