Class MigrationStateEvent (2.17.6)

public final class MigrationStateEvent extends GeneratedMessageV3 implements MigrationStateEventOrBuilder

An event signifying a change in state of a migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Protobuf type google.datastore.admin.v1.MigrationStateEvent

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigrationStateEvent getDefaultInstance()
Returns
TypeDescription
MigrationStateEvent

getDescriptor()

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

newBuilder()

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

newBuilder(MigrationStateEvent prototype)

public static MigrationStateEvent.Builder newBuilder(MigrationStateEvent prototype)
Parameter
NameDescription
prototypeMigrationStateEvent
Returns
TypeDescription
MigrationStateEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MigrationStateEvent getDefaultInstanceForType()
Returns
TypeDescription
MigrationStateEvent

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public MigrationState getState()

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Returns
TypeDescription
MigrationState

The state.

getStateValue()

public int getStateValue()

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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 MigrationStateEvent.Builder newBuilderForType()
Returns
TypeDescription
MigrationStateEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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