Class ReportSummary.ComputeEngineFinding (0.10.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
TypeDescription
int

ALLOCATED_DISK_TYPES_FIELD_NUMBER

public static final int ALLOCATED_DISK_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOCATED_REGIONS_FIELD_NUMBER

public static final int ALLOCATED_REGIONS_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_SERIES_ALLOCATIONS_FIELD_NUMBER

public static final int MACHINE_SERIES_ALLOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.ComputeEngineFinding getDefaultInstance()
Returns
TypeDescription
ReportSummary.ComputeEngineFinding

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportSummary.ComputeEngineFinding.Builder newBuilder()
Returns
TypeDescription
ReportSummary.ComputeEngineFinding.Builder

newBuilder(ReportSummary.ComputeEngineFinding prototype)

public static ReportSummary.ComputeEngineFinding.Builder newBuilder(ReportSummary.ComputeEngineFinding prototype)
Parameter
NameDescription
prototypeReportSummary.ComputeEngineFinding
Returns
TypeDescription
ReportSummary.ComputeEngineFinding.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.ComputeEngineFinding parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportSummary.ComputeEngineFinding parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary.ComputeEngineFinding parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.ComputeEngineFinding parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportSummary.ComputeEngineFinding parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.ComputeEngineFinding parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.ComputeEngineFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.ComputeEngineFinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets which were allocated.

int64 allocated_asset_count = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of allocatedRegions.

getAllocatedRegionsList()

public ProtocolStringList getAllocatedRegionsList()

Set of regions in which the assets were allocated.

repeated string allocated_regions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

public ReportSummary.ComputeEngineFinding getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocationOrBuilder>

getParserForType()

public Parser<ReportSummary.ComputeEngineFinding> getParserForType()
Returns
TypeDescription
Parser<ComputeEngineFinding>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportSummary.ComputeEngineFinding.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.ComputeEngineFinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.ComputeEngineFinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportSummary.ComputeEngineFinding.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportSummary.ComputeEngineFinding.Builder toBuilder()
Returns
TypeDescription
ReportSummary.ComputeEngineFinding.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException