public static final class MigrationProgressEvent.Builder extends GeneratedMessageV3.Builder<MigrationProgressEvent.Builder> implements MigrationProgressEventOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MigrationProgressEvent build()
buildPartial()
public MigrationProgressEvent buildPartial()
clear()
public MigrationProgressEvent.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MigrationProgressEvent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationProgressEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrepareStepDetails()
public MigrationProgressEvent.Builder clearPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
clearRedirectWritesStepDetails()
public MigrationProgressEvent.Builder clearRedirectWritesStepDetails()
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
clearStep()
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;
clearStepDetails()
public MigrationProgressEvent.Builder clearStepDetails()
clone()
public MigrationProgressEvent.Builder clone()
Overrides
getDefaultInstanceForType()
public MigrationProgressEvent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPrepareStepDetails()
public MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails()
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
getPrepareStepDetailsBuilder()
public MigrationProgressEvent.PrepareStepDetails.Builder getPrepareStepDetailsBuilder()
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;
getRedirectWritesStepDetailsBuilder()
public MigrationProgressEvent.RedirectWritesStepDetails.Builder getRedirectWritesStepDetailsBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MigrationProgressEvent other)
public MigrationProgressEvent.Builder mergeFrom(MigrationProgressEvent other)
public MigrationProgressEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MigrationProgressEvent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
public MigrationProgressEvent.Builder mergePrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
public MigrationProgressEvent.Builder mergeRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails value)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)
public MigrationProgressEvent.Builder setPrepareStepDetails(MigrationProgressEvent.PrepareStepDetails.Builder builderForValue)
Details for the PREPARE
step.
.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2;
setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
public MigrationProgressEvent.Builder setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails value)
Details for the REDIRECT_WRITES
step.
.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3;
setRedirectWritesStepDetails(MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationProgressEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStep(MigrationStep value)
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;
setStepValue(int value)
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;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for step to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides