Class ReportSummary.ChartData.DataPoint.Builder (0.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ReportSummary.ChartData.DataPoint.Builder clear()
Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLabel()

public ReportSummary.ChartData.DataPoint.Builder clearLabel()

The X-axis label for this data point.

string label = 1;

Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public ReportSummary.ChartData.DataPoint.Builder clearValue()

The Y-axis value for this data point.

double value = 2;

Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabel()

public String getLabel()

The X-axis label for this data point.

string label = 1;

Returns
TypeDescription
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

The X-axis label for this data point.

string label = 1;

Returns
TypeDescription
ByteString

The bytes for label.

getValue()

public double getValue()

The Y-axis value for this data point.

double value = 2;

Returns
TypeDescription
double

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.ChartData.DataPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.ChartData.DataPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The label to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for label to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

The value to set.

Returns
TypeDescription
ReportSummary.ChartData.DataPoint.Builder

This builder for chaining.