Interface DiskMigrationJobOrBuilder (1.74.0)

public interface DiskMigrationJobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAwsSourceDiskDetails()

public abstract AwsSourceDiskDetails getAwsSourceDiskDetails()

Details of the unattached AWS source disk.

.google.cloud.vmmigration.v1.AwsSourceDiskDetails aws_source_disk_details = 2;

Returns
Type Description
AwsSourceDiskDetails

The awsSourceDiskDetails.

getAwsSourceDiskDetailsOrBuilder()

public abstract AwsSourceDiskDetailsOrBuilder getAwsSourceDiskDetailsOrBuilder()

Details of the unattached AWS source disk.

.google.cloud.vmmigration.v1.AwsSourceDiskDetails aws_source_disk_details = 2;

Returns
Type Description
AwsSourceDiskDetailsOrBuilder

getCreateTime()

public abstract 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 abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the DiskMigrationJob resource was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getErrors(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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()

public abstract String 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 abstract 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.

getSourceDiskDetailsCase()

public abstract DiskMigrationJob.SourceDiskDetailsCase getSourceDiskDetailsCase()
Returns
Type Description
DiskMigrationJob.SourceDiskDetailsCase

getState()

public abstract DiskMigrationJob.State getState()

Output only. State of the DiskMigrationJob.

.google.cloud.vmmigration.v1.DiskMigrationJob.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DiskMigrationJob.State

The state.

getStateValue()

public abstract 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 abstract 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
Returns
Type Description
DiskMigrationStep

getStepsCount()

public abstract 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 abstract 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];

Returns
Type Description
List<DiskMigrationStep>

getStepsOrBuilder(int index)

public abstract 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
Returns
Type Description
DiskMigrationStepOrBuilder

getStepsOrBuilderList()

public abstract 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 abstract DiskMigrationJobTargetDetails getTargetDetails()

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
DiskMigrationJobTargetDetails

The targetDetails.

getTargetDetailsOrBuilder()

public abstract DiskMigrationJobTargetDetailsOrBuilder getTargetDetailsOrBuilder()

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
DiskMigrationJobTargetDetailsOrBuilder

getUpdateTime()

public abstract 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 abstract TimestampOrBuilder getUpdateTimeOrBuilder()

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
TimestampOrBuilder

hasAwsSourceDiskDetails()

public abstract 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 abstract 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 abstract 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 abstract 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.