public final class MigrationProgressEvent extends GeneratedMessageV3 implements MigrationProgressEventOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PREPARE_STEP_DETAILS_FIELD_NUMBER
public static final int PREPARE_STEP_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
public static final int REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MigrationProgressEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MigrationProgressEvent.Builder newBuilder()
newBuilder(MigrationProgressEvent prototype)
public static MigrationProgressEvent.Builder newBuilder(MigrationProgressEvent prototype)
public static MigrationProgressEvent parseDelimitedFrom(InputStream input)
public static MigrationProgressEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MigrationProgressEvent parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MigrationProgressEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(CodedInputStream input)
public static MigrationProgressEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(InputStream input)
public static MigrationProgressEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MigrationProgressEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationProgressEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MigrationProgressEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MigrationProgressEvent getDefaultInstanceForType()
getParserForType()
public Parser<MigrationProgressEvent> getParserForType()
Overrides
getPrepareStepDetails()
public MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
getPrepareStepDetailsOrBuilder()
public MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
getRedirectWritesStepDetails()
public MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
getRedirectWritesStepDetailsOrBuilder()
public MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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;
getStepDetailsCase()
public MigrationProgressEvent.StepDetailsCase getStepDetailsCase()
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.
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MigrationProgressEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationProgressEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MigrationProgressEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides