Class VmUtilizationInfo (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class VmUtilizationInfo extends GeneratedMessageV3 implements VmUtilizationInfoOrBuilder
Utilization information of a single VM.
Protobuf type google.cloud.vmmigration.v1.VmUtilizationInfo
Static Fields
UTILIZATION_FIELD_NUMBER
public static final int UTILIZATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VMWARE_VM_DETAILS_FIELD_NUMBER
public static final int VMWARE_VM_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VmUtilizationInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VmUtilizationInfo.Builder newBuilder()
newBuilder(VmUtilizationInfo prototype)
public static VmUtilizationInfo.Builder newBuilder(VmUtilizationInfo prototype)
public static VmUtilizationInfo parseDelimitedFrom(InputStream input)
public static VmUtilizationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VmUtilizationInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VmUtilizationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VmUtilizationInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmUtilizationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmUtilizationInfo parseFrom(CodedInputStream input)
public static VmUtilizationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VmUtilizationInfo parseFrom(InputStream input)
public static VmUtilizationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VmUtilizationInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VmUtilizationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VmUtilizationInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VmUtilizationInfo getDefaultInstanceForType()
getParserForType()
public Parser<VmUtilizationInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUtilization()
public VmUtilizationMetrics getUtilization()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
getUtilizationOrBuilder()
public VmUtilizationMetricsOrBuilder getUtilizationOrBuilder()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
getVmDetailsCase()
public VmUtilizationInfo.VmDetailsCase getVmDetailsCase()
getVmId()
The VM's ID in the source.
string vm_id = 3;
Returns |
---|
Type | Description |
String | The vmId.
|
getVmIdBytes()
public ByteString getVmIdBytes()
The VM's ID in the source.
string vm_id = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for vmId.
|
getVmwareVmDetails()
public VmwareVmDetails getVmwareVmDetails()
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
getVmwareVmDetailsOrBuilder()
public VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder()
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
hasUtilization()
public boolean hasUtilization()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Returns |
---|
Type | Description |
boolean | Whether the utilization field is set.
|
hasVmwareVmDetails()
public boolean hasVmwareVmDetails()
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Returns |
---|
Type | Description |
boolean | Whether the vmwareVmDetails field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VmUtilizationInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VmUtilizationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VmUtilizationInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]