Send feedback
Class VmwareSourceVmDetails.VmwareDiskDetails.Builder (1.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class VmwareSourceVmDetails . VmwareDiskDetails . Builder extends GeneratedMessageV3 . Builder<VmwareSourceVmDetails . VmwareDiskDetails . Builder > implements VmwareSourceVmDetails . VmwareDiskDetailsOrBuilder
The details of a Vmware VM disk.
Protobuf type google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails
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 VmwareSourceVmDetails . VmwareDiskDetails . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public VmwareSourceVmDetails . VmwareDiskDetails build ()
buildPartial()
public VmwareSourceVmDetails . VmwareDiskDetails buildPartial ()
clear()
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clear ()
Overrides
clearDiskNumber()
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clearDiskNumber ()
Output only. The ordinal number of the disk.
int32 disk_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLabel()
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clearLabel ()
Output only. The disk label.
string label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSizeGb()
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clearSizeGb ()
Output only. Size in GB.
int64 size_gb = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public VmwareSourceVmDetails . VmwareDiskDetails . Builder clone ()
Overrides
getDefaultInstanceForType()
public VmwareSourceVmDetails . VmwareDiskDetails getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDiskNumber()
public int getDiskNumber ()
Output only. The ordinal number of the disk.
int32 disk_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The diskNumber.
getLabel()
Output only. The disk label.
string label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The label.
getLabelBytes()
public ByteString getLabelBytes ()
Output only. The disk label.
string label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for label.
getSizeGb()
Output only. Size in GB.
int64 size_gb = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
long
The sizeGb.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(VmwareSourceVmDetails.VmwareDiskDetails other)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder mergeFrom ( VmwareSourceVmDetails . VmwareDiskDetails other )
public VmwareSourceVmDetails . VmwareDiskDetails . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmwareSourceVmDetails . VmwareDiskDetails . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDiskNumber(int value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setDiskNumber ( int value )
Output only. The ordinal number of the disk.
int32 disk_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int
The diskNumber to set.
setField(Descriptors.FieldDescriptor field, Object value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLabel(String value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setLabel ( String value )
Output only. The disk label.
string label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
String
The label to set.
setLabelBytes(ByteString value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setLabelBytes ( ByteString value )
Output only. The disk label.
string label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
ByteString
The bytes for label to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSizeGb(long value)
public VmwareSourceVmDetails . VmwareDiskDetails . Builder setSizeGb ( long value )
Output only. Size in GB.
int64 size_gb = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
long
The sizeGb to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final VmwareSourceVmDetails . VmwareDiskDetails . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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-09-15 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-09-15 UTC."],[],[],null,[]]