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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public DatastoreFirestoreMigrationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DatastoreFirestoreMigrationMetadata build()
public DatastoreFirestoreMigrationMetadata buildPartial()
public DatastoreFirestoreMigrationMetadata.Builder clear()
Overrides
public DatastoreFirestoreMigrationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
public DatastoreFirestoreMigrationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DatastoreFirestoreMigrationMetadata.Builder clone()
Overrides
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
public final boolean isInitialized()
Overrides
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(DatastoreFirestoreMigrationMetadata other)
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final DatastoreFirestoreMigrationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DatastoreFirestoreMigrationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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.
|
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 |
---|
Name | Description |
value | MigrationStep
The migrationStep to set.
|
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.
|
public DatastoreFirestoreMigrationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DatastoreFirestoreMigrationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides