Class ReportSummary.SoleTenantNodeAllocation.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAllocatedAssetCount()

public ReportSummary.SoleTenantNodeAllocation.Builder clearAllocatedAssetCount()

Count of assets allocated to these nodes

int64 allocated_asset_count = 3;

Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.SoleTenantNodeAllocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

clearNodeCount()

public ReportSummary.SoleTenantNodeAllocation.Builder clearNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.SoleTenantNodeAllocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNode()

public SoleTenantNodeType getNode()

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

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

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

getNodeCount()

public long getNodeCount()

Count of this node type to be provisioned

int64 node_count = 2;

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

hasNode()

public boolean hasNode()

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

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

Returns
TypeDescription
boolean

Whether the node field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.SoleTenantNodeAllocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReportSummary.SoleTenantNodeAllocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSoleTenantNodeType
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The allocatedAssetCount to set.

Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The nodeCount to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.SoleTenantNodeAllocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.SoleTenantNodeAllocation.Builder
Overrides