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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReportSummary.MachineSeriesAllocation.Builder newBuilder()
newBuilder(ReportSummary.MachineSeriesAllocation prototype)
public static ReportSummary.MachineSeriesAllocation.Builder newBuilder(ReportSummary.MachineSeriesAllocation prototype)
public static ReportSummary.MachineSeriesAllocation parseDelimitedFrom(InputStream input)
public static ReportSummary.MachineSeriesAllocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReportSummary.MachineSeriesAllocation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.MachineSeriesAllocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReportSummary.MachineSeriesAllocation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.MachineSeriesAllocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.MachineSeriesAllocation parseFrom(CodedInputStream input)
public static ReportSummary.MachineSeriesAllocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.MachineSeriesAllocation parseFrom(InputStream input)
public static ReportSummary.MachineSeriesAllocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReportSummary.MachineSeriesAllocation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.MachineSeriesAllocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReportSummary.MachineSeriesAllocation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getMachineSeries()
public MachineSeries getMachineSeries()
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
getMachineSeriesOrBuilder()
public MachineSeriesOrBuilder getMachineSeriesOrBuilder()
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
getParserForType()
public Parser<ReportSummary.MachineSeriesAllocation> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReportSummary.MachineSeriesAllocation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportSummary.MachineSeriesAllocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReportSummary.MachineSeriesAllocation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides