public static final class MigrationProgressEvent.Builder extends GeneratedMessageV3.Builder<MigrationProgressEvent.Builder> implements MigrationProgressEventOrBuilder
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MigrationProgressEvent build()
Returns
buildPartial()
public MigrationProgressEvent buildPartial()
Returns
clear()
public MigrationProgressEvent.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MigrationProgressEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationProgressEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrepareStepDetails()
public MigrationProgressEvent.Builder clearPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
clearRedirectWritesStepDetails()
public MigrationProgressEvent.Builder clearRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
clearStep()
public MigrationProgressEvent.Builder clearStep()
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
clearStepDetails()
public MigrationProgressEvent.Builder clearStepDetails()
Returns
clone()
public MigrationProgressEvent.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MigrationProgressEvent getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPrepareStepDetails()
public MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
getPrepareStepDetailsBuilder()
public MigrationProgressEvent.PrepareStepDetails.Builder getPrepareStepDetailsBuilder()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
getPrepareStepDetailsOrBuilder()
public MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
getRedirectWritesStepDetails()
public MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
getRedirectWritesStepDetailsBuilder()
public MigrationProgressEvent.RedirectWritesStepDetails.Builder getRedirectWritesStepDetailsBuilder()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
getRedirectWritesStepDetailsOrBuilder()
public MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
getStep()
public 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
getStepDetailsCase()
public MigrationProgressEvent.StepDetailsCase getStepDetailsCase()
Returns
getStepValue()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MigrationProgressEvent other)
public MigrationProgressEvent.Builder mergeFrom(MigrationProgressEvent other)
Parameter
Returns
public MigrationProgressEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MigrationProgressEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
public MigrationProgressEvent.Builder mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Parameter
Returns
mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
public MigrationProgressEvent.Builder mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Parameter
Returns
setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Parameter
Returns
setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
public MigrationProgressEvent.Builder setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Parameter
Returns
setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue)
public MigrationProgressEvent.Builder setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue)
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationProgressEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStep(MigrationStep value)
public MigrationProgressEvent.Builder setStep(MigrationStep value)
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;
Parameter
Returns
setStepValue(int value)
public MigrationProgressEvent.Builder setStepValue(int value)
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;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for step to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides