public static final class VmUtilizationInfo.Builder extends GeneratedMessageV3.Builder<VmUtilizationInfo.Builder> implements VmUtilizationInfoOrBuilder
Utilization information of a single VM.
Protobuf type google.events.cloud.vmmigration.v1.VmUtilizationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VmUtilizationInfo build()
buildPartial()
public VmUtilizationInfo buildPartial()
clear()
public VmUtilizationInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VmUtilizationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VmUtilizationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUtilization()
public VmUtilizationInfo.Builder clearUtilization()
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
clearVmDetails()
public VmUtilizationInfo.Builder clearVmDetails()
clearVmId()
public VmUtilizationInfo.Builder clearVmId()
The VM's ID in the source.
string vm_id = 3;
clearVmwareVmDetails()
public VmUtilizationInfo.Builder clearVmwareVmDetails()
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
clone()
public VmUtilizationInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public VmUtilizationInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUtilization()
public VmUtilizationMetrics getUtilization()
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
getUtilizationBuilder()
public VmUtilizationMetrics.Builder getUtilizationBuilder()
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
getUtilizationOrBuilder()
public VmUtilizationMetricsOrBuilder getUtilizationOrBuilder()
Utilization metrics for this VM.
.google.events.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.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
getVmwareVmDetailsBuilder()
public VmwareVmDetails.Builder getVmwareVmDetailsBuilder()
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
getVmwareVmDetailsOrBuilder()
public VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder()
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
hasUtilization()
public boolean hasUtilization()
Utilization metrics for this VM.
.google.events.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.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
Returns |
---|
Type | Description |
boolean | Whether the vmwareVmDetails field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VmUtilizationInfo other)
public VmUtilizationInfo.Builder mergeFrom(VmUtilizationInfo other)
public VmUtilizationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VmUtilizationInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUtilization(VmUtilizationMetrics value)
public VmUtilizationInfo.Builder mergeUtilization(VmUtilizationMetrics value)
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
mergeVmwareVmDetails(VmwareVmDetails value)
public VmUtilizationInfo.Builder mergeVmwareVmDetails(VmwareVmDetails value)
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public VmUtilizationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmUtilizationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VmUtilizationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUtilization(VmUtilizationMetrics value)
public VmUtilizationInfo.Builder setUtilization(VmUtilizationMetrics value)
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
setUtilization(VmUtilizationMetrics.Builder builderForValue)
public VmUtilizationInfo.Builder setUtilization(VmUtilizationMetrics.Builder builderForValue)
Utilization metrics for this VM.
.google.events.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2;
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.
|
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.
|
setVmwareVmDetails(VmwareVmDetails value)
public VmUtilizationInfo.Builder setVmwareVmDetails(VmwareVmDetails value)
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;
setVmwareVmDetails(VmwareVmDetails.Builder builderForValue)
public VmUtilizationInfo.Builder setVmwareVmDetails(VmwareVmDetails.Builder builderForValue)
The description of the VM in a Source of type Vmware.
.google.events.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1;