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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.SoleTenantNodeAllocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReportSummary.SoleTenantNodeAllocation build()
buildPartial()
public ReportSummary.SoleTenantNodeAllocation buildPartial()
clear()
public ReportSummary.SoleTenantNodeAllocation.Builder clear()
Overrides
clearAllocatedAssetCount()
public ReportSummary.SoleTenantNodeAllocation.Builder clearAllocatedAssetCount()
Count of assets allocated to these nodes
int64 allocated_asset_count = 3;
clearField(Descriptors.FieldDescriptor field)
public ReportSummary.SoleTenantNodeAllocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNode()
public ReportSummary.SoleTenantNodeAllocation.Builder clearNode()
Sole Tenant node type, e.g. "m3-node-128-3904"
.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;
clearNodeCount()
public ReportSummary.SoleTenantNodeAllocation.Builder clearNodeCount()
Count of this node type to be provisioned
int64 node_count = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportSummary.SoleTenantNodeAllocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReportSummary.SoleTenantNodeAllocation.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNode()
public SoleTenantNodeType getNode()
Sole Tenant node type, e.g. "m3-node-128-3904"
.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;
getNodeBuilder()
public SoleTenantNodeType.Builder getNodeBuilder()
Sole Tenant node type, e.g. "m3-node-128-3904"
.google.cloud.migrationcenter.v1.SoleTenantNodeType node = 1;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReportSummary.SoleTenantNodeAllocation other)
public ReportSummary.SoleTenantNodeAllocation.Builder mergeFrom(ReportSummary.SoleTenantNodeAllocation other)
public ReportSummary.SoleTenantNodeAllocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReportSummary.SoleTenantNodeAllocation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.SoleTenantNodeAllocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReportSummary.SoleTenantNodeAllocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportSummary.SoleTenantNodeAllocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportSummary.SoleTenantNodeAllocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides