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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>
public IndexOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public IndexOperationMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public IndexOperationMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public IndexOperationMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<IndexOperationMetadata.Builder>
IOException
public boolean hasStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
hasStartTime
in interface IndexOperationMetadataOrBuilder
public com.google.protobuf.Timestamp getStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
getStartTime
in interface IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public boolean hasEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
hasEndTime
in interface IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public Progress getProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
getProgressDocuments
in interface IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public boolean hasProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
hasProgressBytes
in interface IndexOperationMetadataOrBuilder
public Progress getProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
getProgressBytes
in interface IndexOperationMetadataOrBuilder
public 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 IndexOperationMetadataOrBuilder
public final IndexOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexOperationMetadata.Builder>
Copyright © 2023 Google LLC. All rights reserved.