Class DatastoreFirestoreMigrationMetadata (2.25.1)

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 > DatastoreFirestoreMigrationMetadata

Static Fields

MIGRATION_STATE_FIELD_NUMBER

public static final int MIGRATION_STATE_FIELD_NUMBER
Field Value
Type Description
int

MIGRATION_STEP_FIELD_NUMBER

public static final int MIGRATION_STEP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatastoreFirestoreMigrationMetadata getDefaultInstance()
Returns
Type Description
DatastoreFirestoreMigrationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DatastoreFirestoreMigrationMetadata.Builder newBuilder()
Returns
Type Description
DatastoreFirestoreMigrationMetadata.Builder

newBuilder(DatastoreFirestoreMigrationMetadata prototype)

public static DatastoreFirestoreMigrationMetadata.Builder newBuilder(DatastoreFirestoreMigrationMetadata prototype)
Parameter
Name Description
prototype DatastoreFirestoreMigrationMetadata
Returns
Type Description
DatastoreFirestoreMigrationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreFirestoreMigrationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatastoreFirestoreMigrationMetadata> parser()
Returns
Type Description
Parser<DatastoreFirestoreMigrationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
int

The enum numeric value on the wire for migrationStep.

getParserForType()

public Parser<DatastoreFirestoreMigrationMetadata> getParserForType()
Returns
Type Description
Parser<DatastoreFirestoreMigrationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatastoreFirestoreMigrationMetadata.Builder newBuilderForType()
Returns
Type Description
DatastoreFirestoreMigrationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatastoreFirestoreMigrationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatastoreFirestoreMigrationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatastoreFirestoreMigrationMetadata.Builder toBuilder()
Returns
Type Description
DatastoreFirestoreMigrationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException