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