public static final class FieldOperationMetadata.Builder extends GeneratedMessageV3.Builder<FieldOperationMetadata.Builder> implements FieldOperationMetadataOrBuilderMetadata for google.longrunning.Operation results from FirestoreAdmin.UpdateField.
Protobuf type google.firestore.admin.v1.FieldOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FieldOperationMetadata.BuilderImplements
FieldOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| 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;
| Name | Description |
| values | Iterable<? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta> |
| 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;
| Name | Description |
| value | FieldOperationMetadata.IndexConfigDelta |
| 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;
| Name | Description |
| builderForValue | FieldOperationMetadata.IndexConfigDelta.Builder |
| 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;
| Name | Description |
| index | int |
| value | FieldOperationMetadata.IndexConfigDelta |
| 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;
| Name | Description |
| index | int |
| builderForValue | FieldOperationMetadata.IndexConfigDelta.Builder |
| 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;
| 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;
| Name | Description |
| index | int |
| Type | Description |
| FieldOperationMetadata.IndexConfigDelta.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FieldOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| FieldOperationMetadata.Builder |
build()
public FieldOperationMetadata build()| Type | Description |
| FieldOperationMetadata |
buildPartial()
public FieldOperationMetadata buildPartial()| Type | Description |
| FieldOperationMetadata |
clear()
public FieldOperationMetadata.Builder clear()| Type | Description |
| FieldOperationMetadata.Builder |
clearEndTime()
public FieldOperationMetadata.Builder clearEndTime()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
| 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;
| Type | Description |
| FieldOperationMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FieldOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| FieldOperationMetadata.Builder |
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;
| Type | Description |
| FieldOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FieldOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| FieldOperationMetadata.Builder |
clearProgressBytes()
public FieldOperationMetadata.Builder clearProgressBytes()The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;
| Type | Description |
| FieldOperationMetadata.Builder |
clearProgressDocuments()
public FieldOperationMetadata.Builder clearProgressDocuments()The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;
| Type | Description |
| FieldOperationMetadata.Builder |
clearStartTime()
public FieldOperationMetadata.Builder clearStartTime()The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Type | Description |
| FieldOperationMetadata.Builder |
clearState()
public FieldOperationMetadata.Builder clearState()The state of the operation.
.google.firestore.admin.v1.OperationState state = 5;
| Type | Description |
| FieldOperationMetadata.Builder | This builder for chaining. |
clone()
public FieldOperationMetadata.Builder clone()| Type | Description |
| FieldOperationMetadata.Builder |
getDefaultInstanceForType()
public FieldOperationMetadata getDefaultInstanceForType()| Type | Description |
| FieldOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getEndTime()
public Timestamp getEndTime()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
| 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;
| 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;
| 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;
| 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;
| 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;
| Name | Description |
| index | int |
| 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;
| Name | Description |
| index | int |
| 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;
| 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;
| 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;
| 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;
| Name | Description |
| index | int |
| 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;
| 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;
| 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;
| Type | Description |
| Progress.Builder |
getProgressBytesOrBuilder()
public ProgressOrBuilder getProgressBytesOrBuilder()The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;
| Type | Description |
| ProgressOrBuilder |
getProgressDocuments()
public Progress getProgressDocuments()The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;
| 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;
| Type | Description |
| Progress.Builder |
getProgressDocumentsOrBuilder()
public ProgressOrBuilder getProgressDocumentsOrBuilder()The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;
| Type | Description |
| ProgressOrBuilder |
getStartTime()
public Timestamp getStartTime()The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Type | Description |
| Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Type | Description |
| Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Type | Description |
| TimestampOrBuilder |
getState()
public OperationState getState()The state of the operation.
.google.firestore.admin.v1.OperationState state = 5;
| Type | Description |
| OperationState | The state. |
getStateValue()
public int getStateValue()The state of the operation.
.google.firestore.admin.v1.OperationState state = 5;
| Type | Description |
| int | The enum numeric value on the wire for state. |
hasEndTime()
public boolean hasEndTime()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
| 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;
| 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;
| Type | Description |
| boolean | Whether the progressDocuments field is set. |
hasStartTime()
public boolean hasStartTime()The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Type | Description |
| boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
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;
| Name | Description |
| value | Timestamp |
| Type | Description |
| FieldOperationMetadata.Builder |
mergeFrom(FieldOperationMetadata other)
public FieldOperationMetadata.Builder mergeFrom(FieldOperationMetadata other)| Name | Description |
| other | FieldOperationMetadata |
| Type | Description |
| FieldOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FieldOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| FieldOperationMetadata.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public FieldOperationMetadata.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| FieldOperationMetadata.Builder |
mergeProgressBytes(Progress value)
public FieldOperationMetadata.Builder mergeProgressBytes(Progress value)The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;
| Name | Description |
| value | Progress |
| 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;
| Name | Description |
| value | Progress |
| Type | Description |
| FieldOperationMetadata.Builder |
mergeStartTime(Timestamp value)
public FieldOperationMetadata.Builder mergeStartTime(Timestamp value)The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Name | Description |
| value | Timestamp |
| Type | Description |
| FieldOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FieldOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| FieldOperationMetadata.Builder |
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;
| Name | Description |
| index | int |
| 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;
| Name | Description |
| value | Timestamp |
| 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;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| FieldOperationMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FieldOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| FieldOperationMetadata.Builder |
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;
| Name | Description |
| value | StringThe field to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for field to set. |
| 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;
| Name | Description |
| index | int |
| value | FieldOperationMetadata.IndexConfigDelta |
| 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;
| Name | Description |
| index | int |
| builderForValue | FieldOperationMetadata.IndexConfigDelta.Builder |
| 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;
| Name | Description |
| value | Progress |
| 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;
| Name | Description |
| builderForValue | Progress.Builder |
| 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;
| Name | Description |
| value | Progress |
| 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;
| Name | Description |
| builderForValue | Progress.Builder |
| Type | Description |
| FieldOperationMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FieldOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| FieldOperationMetadata.Builder |
setStartTime(Timestamp value)
public FieldOperationMetadata.Builder setStartTime(Timestamp value)The time this operation started.
.google.protobuf.Timestamp start_time = 1;
| Name | Description |
| value | Timestamp |
| 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;
| Name | Description |
| builderForValue | Builder |
| 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;
| Name | Description |
| value | OperationStateThe state to set. |
| 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;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| FieldOperationMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FieldOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| FieldOperationMetadata.Builder |