Class ReportSummary.SoleTenantNodeAllocation.Builder (0.28.0)

public static final class ReportSummary.SoleTenantNodeAllocation.Builder extends GeneratedMessageV3.Builder<ReportSummary.SoleTenantNodeAllocation.Builder> implements ReportSummary.SoleTenantNodeAllocationOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAllocatedAssetCount()

public ReportSummary.SoleTenantNodeAllocation.Builder clearAllocatedAssetCount()

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public ReportSummary.SoleTenantNodeAllocation.Builder clearNode()

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

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

Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

clearNodeCount()

public ReportSummary.SoleTenantNodeAllocation.Builder clearNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

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

getNode()

public SoleTenantNodeType getNode()

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

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

Returns
Type Description
SoleTenantNodeType

The node.

getNodeBuilder()

public SoleTenantNodeType.Builder getNodeBuilder()

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

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

Returns
Type Description
SoleTenantNodeType.Builder

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
Type Description
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
Type Description
SoleTenantNodeTypeOrBuilder

hasNode()

public boolean hasNode()

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

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

Returns
Type Description
boolean

Whether the node 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.SoleTenantNodeAllocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNode(SoleTenantNodeType value)

public ReportSummary.SoleTenantNodeAllocation.Builder mergeNode(SoleTenantNodeType value)

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

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

Parameter
Name Description
value SoleTenantNodeType
Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllocatedAssetCount(long value)

public ReportSummary.SoleTenantNodeAllocation.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.SoleTenantNodeAllocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNode(SoleTenantNodeType value)

public ReportSummary.SoleTenantNodeAllocation.Builder setNode(SoleTenantNodeType value)

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

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

Parameter
Name Description
value SoleTenantNodeType
Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

setNode(SoleTenantNodeType.Builder builderForValue)

public ReportSummary.SoleTenantNodeAllocation.Builder setNode(SoleTenantNodeType.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue SoleTenantNodeType.Builder
Returns
Type Description
ReportSummary.SoleTenantNodeAllocation.Builder

setNodeCount(long value)

public ReportSummary.SoleTenantNodeAllocation.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.SoleTenantNodeAllocation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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