Class ReportSummary.MachineSeriesAllocation (0.36.0)

public static final class ReportSummary.MachineSeriesAllocation extends GeneratedMessageV3 implements ReportSummary.MachineSeriesAllocationOrBuilder

Represents a data point tracking the count of assets allocated for a specific Machine Series.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportSummary.MachineSeriesAllocation

Static Fields

ALLOCATED_ASSET_COUNT_FIELD_NUMBER

public static final int ALLOCATED_ASSET_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_SERIES_FIELD_NUMBER

public static final int MACHINE_SERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportSummary.MachineSeriesAllocation getDefaultInstance()
Returns
Type Description
ReportSummary.MachineSeriesAllocation

getDescriptor()

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

newBuilder()

public static ReportSummary.MachineSeriesAllocation.Builder newBuilder()
Returns
Type Description
ReportSummary.MachineSeriesAllocation.Builder

newBuilder(ReportSummary.MachineSeriesAllocation prototype)

public static ReportSummary.MachineSeriesAllocation.Builder newBuilder(ReportSummary.MachineSeriesAllocation prototype)
Parameter
Name Description
prototype ReportSummary.MachineSeriesAllocation
Returns
Type Description
ReportSummary.MachineSeriesAllocation.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.MachineSeriesAllocation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReportSummary.MachineSeriesAllocation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary.MachineSeriesAllocation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.MachineSeriesAllocation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReportSummary.MachineSeriesAllocation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.MachineSeriesAllocation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.MachineSeriesAllocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.MachineSeriesAllocation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReportSummary.MachineSeriesAllocation> parser()
Returns
Type Description
Parser<MachineSeriesAllocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets allocated to this machine series.

int64 allocated_asset_count = 2;

Returns
Type Description
long

The allocatedAssetCount.

getDefaultInstanceForType()

public ReportSummary.MachineSeriesAllocation getDefaultInstanceForType()
Returns
Type Description
ReportSummary.MachineSeriesAllocation

getMachineSeries()

public MachineSeries getMachineSeries()

The Machine Series (e.g. "E2", "N2")

.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;

Returns
Type Description
MachineSeries

The machineSeries.

getMachineSeriesOrBuilder()

public MachineSeriesOrBuilder getMachineSeriesOrBuilder()

The Machine Series (e.g. "E2", "N2")

.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;

Returns
Type Description
MachineSeriesOrBuilder

getParserForType()

public Parser<ReportSummary.MachineSeriesAllocation> getParserForType()
Returns
Type Description
Parser<MachineSeriesAllocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMachineSeries()

public boolean hasMachineSeries()

The Machine Series (e.g. "E2", "N2")

.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;

Returns
Type Description
boolean

Whether the machineSeries field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReportSummary.MachineSeriesAllocation.Builder newBuilderForType()
Returns
Type Description
ReportSummary.MachineSeriesAllocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.MachineSeriesAllocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportSummary.MachineSeriesAllocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReportSummary.MachineSeriesAllocation.Builder toBuilder()
Returns
Type Description
ReportSummary.MachineSeriesAllocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException