public static final class ReportSummary.ComputeEngineFinding extends GeneratedMessageV3 implements ReportSummary.ComputeEngineFindingOrBuilder
A set of findings that applies to assets destined for Compute Engine.
Protobuf type google.cloud.migrationcenter.v1.ReportSummary.ComputeEngineFinding
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 |
|
ALLOCATED_DISK_TYPES_FIELD_NUMBER
public static final int ALLOCATED_DISK_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ALLOCATED_REGIONS_FIELD_NUMBER
public static final int ALLOCATED_REGIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_SERIES_ALLOCATIONS_FIELD_NUMBER
public static final int MACHINE_SERIES_ALLOCATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReportSummary.ComputeEngineFinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReportSummary.ComputeEngineFinding.Builder newBuilder()
newBuilder(ReportSummary.ComputeEngineFinding prototype)
public static ReportSummary.ComputeEngineFinding.Builder newBuilder(ReportSummary.ComputeEngineFinding prototype)
public static ReportSummary.ComputeEngineFinding parseDelimitedFrom(InputStream input)
public static ReportSummary.ComputeEngineFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReportSummary.ComputeEngineFinding parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.ComputeEngineFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReportSummary.ComputeEngineFinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.ComputeEngineFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.ComputeEngineFinding parseFrom(CodedInputStream input)
public static ReportSummary.ComputeEngineFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.ComputeEngineFinding parseFrom(InputStream input)
public static ReportSummary.ComputeEngineFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReportSummary.ComputeEngineFinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.ComputeEngineFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReportSummary.ComputeEngineFinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllocatedAssetCount()
public long getAllocatedAssetCount()
Count of assets which were allocated.
int64 allocated_asset_count = 2;
Returns |
Type |
Description |
long |
The allocatedAssetCount.
|
getAllocatedDiskTypes(int index)
public PersistentDiskType getAllocatedDiskTypes(int index)
Set of disk types allocated to assets.
repeated .google.cloud.migrationcenter.v1.PersistentDiskType allocated_disk_types = 4;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getAllocatedDiskTypesCount()
public int getAllocatedDiskTypesCount()
Set of disk types allocated to assets.
repeated .google.cloud.migrationcenter.v1.PersistentDiskType allocated_disk_types = 4;
Returns |
Type |
Description |
int |
The count of allocatedDiskTypes.
|
getAllocatedDiskTypesList()
public List<PersistentDiskType> getAllocatedDiskTypesList()
Set of disk types allocated to assets.
repeated .google.cloud.migrationcenter.v1.PersistentDiskType allocated_disk_types = 4;
getAllocatedDiskTypesValue(int index)
public int getAllocatedDiskTypesValue(int index)
Set of disk types allocated to assets.
repeated .google.cloud.migrationcenter.v1.PersistentDiskType allocated_disk_types = 4;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of allocatedDiskTypes at the given index.
|
getAllocatedDiskTypesValueList()
public List<Integer> getAllocatedDiskTypesValueList()
Set of disk types allocated to assets.
repeated .google.cloud.migrationcenter.v1.PersistentDiskType allocated_disk_types = 4;
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for allocatedDiskTypes.
|
getAllocatedRegions(int index)
public String getAllocatedRegions(int index)
Set of regions in which the assets were allocated.
repeated string allocated_regions = 1;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The allocatedRegions at the given index.
|
getAllocatedRegionsBytes(int index)
public ByteString getAllocatedRegionsBytes(int index)
Set of regions in which the assets were allocated.
repeated string allocated_regions = 1;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the allocatedRegions at the given index.
|
getAllocatedRegionsCount()
public int getAllocatedRegionsCount()
Set of regions in which the assets were allocated.
repeated string allocated_regions = 1;
Returns |
Type |
Description |
int |
The count of allocatedRegions.
|
getAllocatedRegionsList()
public ProtocolStringList getAllocatedRegionsList()
Set of regions in which the assets were allocated.
repeated string allocated_regions = 1;
getDefaultInstanceForType()
public ReportSummary.ComputeEngineFinding getDefaultInstanceForType()
getMachineSeriesAllocations(int index)
public ReportSummary.MachineSeriesAllocation getMachineSeriesAllocations(int index)
Distribution of assets based on the Machine Series.
repeated .google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation machine_series_allocations = 3;
Parameter |
Name |
Description |
index |
int
|
getMachineSeriesAllocationsCount()
public int getMachineSeriesAllocationsCount()
Distribution of assets based on the Machine Series.
repeated .google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation machine_series_allocations = 3;
Returns |
Type |
Description |
int |
|
getMachineSeriesAllocationsList()
public List<ReportSummary.MachineSeriesAllocation> getMachineSeriesAllocationsList()
Distribution of assets based on the Machine Series.
repeated .google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation machine_series_allocations = 3;
getMachineSeriesAllocationsOrBuilder(int index)
public ReportSummary.MachineSeriesAllocationOrBuilder getMachineSeriesAllocationsOrBuilder(int index)
Distribution of assets based on the Machine Series.
repeated .google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation machine_series_allocations = 3;
Parameter |
Name |
Description |
index |
int
|
getMachineSeriesAllocationsOrBuilderList()
public List<? extends ReportSummary.MachineSeriesAllocationOrBuilder> getMachineSeriesAllocationsOrBuilderList()
Distribution of assets based on the Machine Series.
repeated .google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation machine_series_allocations = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocationOrBuilder> |
|
getParserForType()
public Parser<ReportSummary.ComputeEngineFinding> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReportSummary.ComputeEngineFinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportSummary.ComputeEngineFinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReportSummary.ComputeEngineFinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides