public static final class MigrationProgressEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder> implements MigrationProgressEventOrBuilder
An event signifying the start of a new step in a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).Protobuf type
google.datastore.admin.v1.MigrationProgressEvent
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MigrationProgressEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MigrationProgressEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MigrationProgressEvent.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder mergeFrom(MigrationProgressEvent other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public MigrationProgressEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MigrationProgressEvent.Builder>
IOException
public MigrationProgressEvent.StepDetailsCase getStepDetailsCase()
getStepDetailsCase
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.Builder clearStepDetails()
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;
getStepValue
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.Builder setStepValue(int value)
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;
value
- The enum numeric value on the wire for step to set.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;
getStep
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.Builder setStep(MigrationStep value)
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;
value
- The step to set.public MigrationProgressEvent.Builder clearStep()
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;
public boolean hasPrepareStepDetails()
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
hasPrepareStepDetails
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
getPrepareStepDetails
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
public MigrationProgressEvent.Builder mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
public MigrationProgressEvent.Builder clearPrepareStepDetails()
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
public MigrationProgressEvent.PrepareStepDetails.Builder getPrepareStepDetailsBuilder()
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
public MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder()
Details for the `PREPARE` step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
getPrepareStepDetailsOrBuilder
in interface MigrationProgressEventOrBuilder
public boolean hasRedirectWritesStepDetails()
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
hasRedirectWritesStepDetails
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails()
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
getRedirectWritesStepDetails
in interface MigrationProgressEventOrBuilder
public MigrationProgressEvent.Builder setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
public MigrationProgressEvent.Builder setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue)
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
public MigrationProgressEvent.Builder mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
public MigrationProgressEvent.Builder clearRedirectWritesStepDetails()
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
public MigrationProgressEvent.RedirectWritesStepDetails.Builder getRedirectWritesStepDetailsBuilder()
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
public MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder()
Details for the `REDIRECT_WRITES` step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
getRedirectWritesStepDetailsOrBuilder
in interface MigrationProgressEventOrBuilder
public final MigrationProgressEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
public final MigrationProgressEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationProgressEvent.Builder>
Copyright © 2023 Google LLC. All rights reserved.