Interface MigrationProgressEventOrBuilder (2.25.1)

public interface MigrationProgressEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrepareStepDetails()

public abstract MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()

Details for the PREPARE step.

.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;

Returns
Type Description
MigrationProgressEvent.PrepareStepDetails

The prepareStepDetails.

getPrepareStepDetailsOrBuilder()

public abstract MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder()

Details for the PREPARE step.

.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;

Returns
Type Description
MigrationProgressEvent.PrepareStepDetailsOrBuilder

getRedirectWritesStepDetails()

public abstract MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails()

Details for the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails

The redirectWritesStepDetails.

getRedirectWritesStepDetailsOrBuilder()

public abstract MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder()

Details for the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder

getStep()

public abstract MigrationStep getStep()

The step that is starting.

An event with step set to START indicates that the migration has been reverted back to the initial pre-migration state.

.google.datastore.admin.v1.MigrationStep step = 1;

Returns
Type Description
MigrationStep

The step.

getStepDetailsCase()

public abstract MigrationProgressEvent.StepDetailsCase getStepDetailsCase()
Returns
Type Description
MigrationProgressEvent.StepDetailsCase

getStepValue()

public abstract int getStepValue()

The step that is starting.

An event with step set to START indicates that the migration has been reverted back to the initial pre-migration state.

.google.datastore.admin.v1.MigrationStep step = 1;

Returns
Type Description
int

The enum numeric value on the wire for step.

hasPrepareStepDetails()

public abstract boolean hasPrepareStepDetails()

Details for the PREPARE step.

.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;

Returns
Type Description
boolean

Whether the prepareStepDetails field is set.

hasRedirectWritesStepDetails()

public abstract boolean hasRedirectWritesStepDetails()

Details for the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;

Returns
Type Description
boolean

Whether the redirectWritesStepDetails field is set.