Class MigrationStateEvent.Builder (2.23.0)

publicstaticfinalclass MigrationStateEvent.BuilderextendsGeneratedMessageV3.Builder<MigrationStateEvent.Builder>implementsMigrationStateEventOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicMigrationStateEvent.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationStateEvent.Builder
Overrides

build()

publicMigrationStateEventbuild()
Returns
Type Description
MigrationStateEvent

buildPartial()

publicMigrationStateEventbuildPartial()
Returns
Type Description
MigrationStateEvent

clear()

publicMigrationStateEvent.Builderclear()
Returns
Type Description
MigrationStateEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicMigrationStateEvent.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigrationStateEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicMigrationStateEvent.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigrationStateEvent.Builder
Overrides

clearState()

publicMigrationStateEvent.BuilderclearState()

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Returns
Type Description
MigrationStateEvent.Builder

This builder for chaining.

clone()

publicMigrationStateEvent.Builderclone()
Returns
Type Description
MigrationStateEvent.Builder
Overrides

getDefaultInstanceForType()

publicMigrationStateEventgetDefaultInstanceForType()
Returns
Type Description
MigrationStateEvent

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getState()

publicMigrationStategetState()

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Returns
Type Description
MigrationState

The state.

getStateValue()

publicintgetStateValue()

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrationStateEvent other)

publicMigrationStateEvent.BuildermergeFrom(MigrationStateEventother)
Parameter
Name Description
other MigrationStateEvent
Returns
Type Description
MigrationStateEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicMigrationStateEvent.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationStateEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicMigrationStateEvent.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
MigrationStateEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalMigrationStateEvent.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationStateEvent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicMigrationStateEvent.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationStateEvent.Builder
Overrides

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

publicMigrationStateEvent.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MigrationStateEvent.Builder
Overrides

setState(MigrationState value)

publicMigrationStateEvent.BuildersetState(MigrationStatevalue)

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Parameter
Name Description
value MigrationState

The state to set.

Returns
Type Description
MigrationStateEvent.Builder

This builder for chaining.

setStateValue(int value)

publicMigrationStateEvent.BuildersetStateValue(intvalue)

The new state of the migration.

.google.datastore.admin.v1.MigrationState state = 1;

Parameter
Name Description
value int

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

Returns
Type Description
MigrationStateEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalMigrationStateEvent.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationStateEvent.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.