public static final class DatastoreFirestoreMigrationMetadata.Builder extends com.google.protobuf.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
Modifier and Type | Method and Description |
---|---|
DatastoreFirestoreMigrationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DatastoreFirestoreMigrationMetadata |
build() |
DatastoreFirestoreMigrationMetadata |
buildPartial() |
DatastoreFirestoreMigrationMetadata.Builder |
clear() |
DatastoreFirestoreMigrationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DatastoreFirestoreMigrationMetadata.Builder |
clearMigrationState()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
clearMigrationStep()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DatastoreFirestoreMigrationMetadata.Builder |
clone() |
DatastoreFirestoreMigrationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
MigrationState |
getMigrationState()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
int |
getMigrationStateValue()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
MigrationStep |
getMigrationStep()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
int |
getMigrationStepValue()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DatastoreFirestoreMigrationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreFirestoreMigrationMetadata.Builder |
mergeFrom(DatastoreFirestoreMigrationMetadata other) |
DatastoreFirestoreMigrationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
DatastoreFirestoreMigrationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DatastoreFirestoreMigrationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DatastoreFirestoreMigrationMetadata.Builder |
setMigrationState(MigrationState value)
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
setMigrationStateValue(int value)
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
setMigrationStep(MigrationStep value)
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
setMigrationStepValue(int value)
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
|
DatastoreFirestoreMigrationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DatastoreFirestoreMigrationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DatastoreFirestoreMigrationMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DatastoreFirestoreMigrationMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DatastoreFirestoreMigrationMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(DatastoreFirestoreMigrationMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatastoreFirestoreMigrationMetadata.Builder>
IOException
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;
getMigrationStateValue
in interface DatastoreFirestoreMigrationMetadataOrBuilder
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;
value
- The enum numeric value on the wire for migrationState to set.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;
getMigrationState
in interface DatastoreFirestoreMigrationMetadataOrBuilder
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;
value
- The migrationState to set.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 int getMigrationStepValue()
The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
getMigrationStepValue
in interface DatastoreFirestoreMigrationMetadataOrBuilder
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;
value
- The enum numeric value on the wire for migrationStep to set.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;
getMigrationStep
in interface DatastoreFirestoreMigrationMetadataOrBuilder
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;
value
- The migrationStep to set.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 final DatastoreFirestoreMigrationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
public final DatastoreFirestoreMigrationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder>
Copyright © 2023 Google LLC. All rights reserved.