public static final class ReportSummary.SoleTenantNodeAllocation extends GeneratedMessageV3 implements ReportSummary.SoleTenantNodeAllocationOrBuilder
Represents the assets allocated to a specific Sole-Tenant node type.
Protobuf type google.cloud.migrationcenter.v1.ReportSummary.SoleTenantNodeAllocation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportSummary.SoleTenantNodeAllocationStatic Fields
ALLOCATED_ASSET_COUNT_FIELD_NUMBER
public static final int ALLOCATED_ASSET_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReportSummary.SoleTenantNodeAllocation getDefaultInstance()
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ReportSummary.SoleTenantNodeAllocation.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation.Builder |
newBuilder(ReportSummary.SoleTenantNodeAllocation prototype)
public static ReportSummary.SoleTenantNodeAllocation.Builder newBuilder(ReportSummary.SoleTenantNodeAllocation prototype)
Parameter | |
---|---|
Name | Description |
prototype | ReportSummary.SoleTenantNodeAllocation |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation.Builder |
parseDelimitedFrom(InputStream input)
public static ReportSummary.SoleTenantNodeAllocation parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportSummary.SoleTenantNodeAllocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReportSummary.SoleTenantNodeAllocation> parser()
Returns | |
---|---|
Type | Description |
Parser<SoleTenantNodeAllocation> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
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. |
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 |
getParserForType()
public Parser<ReportSummary.SoleTenantNodeAllocation> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<SoleTenantNodeAllocation> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ReportSummary.SoleTenantNodeAllocation.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportSummary.SoleTenantNodeAllocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ReportSummary.SoleTenantNodeAllocation.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ReportSummary.SoleTenantNodeAllocation.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |