Class ReportSummary.ComputeEngineFinding (0.29.0)

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

Inheritance

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

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()
Returns
Type Description
ReportSummary.ComputeEngineFinding

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.ComputeEngineFinding prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 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.

Returns
Type Description
PersistentDiskType

The allocatedDiskTypes at the given index.

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;

Returns
Type Description
List<PersistentDiskType>

A list containing the allocatedDiskTypes.

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;

Returns
Type Description
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

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

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
Returns
Type Description
ReportSummary.MachineSeriesAllocation

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;

Returns
Type Description
List<MachineSeriesAllocation>

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
Returns
Type Description
ReportSummary.MachineSeriesAllocationOrBuilder

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()
Returns
Type Description
Parser<ComputeEngineFinding>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.ComputeEngineFinding.Builder newBuilderForType()
Returns
Type Description
ReportSummary.ComputeEngineFinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.ComputeEngineFinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportSummary.ComputeEngineFinding.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.ComputeEngineFinding.Builder toBuilder()
Returns
Type Description
ReportSummary.ComputeEngineFinding.Builder

writeTo(CodedOutputStream output)

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