Send feedback
Class DatastoreFirestoreMigrationMetadata.Builder (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.0 keyboard_arrow_down
public static final class DatastoreFirestoreMigrationMetadata . Builder extends GeneratedMessageV3 . Builder<DatastoreFirestoreMigrationMetadata . Builder > implements DatastoreFirestoreMigrationMetadataOrBuilder
Metadata for Datastore to Firestore migration operations.
The DatastoreFirestoreMigration operation is not started by the end-user via
an explicit "creation" method. This is an intentional deviation from the LRO
design pattern.
This singleton resource can be accessed at:
"projects/{project_id}/operations/datastore-firestore-migration"
Protobuf type google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public DatastoreFirestoreMigrationMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public DatastoreFirestoreMigrationMetadata build ()
Returns
public DatastoreFirestoreMigrationMetadata buildPartial ()
Returns
public DatastoreFirestoreMigrationMetadata . Builder clear ()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder clearMigrationState ()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Returns
public DatastoreFirestoreMigrationMetadata . Builder clearMigrationStep ()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Returns
public DatastoreFirestoreMigrationMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder clone ()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public MigrationState getMigrationState ()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Returns
public int getMigrationStateValue ()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Returns
Type Description int The enum numeric value on the wire for migrationState.
public MigrationStep getMigrationStep ()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Returns
public int getMigrationStepValue ()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Returns
Type Description int The enum numeric value on the wire for migrationStep.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder mergeFrom ( DatastoreFirestoreMigrationMetadata other )
Parameter
Returns
public DatastoreFirestoreMigrationMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public DatastoreFirestoreMigrationMetadata . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final DatastoreFirestoreMigrationMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public DatastoreFirestoreMigrationMetadata . Builder setMigrationState ( MigrationState value )
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Parameter
Returns
public DatastoreFirestoreMigrationMetadata . Builder setMigrationStateValue ( int value )
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Parameter
Name Description value int
The enum numeric value on the wire for migrationState to set.
Returns
public DatastoreFirestoreMigrationMetadata . Builder setMigrationStep ( MigrationStep value )
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Parameter
Returns
public DatastoreFirestoreMigrationMetadata . Builder setMigrationStepValue ( int value )
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Parameter
Name Description value int
The enum numeric value on the wire for migrationStep to set.
Returns
public DatastoreFirestoreMigrationMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final DatastoreFirestoreMigrationMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]