Class AwsSourceVmDetails.AwsDiskDetails.Builder (0.16.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class AwsSourceVmDetails . AwsDiskDetails . Builder extends GeneratedMessageV3 . Builder<AwsSourceVmDetails . AwsDiskDetails . Builder > implements AwsSourceVmDetails . AwsDiskDetailsOrBuilder
The details of an AWS instance disk.
Protobuf type google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails
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 AwsSourceVmDetails . AwsDiskDetails . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AwsSourceVmDetails . AwsDiskDetails build ()
buildPartial()
public AwsSourceVmDetails . AwsDiskDetails buildPartial ()
clear()
public AwsSourceVmDetails . AwsDiskDetails . Builder clear ()
Overrides
clearDiskNumber()
public AwsSourceVmDetails . AwsDiskDetails . Builder clearDiskNumber ()
The ordinal number of the disk.
int32 disk_number = 1;
clearField(Descriptors.FieldDescriptor field)
public AwsSourceVmDetails . AwsDiskDetails . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsSourceVmDetails . AwsDiskDetails . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSizeGb()
public AwsSourceVmDetails . AwsDiskDetails . Builder clearSizeGb ()
Size in GB.
int64 size_gb = 3;
clearVolumeId()
public AwsSourceVmDetails . AwsDiskDetails . Builder clearVolumeId ()
AWS volume ID.
string volume_id = 2;
clone()
public AwsSourceVmDetails . AwsDiskDetails . Builder clone ()
Overrides
getDefaultInstanceForType()
public AwsSourceVmDetails . AwsDiskDetails getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDiskNumber()
public int getDiskNumber ()
The ordinal number of the disk.
int32 disk_number = 1;
Returns
Type
Description
int
The diskNumber.
getSizeGb()
Size in GB.
int64 size_gb = 3;
Returns
Type
Description
long
The sizeGb.
getVolumeId()
public String getVolumeId ()
AWS volume ID.
string volume_id = 2;
Returns
Type
Description
String
The volumeId.
getVolumeIdBytes()
public ByteString getVolumeIdBytes ()
AWS volume ID.
string volume_id = 2;
Returns
Type
Description
ByteString
The bytes for volumeId.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AwsSourceVmDetails.AwsDiskDetails other)
public AwsSourceVmDetails . AwsDiskDetails . Builder mergeFrom ( AwsSourceVmDetails . AwsDiskDetails other )
public AwsSourceVmDetails . AwsDiskDetails . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AwsSourceVmDetails . AwsDiskDetails . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails . AwsDiskDetails . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDiskNumber(int value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setDiskNumber ( int value )
The ordinal number of the disk.
int32 disk_number = 1;
Parameter
Name
Description
value
int
The diskNumber to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSizeGb(long value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setSizeGb ( long value )
Size in GB.
int64 size_gb = 3;
Parameter
Name
Description
value
long
The sizeGb to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails . AwsDiskDetails . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setVolumeId(String value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setVolumeId ( String value )
AWS volume ID.
string volume_id = 2;
Parameter
Name
Description
value
String
The volumeId to set.
setVolumeIdBytes(ByteString value)
public AwsSourceVmDetails . AwsDiskDetails . Builder setVolumeIdBytes ( ByteString value )
AWS volume ID.
string volume_id = 2;
Parameter
Name
Description
value
ByteString
The bytes for volumeId to set.
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-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,[]]