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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatastoreFirestoreMigrationMetadata.BuilderImplements
DatastoreFirestoreMigrationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatastoreFirestoreMigrationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
build()
public DatastoreFirestoreMigrationMetadata build()
Type | Description |
DatastoreFirestoreMigrationMetadata |
buildPartial()
public DatastoreFirestoreMigrationMetadata buildPartial()
Type | Description |
DatastoreFirestoreMigrationMetadata |
clear()
public DatastoreFirestoreMigrationMetadata.Builder clear()
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public DatastoreFirestoreMigrationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
clearMigrationState()
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;
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
clearMigrationStep()
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;
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatastoreFirestoreMigrationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
clone()
public DatastoreFirestoreMigrationMetadata.Builder clone()
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
getDefaultInstanceForType()
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
Type | Description |
DatastoreFirestoreMigrationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMigrationState()
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;
Type | Description |
MigrationState | The migrationState. |
getMigrationStateValue()
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;
Type | Description |
int | The enum numeric value on the wire for migrationState. |
getMigrationStep()
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;
Type | Description |
MigrationStep | The migrationStep. |
getMigrationStepValue()
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;
Type | Description |
int | The enum numeric value on the wire for migrationStep. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DatastoreFirestoreMigrationMetadata other)
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(DatastoreFirestoreMigrationMetadata other)
Name | Description |
other | DatastoreFirestoreMigrationMetadata |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreFirestoreMigrationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DatastoreFirestoreMigrationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
setMigrationState(MigrationState value)
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;
Name | Description |
value | MigrationState The migrationState to set. |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
setMigrationStateValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for migrationState to set. |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
setMigrationStep(MigrationStep value)
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;
Name | Description |
value | MigrationStep The migrationStep to set. |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
setMigrationStepValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for migrationStep to set. |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatastoreFirestoreMigrationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreFirestoreMigrationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |