Class ReportSummary.VmwareNodeAllocation.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareNodeAllocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides

build()

public ReportSummary.VmwareNodeAllocation build()
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation

buildPartial()

public ReportSummary.VmwareNodeAllocation buildPartial()
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation

clear()

public ReportSummary.VmwareNodeAllocation.Builder clear()
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides

clearAllocatedAssetCount()

public ReportSummary.VmwareNodeAllocation.Builder clearAllocatedAssetCount()

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.VmwareNodeAllocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides

clearNodeCount()

public ReportSummary.VmwareNodeAllocation.Builder clearNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.VmwareNodeAllocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.VmwareNodeAllocation other)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(ReportSummary.VmwareNodeAllocation other)
Parameter
NameDescription
otherReportSummary.VmwareNodeAllocation
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportSummary.VmwareNodeAllocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareNodeAllocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueReportSummary.VmwareNode
Returns
TypeDescription
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
NameDescription
valuelong

The allocatedAssetCount to set.

Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareNodeAllocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The nodeCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareNodeAllocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueReportSummary.VmwareNode
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.VmwareNode.Builder
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder