Send feedback
Class MigrationProgressEvent (2.10.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.10.1 keyboard_arrow_down
public final class MigrationProgressEvent extends GeneratedMessageV3 implements MigrationProgressEventOrBuilder
Static Fields
PREPARE_STEP_DETAILS_FIELD_NUMBER
public static final int PREPARE_STEP_DETAILS_FIELD_NUMBER
Field Value
REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
public static final int REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
Field Value
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MigrationProgressEvent getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static MigrationProgressEvent . Builder newBuilder ()
Returns
newBuilder(MigrationProgressEvent prototype)
public static MigrationProgressEvent . Builder newBuilder ( MigrationProgressEvent prototype )
Parameter
Returns
public static MigrationProgressEvent parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MigrationProgressEvent parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MigrationProgressEvent parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MigrationProgressEvent parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MigrationProgressEvent parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static MigrationProgressEvent parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MigrationProgressEvent parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MigrationProgressEvent parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MigrationProgressEvent parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<MigrationProgressEvent> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public MigrationProgressEvent getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<MigrationProgressEvent> getParserForType ()
Returns
Overrides
getPrepareStepDetails()
public MigrationProgressEvent . PrepareStepDetails getPrepareStepDetails ()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
getPrepareStepDetailsOrBuilder()
public MigrationProgressEvent . PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder ()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
getRedirectWritesStepDetails()
public MigrationProgressEvent . RedirectWritesStepDetails getRedirectWritesStepDetails ()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
getRedirectWritesStepDetailsOrBuilder()
public MigrationProgressEvent . RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder ()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
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;
Returns
getStepDetailsCase()
public MigrationProgressEvent . StepDetailsCase getStepDetailsCase ()
Returns
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;
Returns
Type Description int The enum numeric value on the wire for step.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasPrepareStepDetails()
public boolean hasPrepareStepDetails ()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
Returns
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;
Returns
Type Description boolean Whether the redirectWritesStepDetails field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public MigrationProgressEvent . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationProgressEvent . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public MigrationProgressEvent . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]