public static final class ReportSummary.MachineSeriesAllocation.Builder extends GeneratedMessageV3.Builder<ReportSummary.MachineSeriesAllocation.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.MachineSeriesAllocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReportSummary.MachineSeriesAllocation build()
buildPartial()
public ReportSummary.MachineSeriesAllocation buildPartial()
clear()
public ReportSummary.MachineSeriesAllocation.Builder clear()
Overrides
clearAllocatedAssetCount()
public ReportSummary.MachineSeriesAllocation.Builder clearAllocatedAssetCount()
Count of assets allocated to this machine series.
int64 allocated_asset_count = 2;
clearField(Descriptors.FieldDescriptor field)
public ReportSummary.MachineSeriesAllocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMachineSeries()
public ReportSummary.MachineSeriesAllocation.Builder clearMachineSeries()
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportSummary.MachineSeriesAllocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReportSummary.MachineSeriesAllocation.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMachineSeries()
public MachineSeries getMachineSeries()
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
getMachineSeriesBuilder()
public MachineSeries.Builder getMachineSeriesBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReportSummary.MachineSeriesAllocation other)
public ReportSummary.MachineSeriesAllocation.Builder mergeFrom(ReportSummary.MachineSeriesAllocation other)
public ReportSummary.MachineSeriesAllocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReportSummary.MachineSeriesAllocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMachineSeries(MachineSeries value)
public ReportSummary.MachineSeriesAllocation.Builder mergeMachineSeries(MachineSeries value)
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.MachineSeriesAllocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllocatedAssetCount(long value)
public ReportSummary.MachineSeriesAllocation.Builder setAllocatedAssetCount(long value)
Count of assets allocated to this machine series.
int64 allocated_asset_count = 2;
Parameter |
Name |
Description |
value |
long
The allocatedAssetCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.MachineSeriesAllocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMachineSeries(MachineSeries value)
public ReportSummary.MachineSeriesAllocation.Builder setMachineSeries(MachineSeries value)
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
setMachineSeries(MachineSeries.Builder builderForValue)
public ReportSummary.MachineSeriesAllocation.Builder setMachineSeries(MachineSeries.Builder builderForValue)
The Machine Series (e.g. "E2", "N2")
.google.cloud.migrationcenter.v1.MachineSeries machine_series = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportSummary.MachineSeriesAllocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.MachineSeriesAllocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides