Send feedback
Class VmUtilizationInfo.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
public static final class VmUtilizationInfo . Builder extends GeneratedMessageV3 . Builder<VmUtilizationInfo . Builder > implements VmUtilizationInfoOrBuilder
Utilization information of a single VM.
Protobuf type google.cloud.vmmigration.v1.VmUtilizationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public VmUtilizationInfo build ()
Returns
buildPartial()
public VmUtilizationInfo buildPartial ()
Returns
clear()
public VmUtilizationInfo . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VmUtilizationInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VmUtilizationInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUtilization()
public VmUtilizationInfo . Builder clearUtilization ()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Returns
clearVmDetails()
public VmUtilizationInfo . Builder clearVmDetails ()
Returns
clearVmId()
public VmUtilizationInfo . Builder clearVmId ()
The VM's ID in the source.
string vm_id = 3;
Returns
clearVmwareVmDetails()
public VmUtilizationInfo . Builder clearVmwareVmDetails ()
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Returns
clone()
public VmUtilizationInfo . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public VmUtilizationInfo getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getUtilization()
public VmUtilizationMetrics getUtilization ()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Returns
getUtilizationBuilder()
public VmUtilizationMetrics . Builder getUtilizationBuilder ()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Returns
getUtilizationOrBuilder()
public VmUtilizationMetricsOrBuilder getUtilizationOrBuilder ()
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Returns
getVmDetailsCase()
public VmUtilizationInfo . VmDetailsCase getVmDetailsCase ()
Returns
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
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
getVmwareVmDetailsBuilder()
public VmwareVmDetails . Builder getVmwareVmDetailsBuilder ()
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Returns
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
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(VmUtilizationInfo other)
public VmUtilizationInfo . Builder mergeFrom ( VmUtilizationInfo other )
Parameter
Returns
public VmUtilizationInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VmUtilizationInfo . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUtilization(VmUtilizationMetrics value)
public VmUtilizationInfo . Builder mergeUtilization ( VmUtilizationMetrics value )
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Parameter
Returns
mergeVmwareVmDetails(VmwareVmDetails value)
public VmUtilizationInfo . Builder mergeVmwareVmDetails ( VmwareVmDetails value )
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmUtilizationInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUtilization(VmUtilizationMetrics value)
public VmUtilizationInfo . Builder setUtilization ( VmUtilizationMetrics value )
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Parameter
Returns
setUtilization(VmUtilizationMetrics.Builder builderForValue)
public VmUtilizationInfo . Builder setUtilization ( VmUtilizationMetrics . Builder builderForValue )
Utilization metrics for this VM.
.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
Parameter
Returns
setVmId(String value)
public VmUtilizationInfo . Builder setVmId ( String value )
The VM's ID in the source.
string vm_id = 3;
Parameter
Name Description value
String
The vmId to set.
Returns
setVmIdBytes(ByteString value)
public VmUtilizationInfo . Builder setVmIdBytes ( ByteString value )
The VM's ID in the source.
string vm_id = 3;
Parameter
Name Description value
ByteString
The bytes for vmId to set.
Returns
setVmwareVmDetails(VmwareVmDetails value)
public VmUtilizationInfo . Builder setVmwareVmDetails ( VmwareVmDetails value )
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Parameter
Returns
setVmwareVmDetails(VmwareVmDetails.Builder builderForValue)
public VmUtilizationInfo . Builder setVmwareVmDetails ( VmwareVmDetails . Builder builderForValue )
The description of the VM in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Parameter
Returns
Send feedback
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 2025-01-28 UTC.
Need to tell us more?
[[["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 2025-01-28 UTC."],[],[]]