Class ReportSummary.ChartData (0.6.0)

public static final class ReportSummary.ChartData extends GeneratedMessageV3 implements ReportSummary.ChartDataOrBuilder

Describes a collection of data points rendered as a Chart.

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

Static Fields

DATA_POINTS_FIELD_NUMBER

public static final int DATA_POINTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.ChartData getDefaultInstance()
Returns
TypeDescription
ReportSummary.ChartData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportSummary.ChartData.Builder newBuilder()
Returns
TypeDescription
ReportSummary.ChartData.Builder

newBuilder(ReportSummary.ChartData prototype)

public static ReportSummary.ChartData.Builder newBuilder(ReportSummary.ChartData prototype)
Parameter
NameDescription
prototypeReportSummary.ChartData
Returns
TypeDescription
ReportSummary.ChartData.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.ChartData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportSummary.ChartData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary.ChartData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.ChartData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportSummary.ChartData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.ChartData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ChartData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ChartData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportSummary.ChartData> parser()
Returns
TypeDescription
Parser<ChartData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

getParserForType()

public Parser<ReportSummary.ChartData> getParserForType()
Returns
TypeDescription
Parser<ChartData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportSummary.ChartData.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.ChartData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.ChartData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportSummary.ChartData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportSummary.ChartData.Builder toBuilder()
Returns
TypeDescription
ReportSummary.ChartData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException