public static final class IndexOperationMetadata.Builder extends GeneratedMessageV3.Builder<IndexOperationMetadata.Builder> implements IndexOperationMetadataOrBuilder
Metadata for google.longrunning.Operation results from FirestoreAdmin.CreateIndex.
Protobuf type google.firestore.admin.v1.IndexOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IndexOperationMetadata.BuilderImplements
IndexOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IndexOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IndexOperationMetadata.Builder |
build()
public IndexOperationMetadata build()
Type | Description |
IndexOperationMetadata |
buildPartial()
public IndexOperationMetadata buildPartial()
Type | Description |
IndexOperationMetadata |
clear()
public IndexOperationMetadata.Builder clear()
Type | Description |
IndexOperationMetadata.Builder |
clearEndTime()
public IndexOperationMetadata.Builder clearEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
IndexOperationMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public IndexOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
IndexOperationMetadata.Builder |
clearIndex()
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;
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public IndexOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
IndexOperationMetadata.Builder |
clearProgressBytes()
public IndexOperationMetadata.Builder clearProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Type | Description |
IndexOperationMetadata.Builder |
clearProgressDocuments()
public IndexOperationMetadata.Builder clearProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Type | Description |
IndexOperationMetadata.Builder |
clearStartTime()
public IndexOperationMetadata.Builder clearStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
IndexOperationMetadata.Builder |
clearState()
public IndexOperationMetadata.Builder clearState()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
clone()
public IndexOperationMetadata.Builder clone()
Type | Description |
IndexOperationMetadata.Builder |
getDefaultInstanceForType()
public IndexOperationMetadata getDefaultInstanceForType()
Type | Description |
IndexOperationMetadata |
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 |
getIndex()
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;
Type | Description |
String | The index. |
getIndexBytes()
public 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;
Type | Description |
ByteString | The bytes for index. |
getProgressBytes()
public Progress getProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Type | Description |
Progress | The progressBytes. |
getProgressBytesBuilder()
public Progress.Builder getProgressBytesBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Type | Description |
Progress.Builder |
getProgressBytesOrBuilder()
public ProgressOrBuilder getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Type | Description |
ProgressOrBuilder |
getProgressDocuments()
public Progress getProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Type | Description |
Progress | The progressDocuments. |
getProgressDocumentsBuilder()
public Progress.Builder getProgressDocumentsBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Type | Description |
Progress.Builder |
getProgressDocumentsOrBuilder()
public ProgressOrBuilder getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
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 = 4;
Type | Description |
OperationState | The state. |
getStateValue()
public int getStateValue()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;
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 = 6;
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 = 5;
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 IndexOperationMetadata.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 |
IndexOperationMetadata.Builder |
mergeFrom(IndexOperationMetadata other)
public IndexOperationMetadata.Builder mergeFrom(IndexOperationMetadata other)
Name | Description |
other | IndexOperationMetadata |
Type | Description |
IndexOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IndexOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
IndexOperationMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public IndexOperationMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
IndexOperationMetadata.Builder |
mergeProgressBytes(Progress value)
public IndexOperationMetadata.Builder mergeProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Name | Description |
value | Progress |
Type | Description |
IndexOperationMetadata.Builder |
mergeProgressDocuments(Progress value)
public IndexOperationMetadata.Builder mergeProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Name | Description |
value | Progress |
Type | Description |
IndexOperationMetadata.Builder |
mergeStartTime(Timestamp value)
public IndexOperationMetadata.Builder mergeStartTime(Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
IndexOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IndexOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IndexOperationMetadata.Builder |
setEndTime(Timestamp value)
public IndexOperationMetadata.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 |
IndexOperationMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
public IndexOperationMetadata.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 |
IndexOperationMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public IndexOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IndexOperationMetadata.Builder |
setIndex(String value)
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;
Name | Description |
value | String The index to set. |
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
setIndexBytes(ByteString value)
public IndexOperationMetadata.Builder setIndexBytes(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;
Name | Description |
value | ByteString The bytes for index to set. |
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
setProgressBytes(Progress value)
public IndexOperationMetadata.Builder setProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Name | Description |
value | Progress |
Type | Description |
IndexOperationMetadata.Builder |
setProgressBytes(Progress.Builder builderForValue)
public IndexOperationMetadata.Builder setProgressBytes(Progress.Builder builderForValue)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 6;
Name | Description |
builderForValue | Progress.Builder |
Type | Description |
IndexOperationMetadata.Builder |
setProgressDocuments(Progress value)
public IndexOperationMetadata.Builder setProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Name | Description |
value | Progress |
Type | Description |
IndexOperationMetadata.Builder |
setProgressDocuments(Progress.Builder builderForValue)
public IndexOperationMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 5;
Name | Description |
builderForValue | Progress.Builder |
Type | Description |
IndexOperationMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IndexOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
IndexOperationMetadata.Builder |
setStartTime(Timestamp value)
public IndexOperationMetadata.Builder setStartTime(Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
IndexOperationMetadata.Builder |
setStartTime(Timestamp.Builder builderForValue)
public IndexOperationMetadata.Builder setStartTime(Timestamp.Builder builderForValue)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
IndexOperationMetadata.Builder |
setState(OperationState value)
public IndexOperationMetadata.Builder setState(OperationState value)
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;
Name | Description |
value | OperationState The state to set. |
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
setStateValue(int value)
public IndexOperationMetadata.Builder setStateValue(int value)
The state of the operation.
.google.firestore.admin.v1.OperationState state = 4;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
IndexOperationMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final IndexOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IndexOperationMetadata.Builder |