Class VmUtilizationInfo (1.1.1)

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
TypeDescription
int

VMWARE_VM_DETAILS_FIELD_NUMBER

public static final int VMWARE_VM_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

VM_ID_FIELD_NUMBER

public static final int VM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmUtilizationInfo getDefaultInstance()
Returns
TypeDescription
VmUtilizationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VmUtilizationInfo.Builder newBuilder()
Returns
TypeDescription
VmUtilizationInfo.Builder

newBuilder(VmUtilizationInfo prototype)

public static VmUtilizationInfo.Builder newBuilder(VmUtilizationInfo prototype)
Parameter
NameDescription
prototypeVmUtilizationInfo
Returns
TypeDescription
VmUtilizationInfo.Builder

parseDelimitedFrom(InputStream input)

public static VmUtilizationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VmUtilizationInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmUtilizationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmUtilizationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VmUtilizationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VmUtilizationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmUtilizationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmUtilizationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VmUtilizationInfo> parser()
Returns
TypeDescription
Parser<VmUtilizationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VmUtilizationInfo getDefaultInstanceForType()
Returns
TypeDescription
VmUtilizationInfo

getParserForType()

public Parser<VmUtilizationInfo> getParserForType()
Returns
TypeDescription
Parser<VmUtilizationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUtilization()

public VmUtilizationMetrics getUtilization()

Utilization metrics for this VM.

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

Returns
TypeDescription
VmUtilizationMetrics

The utilization.

getUtilizationOrBuilder()

public VmUtilizationMetricsOrBuilder getUtilizationOrBuilder()

Utilization metrics for this VM.

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

Returns
TypeDescription
VmUtilizationMetricsOrBuilder

getVmDetailsCase()

public VmUtilizationInfo.VmDetailsCase getVmDetailsCase()
Returns
TypeDescription
VmUtilizationInfo.VmDetailsCase

getVmId()

public String getVmId()

The VM's ID in the source.

string vm_id = 3;

Returns
TypeDescription
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM's ID in the source.

string vm_id = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VmwareVmDetailsOrBuilder

hasUtilization()

public boolean hasUtilization()

Utilization metrics for this VM.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the vmwareVmDetails field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VmUtilizationInfo.Builder newBuilderForType()
Returns
TypeDescription
VmUtilizationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmUtilizationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VmUtilizationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VmUtilizationInfo.Builder toBuilder()
Returns
TypeDescription
VmUtilizationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException