Class FieldOperationMetadata.Builder (3.28.0)

public static final class FieldOperationMetadata.Builder extends GeneratedMessageV3.Builder<FieldOperationMetadata.Builder> implements FieldOperationMetadataOrBuilder

Metadata for google.longrunning.Operation results from FirestoreAdmin.UpdateField.

Protobuf type google.firestore.admin.v1.FieldOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllIndexConfigDeltas(Iterable<? extends FieldOperationMetadata.IndexConfigDelta> values)

public FieldOperationMetadata.Builder addAllIndexConfigDeltas(Iterable<? extends FieldOperationMetadata.IndexConfigDelta> values)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
values Iterable<? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>
Returns
Type Description
FieldOperationMetadata.Builder

addIndexConfigDeltas(FieldOperationMetadata.IndexConfigDelta value)

public FieldOperationMetadata.Builder addIndexConfigDeltas(FieldOperationMetadata.IndexConfigDelta value)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
value FieldOperationMetadata.IndexConfigDelta
Returns
Type Description
FieldOperationMetadata.Builder

addIndexConfigDeltas(FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

public FieldOperationMetadata.Builder addIndexConfigDeltas(FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
builderForValue FieldOperationMetadata.IndexConfigDelta.Builder
Returns
Type Description
FieldOperationMetadata.Builder

addIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta value)

public FieldOperationMetadata.Builder addIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta value)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameters
Name Description
index int
value FieldOperationMetadata.IndexConfigDelta
Returns
Type Description
FieldOperationMetadata.Builder

addIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

public FieldOperationMetadata.Builder addIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameters
Name Description
index int
builderForValue FieldOperationMetadata.IndexConfigDelta.Builder
Returns
Type Description
FieldOperationMetadata.Builder

addIndexConfigDeltasBuilder()

public FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

addIndexConfigDeltasBuilder(int index)

public FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder(int index)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
index int
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FieldOperationMetadata build()
Returns
Type Description
FieldOperationMetadata

buildPartial()

public FieldOperationMetadata buildPartial()
Returns
Type Description
FieldOperationMetadata

clear()

public FieldOperationMetadata.Builder clear()
Returns
Type Description
FieldOperationMetadata.Builder
Overrides

clearEndTime()

public FieldOperationMetadata.Builder clearEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
FieldOperationMetadata.Builder

clearField()

public FieldOperationMetadata.Builder clearField()

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

string field = 3;

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIndexConfigDeltas()

public FieldOperationMetadata.Builder clearIndexConfigDeltas()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
FieldOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgressBytes()

public FieldOperationMetadata.Builder clearProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Returns
Type Description
FieldOperationMetadata.Builder

clearProgressDocuments()

public FieldOperationMetadata.Builder clearProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Returns
Type Description
FieldOperationMetadata.Builder

clearStartTime()

public FieldOperationMetadata.Builder clearStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
FieldOperationMetadata.Builder

clearState()

public FieldOperationMetadata.Builder clearState()

The state of the operation.

.google.firestore.admin.v1.OperationState state = 5;

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

clearTtlConfigDelta()

public FieldOperationMetadata.Builder clearTtlConfigDelta()

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Returns
Type Description
FieldOperationMetadata.Builder

clone()

public FieldOperationMetadata.Builder clone()
Returns
Type Description
FieldOperationMetadata.Builder
Overrides

getDefaultInstanceForType()

public FieldOperationMetadata getDefaultInstanceForType()
Returns
Type Description
FieldOperationMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getField()

public String getField()

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

string field = 3;

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

string field = 3;

Returns
Type Description
ByteString

The bytes for field.

getIndexConfigDeltas(int index)

public FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
index int
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta

getIndexConfigDeltasBuilder(int index)

public FieldOperationMetadata.IndexConfigDelta.Builder getIndexConfigDeltasBuilder(int index)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
index int
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

getIndexConfigDeltasBuilderList()

public List<FieldOperationMetadata.IndexConfigDelta.Builder> getIndexConfigDeltasBuilderList()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
List<Builder>

getIndexConfigDeltasCount()

public int getIndexConfigDeltasCount()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
int

getIndexConfigDeltasList()

public List<FieldOperationMetadata.IndexConfigDelta> getIndexConfigDeltasList()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
List<IndexConfigDelta>

getIndexConfigDeltasOrBuilder(int index)

public FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder(int index)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
index int
Returns
Type Description
FieldOperationMetadata.IndexConfigDeltaOrBuilder

getIndexConfigDeltasOrBuilderList()

public List<? extends FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasOrBuilderList()

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Returns
Type Description
List<? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>

getProgressBytes()

public Progress getProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Returns
Type Description
Progress

The progressBytes.

getProgressBytesBuilder()

public Progress.Builder getProgressBytesBuilder()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Returns
Type Description
Progress.Builder

getProgressBytesOrBuilder()

public ProgressOrBuilder getProgressBytesOrBuilder()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Returns
Type Description
ProgressOrBuilder

getProgressDocuments()

public Progress getProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Returns
Type Description
Progress

The progressDocuments.

getProgressDocumentsBuilder()

public Progress.Builder getProgressDocumentsBuilder()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Returns
Type Description
Progress.Builder

getProgressDocumentsOrBuilder()

public ProgressOrBuilder getProgressDocumentsOrBuilder()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Returns
Type Description
ProgressOrBuilder

getStartTime()

public Timestamp getStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public OperationState getState()

The state of the operation.

.google.firestore.admin.v1.OperationState state = 5;

Returns
Type Description
OperationState

The state.

getStateValue()

public int getStateValue()

The state of the operation.

.google.firestore.admin.v1.OperationState state = 5;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTtlConfigDelta()

public FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta()

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Returns
Type Description
FieldOperationMetadata.TtlConfigDelta

The ttlConfigDelta.

getTtlConfigDeltaBuilder()

public FieldOperationMetadata.TtlConfigDelta.Builder getTtlConfigDeltaBuilder()

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder

getTtlConfigDeltaOrBuilder()

public FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder()

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Returns
Type Description
FieldOperationMetadata.TtlConfigDeltaOrBuilder

hasEndTime()

public boolean hasEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasProgressBytes()

public boolean hasProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Returns
Type Description
boolean

Whether the progressBytes field is set.

hasProgressDocuments()

public boolean hasProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Returns
Type Description
boolean

Whether the progressDocuments field is set.

hasStartTime()

public boolean hasStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasTtlConfigDelta()

public boolean hasTtlConfigDelta()

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Returns
Type Description
boolean

Whether the ttlConfigDelta field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public FieldOperationMetadata.Builder mergeEndTime(Timestamp value)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
FieldOperationMetadata.Builder

mergeFrom(FieldOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProgressBytes(Progress value)

public FieldOperationMetadata.Builder mergeProgressBytes(Progress value)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Parameter
Name Description
value Progress
Returns
Type Description
FieldOperationMetadata.Builder

mergeProgressDocuments(Progress value)

public FieldOperationMetadata.Builder mergeProgressDocuments(Progress value)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Parameter
Name Description
value Progress
Returns
Type Description
FieldOperationMetadata.Builder

mergeStartTime(Timestamp value)

public FieldOperationMetadata.Builder mergeStartTime(Timestamp value)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
FieldOperationMetadata.Builder

mergeTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta value)

public FieldOperationMetadata.Builder mergeTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta value)

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Parameter
Name Description
value FieldOperationMetadata.TtlConfigDelta
Returns
Type Description
FieldOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIndexConfigDeltas(int index)

public FieldOperationMetadata.Builder removeIndexConfigDeltas(int index)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameter
Name Description
index int
Returns
Type Description
FieldOperationMetadata.Builder

setEndTime(Timestamp value)

public FieldOperationMetadata.Builder setEndTime(Timestamp value)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
FieldOperationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public FieldOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FieldOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setField(String value)

public FieldOperationMetadata.Builder setField(String value)

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

string field = 3;

Parameter
Name Description
value String

The field to set.

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

setFieldBytes(ByteString value)

public FieldOperationMetadata.Builder setFieldBytes(ByteString value)

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

string field = 3;

Parameter
Name Description
value ByteString

The bytes for field to set.

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

setIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta value)

public FieldOperationMetadata.Builder setIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta value)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameters
Name Description
index int
value FieldOperationMetadata.IndexConfigDelta
Returns
Type Description
FieldOperationMetadata.Builder

setIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

public FieldOperationMetadata.Builder setIndexConfigDeltas(int index, FieldOperationMetadata.IndexConfigDelta.Builder builderForValue)

A list of IndexConfigDelta, which describe the intent of this operation.

repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;

Parameters
Name Description
index int
builderForValue FieldOperationMetadata.IndexConfigDelta.Builder
Returns
Type Description
FieldOperationMetadata.Builder

setProgressBytes(Progress value)

public FieldOperationMetadata.Builder setProgressBytes(Progress value)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Parameter
Name Description
value Progress
Returns
Type Description
FieldOperationMetadata.Builder

setProgressBytes(Progress.Builder builderForValue)

public FieldOperationMetadata.Builder setProgressBytes(Progress.Builder builderForValue)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 7;

Parameter
Name Description
builderForValue Progress.Builder
Returns
Type Description
FieldOperationMetadata.Builder

setProgressDocuments(Progress value)

public FieldOperationMetadata.Builder setProgressDocuments(Progress value)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Parameter
Name Description
value Progress
Returns
Type Description
FieldOperationMetadata.Builder

setProgressDocuments(Progress.Builder builderForValue)

public FieldOperationMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 6;

Parameter
Name Description
builderForValue Progress.Builder
Returns
Type Description
FieldOperationMetadata.Builder

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

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

setStartTime(Timestamp value)

public FieldOperationMetadata.Builder setStartTime(Timestamp value)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
FieldOperationMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public FieldOperationMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FieldOperationMetadata.Builder

setState(OperationState value)

public FieldOperationMetadata.Builder setState(OperationState value)

The state of the operation.

.google.firestore.admin.v1.OperationState state = 5;

Parameter
Name Description
value OperationState

The state to set.

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

setStateValue(int value)

public FieldOperationMetadata.Builder setStateValue(int value)

The state of the operation.

.google.firestore.admin.v1.OperationState state = 5;

Parameter
Name Description
value int

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

Returns
Type Description
FieldOperationMetadata.Builder

This builder for chaining.

setTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta value)

public FieldOperationMetadata.Builder setTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta value)

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Parameter
Name Description
value FieldOperationMetadata.TtlConfigDelta
Returns
Type Description
FieldOperationMetadata.Builder

setTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta.Builder builderForValue)

public FieldOperationMetadata.Builder setTtlConfigDelta(FieldOperationMetadata.TtlConfigDelta.Builder builderForValue)

Describes the deltas of TTL configuration.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8;

Parameter
Name Description
builderForValue FieldOperationMetadata.TtlConfigDelta.Builder
Returns
Type Description
FieldOperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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