Class ReportSummary.VmwareNodeAllocation.Builder (0.28.0)

public static final class ReportSummary.VmwareNodeAllocation.Builder extends GeneratedMessageV3.Builder<ReportSummary.VmwareNodeAllocation.Builder> implements ReportSummary.VmwareNodeAllocationOrBuilder

Represents assets allocated to a specific VMWare Node type.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareNodeAllocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ReportSummary.VmwareNodeAllocation.Builder clear()
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

clearAllocatedAssetCount()

public ReportSummary.VmwareNodeAllocation.Builder clearAllocatedAssetCount()

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.VmwareNodeAllocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

clearNodeCount()

public ReportSummary.VmwareNodeAllocation.Builder clearNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.VmwareNodeAllocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

clearVmwareNode()

public ReportSummary.VmwareNodeAllocation.Builder clearVmwareNode()

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

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

Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
Type Description
long

The nodeCount.

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.

getVmwareNodeBuilder()

public ReportSummary.VmwareNode.Builder getVmwareNodeBuilder()

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

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

Returns
Type Description
ReportSummary.VmwareNode.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.VmwareNodeAllocation other)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(ReportSummary.VmwareNodeAllocation other)
Parameter
Name Description
other ReportSummary.VmwareNodeAllocation
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareNodeAllocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

mergeVmwareNode(ReportSummary.VmwareNode value)

public ReportSummary.VmwareNodeAllocation.Builder mergeVmwareNode(ReportSummary.VmwareNode value)

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

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

Parameter
Name Description
value ReportSummary.VmwareNode
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

setAllocatedAssetCount(long value)

public ReportSummary.VmwareNodeAllocation.Builder setAllocatedAssetCount(long value)

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Parameter
Name Description
value long

The allocatedAssetCount to set.

Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareNodeAllocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

setNodeCount(long value)

public ReportSummary.VmwareNodeAllocation.Builder setNodeCount(long value)

Count of this node type to be provisioned

int64 node_count = 2;

Parameter
Name Description
value long

The nodeCount to set.

Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.VmwareNodeAllocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareNodeAllocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder
Overrides

setVmwareNode(ReportSummary.VmwareNode value)

public ReportSummary.VmwareNodeAllocation.Builder setVmwareNode(ReportSummary.VmwareNode value)

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

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

Parameter
Name Description
value ReportSummary.VmwareNode
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

setVmwareNode(ReportSummary.VmwareNode.Builder builderForValue)

public ReportSummary.VmwareNodeAllocation.Builder setVmwareNode(ReportSummary.VmwareNode.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ReportSummary.VmwareNode.Builder
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder