public final class DiskMigrationJob extends GeneratedMessageV3 implements DiskMigrationJobOrBuilder
Describes the disk which will be migrated from the source environment.
The source disk has to be unattached.
Protobuf type google.cloud.vmmigration.v1.DiskMigrationJob
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
AWS_SOURCE_DISK_DETAILS_FIELD_NUMBER
public static final int AWS_SOURCE_DISK_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_DETAILS_FIELD_NUMBER
public static final int TARGET_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiskMigrationJob getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskMigrationJob.Builder newBuilder()
newBuilder(DiskMigrationJob prototype)
public static DiskMigrationJob.Builder newBuilder(DiskMigrationJob prototype)
public static DiskMigrationJob parseDelimitedFrom(InputStream input)
public static DiskMigrationJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskMigrationJob parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskMigrationJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskMigrationJob parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskMigrationJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskMigrationJob parseFrom(CodedInputStream input)
public static DiskMigrationJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskMigrationJob parseFrom(InputStream input)
public static DiskMigrationJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskMigrationJob parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskMigrationJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskMigrationJob> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAwsSourceDiskDetails()
public AwsSourceDiskDetails getAwsSourceDiskDetails()
Details of the unattached AWS source disk.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails aws_source_disk_details = 2;
getAwsSourceDiskDetailsOrBuilder()
public AwsSourceDiskDetailsOrBuilder getAwsSourceDiskDetailsOrBuilder()
Details of the unattached AWS source disk.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails aws_source_disk_details = 2;
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the DiskMigrationJob resource was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the DiskMigrationJob resource was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public DiskMigrationJob getDefaultInstanceForType()
getErrors(int index)
public Status getErrors(int index)
Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.
repeated .google.rpc.Status errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.Status |
|
getErrorsCount()
public int getErrorsCount()
Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.
repeated .google.rpc.Status errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getErrorsList()
public List<Status> getErrorsList()
Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.
repeated .google.rpc.Status errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<com.google.rpc.Status> |
|
getErrorsOrBuilder(int index)
public StatusOrBuilder getErrorsOrBuilder(int index)
Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.
repeated .google.rpc.Status errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getErrorsOrBuilderList()
public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
Output only. Provides details on the errors that led to the disk migration
job's state in case of an error.
repeated .google.rpc.Status errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.rpc.StatusOrBuilder> |
|
getName()
Output only. Identifier. The identifier of the DiskMigrationJob.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Identifier. The identifier of the DiskMigrationJob.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<DiskMigrationJob> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceDiskDetailsCase()
public DiskMigrationJob.SourceDiskDetailsCase getSourceDiskDetailsCase()
getState()
public DiskMigrationJob.State getState()
Output only. State of the DiskMigrationJob.
.google.cloud.vmmigration.v1.DiskMigrationJob.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the DiskMigrationJob.
.google.cloud.vmmigration.v1.DiskMigrationJob.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSteps(int index)
public DiskMigrationStep getSteps(int index)
Output only. The disk migration steps list representing its progress.
repeated .google.cloud.vmmigration.v1.DiskMigrationStep steps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStepsCount()
public int getStepsCount()
Output only. The disk migration steps list representing its progress.
repeated .google.cloud.vmmigration.v1.DiskMigrationStep steps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getStepsList()
public List<DiskMigrationStep> getStepsList()
Output only. The disk migration steps list representing its progress.
repeated .google.cloud.vmmigration.v1.DiskMigrationStep steps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStepsOrBuilder(int index)
public DiskMigrationStepOrBuilder getStepsOrBuilder(int index)
Output only. The disk migration steps list representing its progress.
repeated .google.cloud.vmmigration.v1.DiskMigrationStep steps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStepsOrBuilderList()
public List<? extends DiskMigrationStepOrBuilder> getStepsOrBuilderList()
Output only. The disk migration steps list representing its progress.
repeated .google.cloud.vmmigration.v1.DiskMigrationStep steps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.vmmigration.v1.DiskMigrationStepOrBuilder> |
|
getTargetDetails()
public DiskMigrationJobTargetDetails getTargetDetails()
Required. Details of the target Disk in Compute Engine.
.google.cloud.vmmigration.v1.DiskMigrationJobTargetDetails target_details = 3 [(.google.api.field_behavior) = REQUIRED];
getTargetDetailsOrBuilder()
public DiskMigrationJobTargetDetailsOrBuilder getTargetDetailsOrBuilder()
Required. Details of the target Disk in Compute Engine.
.google.cloud.vmmigration.v1.DiskMigrationJobTargetDetails target_details = 3 [(.google.api.field_behavior) = REQUIRED];
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last time the DiskMigrationJob resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time the DiskMigrationJob resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAwsSourceDiskDetails()
public boolean hasAwsSourceDiskDetails()
Details of the unattached AWS source disk.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails aws_source_disk_details = 2;
Returns |
Type |
Description |
boolean |
Whether the awsSourceDiskDetails field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the DiskMigrationJob resource was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasTargetDetails()
public boolean hasTargetDetails()
Required. Details of the target Disk in Compute Engine.
.google.cloud.vmmigration.v1.DiskMigrationJobTargetDetails target_details = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the targetDetails field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last time the DiskMigrationJob resource was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskMigrationJob.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskMigrationJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiskMigrationJob.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides