Class VmUtilizationInfo (1.45.0)

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()
Returns
Type Description
VmUtilizationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VmUtilizationInfo.Builder newBuilder()
Returns
Type Description
VmUtilizationInfo.Builder

newBuilder(VmUtilizationInfo prototype)

public static VmUtilizationInfo.Builder newBuilder(VmUtilizationInfo prototype)
Parameter
Name Description
prototype VmUtilizationInfo
Returns
Type Description
VmUtilizationInfo.Builder

parseDelimitedFrom(InputStream input)

public static VmUtilizationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VmUtilizationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmUtilizationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmUtilizationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VmUtilizationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VmUtilizationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmUtilizationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VmUtilizationInfo> parser()
Returns
Type Description
Parser<VmUtilizationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VmUtilizationInfo getDefaultInstanceForType()
Returns
Type Description
VmUtilizationInfo

getParserForType()

public Parser<VmUtilizationInfo> getParserForType()
Returns
Type Description
Parser<VmUtilizationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUtilization()

public VmUtilizationMetrics getUtilization()

Utilization metrics for this VM.

.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;

Returns
Type Description
VmUtilizationMetrics

The utilization.

getUtilizationOrBuilder()

public VmUtilizationMetricsOrBuilder getUtilizationOrBuilder()

Utilization metrics for this VM.

.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;

Returns
Type Description
VmUtilizationMetricsOrBuilder

getVmDetailsCase()

public VmUtilizationInfo.VmDetailsCase getVmDetailsCase()
Returns
Type Description
VmUtilizationInfo.VmDetailsCase

getVmId()

public String 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;

Returns
Type Description
VmwareVmDetails

The vmwareVmDetails.

getVmwareVmDetailsOrBuilder()

public VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder()

The description of the VM in a Source of type Vmware.

.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;

Returns
Type Description
VmwareVmDetailsOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VmUtilizationInfo.Builder newBuilderForType()
Returns
Type Description
VmUtilizationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmUtilizationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VmUtilizationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VmUtilizationInfo.Builder toBuilder()
Returns
Type Description
VmUtilizationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException