public final class VmUtilizationInfo extends GeneratedMessageV3 implements VmUtilizationInfoOrBuilder
Utilization information of a single VM.
Protobuf type google.cloud.vmmigration.v1.VmUtilizationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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