Send feedback
Class ComputeEngineDisksTargetDefaults (1.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class ComputeEngineDisksTargetDefaults extends GeneratedMessageV3 implements ComputeEngineDisksTargetDefaultsOrBuilder
ComputeEngineDisksTargetDefaults is a collection of details for creating
Persistent Disks in a target Compute Engine project.
Protobuf type google.cloud.vmmigration.v1.ComputeEngineDisksTargetDefaults
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
Field Value
Type
Description
int
DISKS_TARGET_DEFAULTS_FIELD_NUMBER
public static final int DISKS_TARGET_DEFAULTS_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_PROJECT_FIELD_NUMBER
public static final int TARGET_PROJECT_FIELD_NUMBER
Field Value
Type
Description
int
VM_TARGET_DEFAULTS_FIELD_NUMBER
public static final int VM_TARGET_DEFAULTS_FIELD_NUMBER
Field Value
Type
Description
int
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ComputeEngineDisksTargetDefaults getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ComputeEngineDisksTargetDefaults . Builder newBuilder ()
newBuilder(ComputeEngineDisksTargetDefaults prototype)
public static ComputeEngineDisksTargetDefaults . Builder newBuilder ( ComputeEngineDisksTargetDefaults prototype )
public static ComputeEngineDisksTargetDefaults parseDelimitedFrom ( InputStream input )
public static ComputeEngineDisksTargetDefaults parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ComputeEngineDisksTargetDefaults parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineDisksTargetDefaults parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ComputeEngineDisksTargetDefaults parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineDisksTargetDefaults parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ComputeEngineDisksTargetDefaults parseFrom ( CodedInputStream input )
public static ComputeEngineDisksTargetDefaults parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ComputeEngineDisksTargetDefaults parseFrom ( InputStream input )
public static ComputeEngineDisksTargetDefaults parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ComputeEngineDisksTargetDefaults parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineDisksTargetDefaults parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ComputeEngineDisksTargetDefaults> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public ComputeEngineDisksTargetDefaults getDefaultInstanceForType ()
getDisks(int index)
public PersistentDiskDefaults getDisks ( int index )
The details of each Persistent Disk to create.
repeated .google.cloud.vmmigration.v1.PersistentDiskDefaults disks = 4;
Parameter
Name
Description
index
int
getDisksCount()
public int getDisksCount ()
The details of each Persistent Disk to create.
repeated .google.cloud.vmmigration.v1.PersistentDiskDefaults disks = 4;
Returns
Type
Description
int
getDisksList()
public List<PersistentDiskDefaults> getDisksList ()
The details of each Persistent Disk to create.
repeated .google.cloud.vmmigration.v1.PersistentDiskDefaults disks = 4;
getDisksOrBuilder(int index)
public PersistentDiskDefaultsOrBuilder getDisksOrBuilder ( int index )
The details of each Persistent Disk to create.
repeated .google.cloud.vmmigration.v1.PersistentDiskDefaults disks = 4;
Parameter
Name
Description
index
int
getDisksOrBuilderList()
public List <? extends PersistentDiskDefaultsOrBuilder > getDisksOrBuilderList ()
The details of each Persistent Disk to create.
repeated .google.cloud.vmmigration.v1.PersistentDiskDefaults disks = 4;
Returns
Type
Description
List <? extends com.google.cloud.vmmigration.v1.PersistentDiskDefaultsOrBuilder >
getDisksTargetDefaults()
public DisksMigrationDisksTargetDefaults getDisksTargetDefaults ()
Details of the disk only migration target.
.google.cloud.vmmigration.v1.DisksMigrationDisksTargetDefaults disks_target_defaults = 5;
getDisksTargetDefaultsOrBuilder()
public DisksMigrationDisksTargetDefaultsOrBuilder getDisksTargetDefaultsOrBuilder ()
Details of the disk only migration target.
.google.cloud.vmmigration.v1.DisksMigrationDisksTargetDefaults disks_target_defaults = 5;
getLocationCase()
public ComputeEngineDisksTargetDefaults . LocationCase getLocationCase ()
getParserForType()
public Parser<ComputeEngineDisksTargetDefaults> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTargetProject()
public String getTargetProject ()
The full path of the resource of type TargetProject which represents the
Compute Engine project in which to create the Persistent Disks.
string target_project = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The targetProject.
getTargetProjectBytes()
public ByteString getTargetProjectBytes ()
The full path of the resource of type TargetProject which represents the
Compute Engine project in which to create the Persistent Disks.
string target_project = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for targetProject.
getVmTargetCase()
public ComputeEngineDisksTargetDefaults . VmTargetCase getVmTargetCase ()
getVmTargetDefaults()
public DisksMigrationVmTargetDefaults getVmTargetDefaults ()
Details of the VM migration target.
.google.cloud.vmmigration.v1.DisksMigrationVmTargetDefaults vm_target_defaults = 6;
getVmTargetDefaultsOrBuilder()
public DisksMigrationVmTargetDefaultsOrBuilder getVmTargetDefaultsOrBuilder ()
Details of the VM migration target.
.google.cloud.vmmigration.v1.DisksMigrationVmTargetDefaults vm_target_defaults = 6;
getZone()
The zone in which to create the Persistent Disks.
string zone = 2;
Returns
Type
Description
String
The zone.
getZoneBytes()
public ByteString getZoneBytes ()
The zone in which to create the Persistent Disks.
string zone = 2;
Returns
Type
Description
ByteString
The bytes for zone.
hasDisksTargetDefaults()
public boolean hasDisksTargetDefaults ()
Details of the disk only migration target.
.google.cloud.vmmigration.v1.DisksMigrationDisksTargetDefaults disks_target_defaults = 5;
Returns
Type
Description
boolean
Whether the disksTargetDefaults field is set.
hasVmTargetDefaults()
public boolean hasVmTargetDefaults ()
Details of the VM migration target.
.google.cloud.vmmigration.v1.DisksMigrationVmTargetDefaults vm_target_defaults = 6;
Returns
Type
Description
boolean
Whether the vmTargetDefaults field is set.
hasZone()
The zone in which to create the Persistent Disks.
string zone = 2;
Returns
Type
Description
boolean
Whether the zone field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ComputeEngineDisksTargetDefaults . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEngineDisksTargetDefaults . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ComputeEngineDisksTargetDefaults . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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,[]]