Class ReportSummary.VmwareNodeAllocation (0.25.0)

public static final class ReportSummary.VmwareNodeAllocation extends GeneratedMessageV3 implements ReportSummary.VmwareNodeAllocationOrBuilder

Represents assets allocated to a specific VMWare Node type.

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

Inheritance

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

Static Fields

ALLOCATED_ASSET_COUNT_FIELD_NUMBER

public static final int ALLOCATED_ASSET_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

VMWARE_NODE_FIELD_NUMBER

public static final int VMWARE_NODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.VmwareNodeAllocation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 allocated to these nodes

int64 allocated_asset_count = 3;

Returns
Type Description
long

The allocatedAssetCount.

getDefaultInstanceForType()

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

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
Type Description
long

The nodeCount.

getParserForType()

public Parser<ReportSummary.VmwareNodeAllocation> getParserForType()
Returns
Type Description
Parser<VmwareNodeAllocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVmwareNode()

public ReportSummary.VmwareNode getVmwareNode()

VMWare node type, e.g. "ve1-standard-72"

.google.cloud.migrationcenter.v1.ReportSummary.VmwareNode vmware_node = 1;

Returns
Type Description
ReportSummary.VmwareNode

The vmwareNode.

getVmwareNodeOrBuilder()

public ReportSummary.VmwareNodeOrBuilder getVmwareNodeOrBuilder()

VMWare node type, e.g. "ve1-standard-72"

.google.cloud.migrationcenter.v1.ReportSummary.VmwareNode vmware_node = 1;

Returns
Type Description
ReportSummary.VmwareNodeOrBuilder

hasVmwareNode()

public boolean hasVmwareNode()

VMWare node type, e.g. "ve1-standard-72"

.google.cloud.migrationcenter.v1.ReportSummary.VmwareNode vmware_node = 1;

Returns
Type Description
boolean

Whether the vmwareNode field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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