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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationProgressEvent.PrepareStepDetails.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.PrepareStepDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
build()
public MigrationProgressEvent.PrepareStepDetails build()
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails |
buildPartial()
public MigrationProgressEvent.PrepareStepDetails buildPartial()
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails |
clear()
public MigrationProgressEvent.PrepareStepDetails.Builder clear()
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
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 | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MigrationProgressEvent.PrepareStepDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationProgressEvent.PrepareStepDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
clone()
public MigrationProgressEvent.PrepareStepDetails.Builder clone()
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for concurrencyMode. |
getDefaultInstanceForType()
public MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MigrationProgressEvent.PrepareStepDetails other)
public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(MigrationProgressEvent.PrepareStepDetails other)
Parameter | |
---|---|
Name | Description |
other | MigrationProgressEvent.PrepareStepDetails |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationProgressEvent.PrepareStepDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.PrepareStepDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
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 | |
---|---|
Name | Description |
value | MigrationProgressEvent.ConcurrencyMode The concurrencyMode to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for concurrencyMode to set. |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationProgressEvent.PrepareStepDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationProgressEvent.PrepareStepDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationProgressEvent.PrepareStepDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationProgressEvent.PrepareStepDetails.Builder |