Class ReportSummary.VmwareNodeAllocation (0.21.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
TypeDescription
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

VMWARE_NODE_FIELD_NUMBER

public static final int VMWARE_NODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.VmwareNodeAllocation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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.VmwareNodeAllocation getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
TypeDescription
long

The nodeCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReportSummary.VmwareNodeOrBuilder

hasVmwareNode()

public boolean hasVmwareNode()

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

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

Returns
TypeDescription
boolean

Whether the vmwareNode 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.VmwareNodeAllocation.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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