Class MigrationProgressEvent.PrepareStepDetails.Builder (2.18.5)

public static final class MigrationProgressEvent.PrepareStepDetails.Builder extends GeneratedMessageV3.Builder<MigrationProgressEvent.PrepareStepDetails.Builder> implements MigrationProgressEvent.PrepareStepDetailsOrBuilder

Details for the PREPARE step.

Protobuf type google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrationProgressEvent.PrepareStepDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

build()

public MigrationProgressEvent.PrepareStepDetails build()
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails

buildPartial()

public MigrationProgressEvent.PrepareStepDetails buildPartial()
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails

clear()

public MigrationProgressEvent.PrepareStepDetails.Builder clear()
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

clearConcurrencyMode()

public MigrationProgressEvent.PrepareStepDetails.Builder clearConcurrencyMode()

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;

Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MigrationProgressEvent.PrepareStepDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrationProgressEvent.PrepareStepDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

clone()

public MigrationProgressEvent.PrepareStepDetails.Builder clone()
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

getConcurrencyMode()

public MigrationProgressEvent.ConcurrencyMode getConcurrencyMode()

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;

Returns
TypeDescription
MigrationProgressEvent.ConcurrencyMode

The concurrencyMode.

getConcurrencyModeValue()

public int getConcurrencyModeValue()

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for concurrencyMode.

getDefaultInstanceForType()

public MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType()
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigrationProgressEvent.PrepareStepDetails other)

public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(MigrationProgressEvent.PrepareStepDetails other)
Parameter
NameDescription
otherMigrationProgressEvent.PrepareStepDetails
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrationProgressEvent.PrepareStepDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

setConcurrencyMode(MigrationProgressEvent.ConcurrencyMode value)

public MigrationProgressEvent.PrepareStepDetails.Builder setConcurrencyMode(MigrationProgressEvent.ConcurrencyMode value)

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;

Parameter
NameDescription
valueMigrationProgressEvent.ConcurrencyMode

The concurrencyMode to set.

Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder

This builder for chaining.

setConcurrencyModeValue(int value)

public MigrationProgressEvent.PrepareStepDetails.Builder setConcurrencyModeValue(int value)

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for concurrencyMode to set.

Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MigrationProgressEvent.PrepareStepDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MigrationProgressEvent.PrepareStepDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrationProgressEvent.PrepareStepDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrationProgressEvent.PrepareStepDetails.Builder
Overrides