Class ReportSummary.SoleTenantFinding (0.26.0)

public static final class ReportSummary.SoleTenantFinding extends GeneratedMessageV3 implements ReportSummary.SoleTenantFindingOrBuilder

A set of findings that applies to assets destined for Sole-Tenant nodes.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.SoleTenantFinding

Inheritance

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

Static Fields

ALLOCATED_ASSET_COUNT_FIELD_NUMBER

public static final int ALLOCATED_ASSET_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ALLOCATED_REGIONS_FIELD_NUMBER

public static final int ALLOCATED_REGIONS_FIELD_NUMBER
Field Value
Type Description
int

NODE_ALLOCATIONS_FIELD_NUMBER

public static final int NODE_ALLOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportSummary.SoleTenantFinding getDefaultInstance()
Returns
Type Description
ReportSummary.SoleTenantFinding

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.SoleTenantFinding prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 are allocated

int64 allocated_asset_count = 2;

Returns
Type Description
long

The allocatedAssetCount.

getAllocatedRegions(int index)

public String getAllocatedRegions(int index)

Set of regions in which the assets are 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 are 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 are 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 are allocated

repeated string allocated_regions = 1;

Returns
Type Description
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

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

getNodeAllocations(int index)

public ReportSummary.SoleTenantNodeAllocation getNodeAllocations(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation node_allocations = 3;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.SoleTenantNodeAllocation

getNodeAllocationsCount()

public int getNodeAllocationsCount()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation node_allocations = 3;

Returns
Type Description
int

getNodeAllocationsList()

public List<ReportSummary.SoleTenantNodeAllocation> getNodeAllocationsList()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation node_allocations = 3;

Returns
Type Description
List<SoleTenantNodeAllocation>

getNodeAllocationsOrBuilder(int index)

public ReportSummary.SoleTenantNodeAllocationOrBuilder getNodeAllocationsOrBuilder(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation node_allocations = 3;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.SoleTenantNodeAllocationOrBuilder

getNodeAllocationsOrBuilderList()

public List<? extends ReportSummary.SoleTenantNodeAllocationOrBuilder> getNodeAllocationsOrBuilderList()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation node_allocations = 3;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocationOrBuilder>

getParserForType()

public Parser<ReportSummary.SoleTenantFinding> getParserForType()
Returns
Type Description
Parser<SoleTenantFinding>
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.SoleTenantFinding.Builder newBuilderForType()
Returns
Type Description
ReportSummary.SoleTenantFinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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