public static final class MigrationStateEvent.Builder extends GeneratedMessageV3.Builder<MigrationStateEvent.Builder> implements MigrationStateEventOrBuilder
An event signifying a change in state of a migration from Cloud Datastore to Cloud Firestore in Datastore mode.
Protobuf type google.datastore.admin.v1.MigrationStateEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationStateEvent.BuilderImplements
MigrationStateEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationStateEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationStateEvent.Builder |
build()
public MigrationStateEvent build()
Type | Description |
MigrationStateEvent |
buildPartial()
public MigrationStateEvent buildPartial()
Type | Description |
MigrationStateEvent |
clear()
public MigrationStateEvent.Builder clear()
Type | Description |
MigrationStateEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationStateEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MigrationStateEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationStateEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MigrationStateEvent.Builder |
clearState()
public MigrationStateEvent.Builder clearState()
The new state of the migration.
.google.datastore.admin.v1.MigrationState state = 1;
Type | Description |
MigrationStateEvent.Builder | This builder for chaining. |
clone()
public MigrationStateEvent.Builder clone()
Type | Description |
MigrationStateEvent.Builder |
getDefaultInstanceForType()
public MigrationStateEvent getDefaultInstanceForType()
Type | Description |
MigrationStateEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getState()
public MigrationState getState()
The new state of the migration.
.google.datastore.admin.v1.MigrationState state = 1;
Type | Description |
MigrationState | The state. |
getStateValue()
public int getStateValue()
The new state of the migration.
.google.datastore.admin.v1.MigrationState state = 1;
Type | Description |
int | The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MigrationStateEvent other)
public MigrationStateEvent.Builder mergeFrom(MigrationStateEvent other)
Name | Description |
other | MigrationStateEvent |
Type | Description |
MigrationStateEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationStateEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationStateEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationStateEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MigrationStateEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationStateEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationStateEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationStateEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationStateEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationStateEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MigrationStateEvent.Builder |
setState(MigrationState value)
public MigrationStateEvent.Builder setState(MigrationState value)
The new state of the migration.
.google.datastore.admin.v1.MigrationState state = 1;
Name | Description |
value | MigrationState The state to set. |
Type | Description |
MigrationStateEvent.Builder | This builder for chaining. |
setStateValue(int value)
public MigrationStateEvent.Builder setStateValue(int value)
The new state of the migration.
.google.datastore.admin.v1.MigrationState state = 1;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
MigrationStateEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationStateEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationStateEvent.Builder |