Class ReportSummary.SoleTenantNodeAllocation (0.17.0)

public static final class ReportSummary.SoleTenantNodeAllocation extends GeneratedMessageV3 implements ReportSummary.SoleTenantNodeAllocationOrBuilder

Represents the assets allocated to a specific Sole-Tenant node type.

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

Inheritance

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

Static Fields

ALLOCATED_ASSET_COUNT_FIELD_NUMBER

public static final int ALLOCATED_ASSET_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_FIELD_NUMBER

public static final int NODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.SoleTenantNodeAllocation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Returns
TypeDescription
long

The allocatedAssetCount.

getDefaultInstanceForType()

public ReportSummary.SoleTenantNodeAllocation getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation

getNode()

public SoleTenantNodeType getNode()

Sole Tenant node type, e.g. "m3-node-128-3904"

.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;

Returns
TypeDescription
SoleTenantNodeType

The node.

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
TypeDescription
long

The nodeCount.

getNodeOrBuilder()

public SoleTenantNodeTypeOrBuilder getNodeOrBuilder()

Sole Tenant node type, e.g. "m3-node-128-3904"

.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;

Returns
TypeDescription
SoleTenantNodeTypeOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasNode()

public boolean hasNode()

Sole Tenant node type, e.g. "m3-node-128-3904"

.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;

Returns
TypeDescription
boolean

Whether the node field is set.

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.SoleTenantNodeAllocation.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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