Class DatastoreFirestoreMigrationMetadata (2.17.2)

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
TypeDescription
int

MIGRATION_STEP_FIELD_NUMBER

public static final int MIGRATION_STEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatastoreFirestoreMigrationMetadata getDefaultInstance()
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatastoreFirestoreMigrationMetadata.Builder newBuilder()
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata.Builder

newBuilder(DatastoreFirestoreMigrationMetadata prototype)

public static DatastoreFirestoreMigrationMetadata.Builder newBuilder(DatastoreFirestoreMigrationMetadata prototype)
Parameter
NameDescription
prototypeDatastoreFirestoreMigrationMetadata
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatastoreFirestoreMigrationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DatastoreFirestoreMigrationMetadata> parser()
Returns
TypeDescription
Parser<DatastoreFirestoreMigrationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

The enum numeric value on the wire for migrationStep.

getParserForType()

public Parser<DatastoreFirestoreMigrationMetadata> getParserForType()
Returns
TypeDescription
Parser<DatastoreFirestoreMigrationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatastoreFirestoreMigrationMetadata.Builder newBuilderForType()
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatastoreFirestoreMigrationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatastoreFirestoreMigrationMetadata.Builder toBuilder()
Returns
TypeDescription
DatastoreFirestoreMigrationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException