Class ReportSummary.SoleTenantFinding (0.17.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
TypeDescription
int

ALLOCATED_REGIONS_FIELD_NUMBER

public static final int ALLOCATED_REGIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_ALLOCATIONS_FIELD_NUMBER

public static final int NODE_ALLOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.SoleTenantFinding prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets which are allocated

int64 allocated_asset_count = 2;

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

repeated string allocated_regions = 1;

Returns
TypeDescription
int

The count of allocatedRegions.

getAllocatedRegionsList()

public ProtocolStringList getAllocatedRegionsList()

Set of regions in which the assets are allocated

repeated string allocated_regions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

public ReportSummary.SoleTenantFinding getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation

getNodeAllocationsCount()

public int getNodeAllocationsCount()

Set of per-nodetype allocation records

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

Returns
TypeDescription
int

getNodeAllocationsList()

public List<ReportSummary.SoleTenantNodeAllocation> getNodeAllocationsList()

Set of per-nodetype allocation records

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocationOrBuilder>

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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