Class MigrationProgressEvent.Builder (2.33.0)

publicstaticfinalclass MigrationProgressEvent.BuilderextendsGeneratedMessageV3.Builder<MigrationProgressEvent.Builder>implementsMigrationProgressEventOrBuilder

An event signifying the start of a new step in a migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Protobuf type google.datastore.admin.v1.MigrationProgressEvent

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicMigrationProgressEvent.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

build()

publicMigrationProgressEventbuild()
Returns
Type Description
MigrationProgressEvent

buildPartial()

publicMigrationProgressEventbuildPartial()
Returns
Type Description
MigrationProgressEvent

clear()

publicMigrationProgressEvent.Builderclear()
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicMigrationProgressEvent.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicMigrationProgressEvent.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

clearPrepareStepDetails()

publicMigrationProgressEvent.BuilderclearPrepareStepDetails()

Details for the PREPARE step.

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

Returns
Type Description
MigrationProgressEvent.Builder

clearRedirectWritesStepDetails()

publicMigrationProgressEvent.BuilderclearRedirectWritesStepDetails()

Details for the REDIRECT_WRITES step.

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

Returns
Type Description
MigrationProgressEvent.Builder

clearStep()

publicMigrationProgressEvent.BuilderclearStep()

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
MigrationProgressEvent.Builder

This builder for chaining.

clearStepDetails()

publicMigrationProgressEvent.BuilderclearStepDetails()
Returns
Type Description
MigrationProgressEvent.Builder

clone()

publicMigrationProgressEvent.Builderclone()
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

getDefaultInstanceForType()

publicMigrationProgressEventgetDefaultInstanceForType()
Returns
Type Description
MigrationProgressEvent

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrepareStepDetails()

publicMigrationProgressEvent.PrepareStepDetailsgetPrepareStepDetails()

Details for the PREPARE step.

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

Returns
Type Description
MigrationProgressEvent.PrepareStepDetails

The prepareStepDetails.

getPrepareStepDetailsBuilder()

publicMigrationProgressEvent.PrepareStepDetails.BuildergetPrepareStepDetailsBuilder()

Details for the PREPARE step.

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

Returns
Type Description
MigrationProgressEvent.PrepareStepDetails.Builder

getPrepareStepDetailsOrBuilder()

publicMigrationProgressEvent.PrepareStepDetailsOrBuildergetPrepareStepDetailsOrBuilder()

Details for the PREPARE step.

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

Returns
Type Description
MigrationProgressEvent.PrepareStepDetailsOrBuilder

getRedirectWritesStepDetails()

publicMigrationProgressEvent.RedirectWritesStepDetailsgetRedirectWritesStepDetails()

Details for the REDIRECT_WRITES step.

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

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails

The redirectWritesStepDetails.

getRedirectWritesStepDetailsBuilder()

publicMigrationProgressEvent.RedirectWritesStepDetails.BuildergetRedirectWritesStepDetailsBuilder()

Details for the REDIRECT_WRITES step.

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

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder

getRedirectWritesStepDetailsOrBuilder()

publicMigrationProgressEvent.RedirectWritesStepDetailsOrBuildergetRedirectWritesStepDetailsOrBuilder()

Details for the REDIRECT_WRITES step.

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

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder

getStep()

publicMigrationStepgetStep()

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

publicMigrationProgressEvent.StepDetailsCasegetStepDetailsCase()
Returns
Type Description
MigrationProgressEvent.StepDetailsCase

getStepValue()

publicintgetStepValue()

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

publicbooleanhasPrepareStepDetails()

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

publicbooleanhasRedirectWritesStepDetails()

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

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrationProgressEvent other)

publicMigrationProgressEvent.BuildermergeFrom(MigrationProgressEventother)
Parameter
Name Description
other MigrationProgressEvent
Returns
Type Description
MigrationProgressEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicMigrationProgressEvent.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationProgressEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicMigrationProgressEvent.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)

publicMigrationProgressEvent.BuildermergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetailsvalue)

Details for the PREPARE step.

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

Parameter
Name Description
value MigrationProgressEvent.PrepareStepDetails
Returns
Type Description
MigrationProgressEvent.Builder

mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)

publicMigrationProgressEvent.BuildermergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetailsvalue)

Details for the REDIRECT_WRITES step.

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

Parameter
Name Description
value MigrationProgressEvent.RedirectWritesStepDetails
Returns
Type Description
MigrationProgressEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalMigrationProgressEvent.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicMigrationProgressEvent.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)

publicMigrationProgressEvent.BuildersetPrepareStepDetails(MigrationProgressEvent.PrepareStepDetailsvalue)

Details for the PREPARE step.

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

Parameter
Name Description
value MigrationProgressEvent.PrepareStepDetails
Returns
Type Description
MigrationProgressEvent.Builder

setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)

publicMigrationProgressEvent.BuildersetPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.BuilderbuilderForValue)

Details for the PREPARE step.

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

Parameter
Name Description
builderForValue MigrationProgressEvent.PrepareStepDetails.Builder
Returns
Type Description
MigrationProgressEvent.Builder

setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)

publicMigrationProgressEvent.BuildersetRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetailsvalue)

Details for the REDIRECT_WRITES step.

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

Parameter
Name Description
value MigrationProgressEvent.RedirectWritesStepDetails
Returns
Type Description
MigrationProgressEvent.Builder

setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue)

publicMigrationProgressEvent.BuildersetRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.BuilderbuilderForValue)

Details for the REDIRECT_WRITES step.

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

Parameter
Name Description
builderForValue MigrationProgressEvent.RedirectWritesStepDetails.Builder
Returns
Type Description
MigrationProgressEvent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicMigrationProgressEvent.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

setStep(MigrationStep value)

publicMigrationProgressEvent.BuildersetStep(MigrationStepvalue)

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 MigrationStep

The step to set.

Returns
Type Description
MigrationProgressEvent.Builder

This builder for chaining.

setStepValue(int value)

publicMigrationProgressEvent.BuildersetStepValue(intvalue)

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
Type Description
MigrationProgressEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalMigrationProgressEvent.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationProgressEvent.Builder
Overrides

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年11月19日 UTC.