public final class DatastoreFirestoreMigrationMetadata extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DatastoreFirestoreMigrationMetadataImplements
DatastoreFirestoreMigrationMetadataOrBuilderStatic Fields
MIGRATION_STATE_FIELD_NUMBER
public static final int MIGRATION_STATE_FIELD_NUMBER
Type | Description |
int |
MIGRATION_STEP_FIELD_NUMBER
public static final int MIGRATION_STEP_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DatastoreFirestoreMigrationMetadata getDefaultInstance()
Type | Description |
DatastoreFirestoreMigrationMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DatastoreFirestoreMigrationMetadata.Builder newBuilder()
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
newBuilder(DatastoreFirestoreMigrationMetadata prototype)
public static DatastoreFirestoreMigrationMetadata.Builder newBuilder(DatastoreFirestoreMigrationMetadata prototype)
Name | Description |
prototype | DatastoreFirestoreMigrationMetadata |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DatastoreFirestoreMigrationMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DatastoreFirestoreMigrationMetadata> parser()
Type | Description |
Parser<DatastoreFirestoreMigrationMetadata> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
Type | Description |
DatastoreFirestoreMigrationMetadata |
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. |
getParserForType()
public Parser<DatastoreFirestoreMigrationMetadata> getParserForType()
Type | Description |
Parser<DatastoreFirestoreMigrationMetadata> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DatastoreFirestoreMigrationMetadata.Builder newBuilderForType()
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatastoreFirestoreMigrationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DatastoreFirestoreMigrationMetadata.Builder toBuilder()
Type | Description |
DatastoreFirestoreMigrationMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |