Class MigrationProgressEvent.RedirectWritesStepDetails.Builder (2.21.1)

public static final class MigrationProgressEvent.RedirectWritesStepDetails.Builder extends GeneratedMessageV3.Builder<MigrationProgressEvent.RedirectWritesStepDetails.Builder> implements MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder

Details for the REDIRECT_WRITES step.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationProgressEvent.RedirectWritesStepDetails.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

build()

public MigrationProgressEvent.RedirectWritesStepDetails build()
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails

buildPartial()

public MigrationProgressEvent.RedirectWritesStepDetails buildPartial()
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails

clear()

public MigrationProgressEvent.RedirectWritesStepDetails.Builder clear()
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

clearConcurrencyMode()

public MigrationProgressEvent.RedirectWritesStepDetails.Builder clearConcurrencyMode()

Ths concurrency mode for this database.

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

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

clone()

public MigrationProgressEvent.RedirectWritesStepDetails.Builder clone()
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

getConcurrencyMode()

public MigrationProgressEvent.ConcurrencyMode getConcurrencyMode()

Ths concurrency mode for this database.

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

Returns
Type Description
MigrationProgressEvent.ConcurrencyMode

The concurrencyMode.

getConcurrencyModeValue()

public int getConcurrencyModeValue()

Ths concurrency mode for this database.

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

Returns
Type Description
int

The enum numeric value on the wire for concurrencyMode.

getDefaultInstanceForType()

public MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstanceForType()
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrationProgressEvent.RedirectWritesStepDetails other)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder mergeFrom(MigrationProgressEvent.RedirectWritesStepDetails other)
Parameter
Name Description
other MigrationProgressEvent.RedirectWritesStepDetails
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrationProgressEvent.RedirectWritesStepDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

setConcurrencyMode(MigrationProgressEvent.ConcurrencyMode value)

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

Ths concurrency mode for this database.

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

Parameter
Name Description
value MigrationProgressEvent.ConcurrencyMode

The concurrencyMode to set.

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder

This builder for chaining.

setConcurrencyModeValue(int value)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder setConcurrencyModeValue(int value)

Ths concurrency mode for this database.

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

Parameter
Name Description
value int

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

Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MigrationProgressEvent.RedirectWritesStepDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

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

public MigrationProgressEvent.RedirectWritesStepDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrationProgressEvent.RedirectWritesStepDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationProgressEvent.RedirectWritesStepDetails.Builder
Overrides