public final class MigrationProgressEvent extends GeneratedMessageV3 implements MigrationProgressEventOrBuilder
An event signifying the start of a new step in a migration from Cloud Datastore to Cloud Firestore in Datastore mode.
Protobuf type google.datastore.admin.v1.MigrationProgressEvent
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MigrationProgressEventImplements
MigrationProgressEventOrBuilderStatic Fields
PREPARE_STEP_DETAILS_FIELD_NUMBER
public static final int PREPARE_STEP_DETAILS_FIELD_NUMBER
Type | Description |
int |
REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
public static final int REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
Type | Description |
int |
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MigrationProgressEvent getDefaultInstance()
Type | Description |
MigrationProgressEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MigrationProgressEvent.Builder newBuilder()
Type | Description |
MigrationProgressEvent.Builder |
newBuilder(MigrationProgressEvent prototype)
public static MigrationProgressEvent.Builder newBuilder(MigrationProgressEvent prototype)
Name | Description |
prototype | MigrationProgressEvent |
Type | Description |
MigrationProgressEvent.Builder |
parseDelimitedFrom(InputStream input)
public static MigrationProgressEvent parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MigrationProgressEvent parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MigrationProgressEvent parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MigrationProgressEvent parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MigrationProgressEvent parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MigrationProgressEvent parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationProgressEvent |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MigrationProgressEvent> parser()
Type | Description |
Parser<MigrationProgressEvent> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MigrationProgressEvent getDefaultInstanceForType()
Type | Description |
MigrationProgressEvent |
getParserForType()
public Parser<MigrationProgressEvent> getParserForType()
Type | Description |
Parser<MigrationProgressEvent> |
getPrepareStepDetails()
public MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Type | Description |
MigrationProgressEvent.PrepareStepDetails | The prepareStepDetails. |
getPrepareStepDetailsOrBuilder()
public MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Type | Description |
MigrationProgressEvent.PrepareStepDetailsOrBuilder |
getRedirectWritesStepDetails()
public MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Type | Description |
MigrationProgressEvent.RedirectWritesStepDetails | The redirectWritesStepDetails. |
getRedirectWritesStepDetailsOrBuilder()
public MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Type | Description |
MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStep()
public MigrationStep getStep()
The step that is starting.
An event with step set to START
indicates that the migration
has been reverted back to the initial pre-migration state.
.google.datastore.admin.v1.MigrationStep step = 1;
Type | Description |
MigrationStep | The step. |
getStepDetailsCase()
public MigrationProgressEvent.StepDetailsCase getStepDetailsCase()
Type | Description |
MigrationProgressEvent.StepDetailsCase |
getStepValue()
public int getStepValue()
The step that is starting.
An event with step set to START
indicates that the migration
has been reverted back to the initial pre-migration state.
.google.datastore.admin.v1.MigrationStep step = 1;
Type | Description |
int | The enum numeric value on the wire for step. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasPrepareStepDetails()
public boolean hasPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Type | Description |
boolean | Whether the prepareStepDetails field is set. |
hasRedirectWritesStepDetails()
public boolean hasRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Type | Description |
boolean | Whether the redirectWritesStepDetails field is set. |
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 MigrationProgressEvent.Builder newBuilderForType()
Type | Description |
MigrationProgressEvent.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationProgressEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
MigrationProgressEvent.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MigrationProgressEvent.Builder toBuilder()
Type | Description |
MigrationProgressEvent.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |