public static final class IndexOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder> implements IndexOperationMetadataOrBuilder
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].Protobuf type
google.firestore.admin.v1.IndexOperationMetadata| Modifier and Type | Method and Description |
|---|---|
IndexOperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexOperationMetadata |
build() |
IndexOperationMetadata |
buildPartial() |
IndexOperationMetadata.Builder |
clear() |
IndexOperationMetadata.Builder |
clearEndTime()
The time this operation completed.
|
IndexOperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IndexOperationMetadata.Builder |
clearIndex()
The index resource that this operation is acting on.
|
IndexOperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IndexOperationMetadata.Builder |
clearProgressBytes()
The progress, in bytes, of this operation.
|
IndexOperationMetadata.Builder |
clearProgressDocuments()
The progress, in documents, of this operation.
|
IndexOperationMetadata.Builder |
clearStartTime()
The time this operation started.
|
IndexOperationMetadata.Builder |
clearState()
The state of the operation.
|
IndexOperationMetadata.Builder |
clone() |
IndexOperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The time this operation completed.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The time this operation completed.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The time this operation completed.
|
String |
getIndex()
The index resource that this operation is acting on.
|
com.google.protobuf.ByteString |
getIndexBytes()
The index resource that this operation is acting on.
|
Progress |
getProgressBytes()
The progress, in bytes, of this operation.
|
Progress.Builder |
getProgressBytesBuilder()
The progress, in bytes, of this operation.
|
ProgressOrBuilder |
getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
|
Progress |
getProgressDocuments()
The progress, in documents, of this operation.
|
Progress.Builder |
getProgressDocumentsBuilder()
The progress, in documents, of this operation.
|
ProgressOrBuilder |
getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
|
com.google.protobuf.Timestamp |
getStartTime()
The time this operation started.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The time this operation started.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The time this operation started.
|
OperationState |
getState()
The state of the operation.
|
int |
getStateValue()
The state of the operation.
|
boolean |
hasEndTime()
The time this operation completed.
|
boolean |
hasProgressBytes()
The progress, in bytes, of this operation.
|
boolean |
hasProgressDocuments()
The progress, in documents, of this operation.
|
boolean |
hasStartTime()
The time this operation started.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IndexOperationMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The time this operation completed.
|
IndexOperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IndexOperationMetadata.Builder |
mergeFrom(IndexOperationMetadata other) |
IndexOperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
IndexOperationMetadata.Builder |
mergeProgressBytes(Progress value)
The progress, in bytes, of this operation.
|
IndexOperationMetadata.Builder |
mergeProgressDocuments(Progress value)
The progress, in documents, of this operation.
|
IndexOperationMetadata.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
|
IndexOperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IndexOperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation completed.
|
IndexOperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The time this operation completed.
|
IndexOperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexOperationMetadata.Builder |
setIndex(String value)
The index resource that this operation is acting on.
|
IndexOperationMetadata.Builder |
setIndexBytes(com.google.protobuf.ByteString value)
The index resource that this operation is acting on.
|
IndexOperationMetadata.Builder |
setProgressBytes(Progress.Builder builderForValue)
The progress, in bytes, of this operation.
|
IndexOperationMetadata.Builder |
setProgressBytes(Progress value)
The progress, in bytes, of this operation.
|
IndexOperationMetadata.Builder |
setProgressDocuments(Progress.Builder builderForValue)
The progress, in documents, of this operation.
|
IndexOperationMetadata.Builder |
setProgressDocuments(Progress value)
The progress, in documents, of this operation.
|
IndexOperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IndexOperationMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation started.
|
IndexOperationMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
|
IndexOperationMetadata.Builder |
setState(OperationState value)
The state of the operation.
|
IndexOperationMetadata.Builder |
setStateValue(int value)
The state of the operation.
|
IndexOperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IndexOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IndexOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IndexOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder mergeFrom(IndexOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public IndexOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexOperationMetadata.Builder>IOExceptionpublic boolean hasStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface IndexOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;public IndexOperationMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;public IndexOperationMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;public IndexOperationMetadata.Builder clearStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;getStartTimeOrBuilder in interface IndexOperationMetadataOrBuilderpublic boolean hasEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface IndexOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;public IndexOperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;public IndexOperationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;public IndexOperationMetadata.Builder clearEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;getEndTimeOrBuilder in interface IndexOperationMetadataOrBuilderpublic String getIndex()
The index resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string index = 3;getIndex in interface IndexOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getIndexBytes()
The index resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string index = 3;getIndexBytes in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setIndex(String value)
The index resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string index = 3;value - The index to set.public IndexOperationMetadata.Builder clearIndex()
The index resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string index = 3;public IndexOperationMetadata.Builder setIndexBytes(com.google.protobuf.ByteString value)
The index resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string index = 3;value - The bytes for index to set.public int getStateValue()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;getStateValue in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setStateValue(int value)
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;value - The enum numeric value on the wire for state to set.public OperationState getState()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;getState in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setState(OperationState value)
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;value - The state to set.public IndexOperationMetadata.Builder clearState()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;public boolean hasProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;hasProgressDocuments in interface IndexOperationMetadataOrBuilderpublic Progress getProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;getProgressDocuments in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;public IndexOperationMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;public IndexOperationMetadata.Builder mergeProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;public IndexOperationMetadata.Builder clearProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;public Progress.Builder getProgressDocumentsBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;public ProgressOrBuilder getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;getProgressDocumentsOrBuilder in interface IndexOperationMetadataOrBuilderpublic boolean hasProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;hasProgressBytes in interface IndexOperationMetadataOrBuilderpublic Progress getProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;getProgressBytes in interface IndexOperationMetadataOrBuilderpublic IndexOperationMetadata.Builder setProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;public IndexOperationMetadata.Builder setProgressBytes(Progress.Builder builderForValue)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;public IndexOperationMetadata.Builder mergeProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;public IndexOperationMetadata.Builder clearProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;public Progress.Builder getProgressBytesBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;public ProgressOrBuilder getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;getProgressBytesOrBuilder in interface IndexOperationMetadataOrBuilderpublic final IndexOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>public final IndexOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>Copyright © 2020 Google LLC. All rights reserved.