public static final class Document.IndexStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder> implements Document.IndexStatusOrBuilder
Index status of the document.Protobuf type
google.cloud.discoveryengine.v1.Document.IndexStatus| Modifier and Type | Method and Description |
|---|---|
Document.IndexStatus.Builder |
addAllErrorSamples(Iterable<? extends com.google.rpc.Status> values)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
addErrorSamples(int index,
com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
addErrorSamples(int index,
com.google.rpc.Status value)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
addErrorSamples(com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
addErrorSamples(com.google.rpc.Status value)
A sample of errors encountered while indexing the document.
|
com.google.rpc.Status.Builder |
addErrorSamplesBuilder()
A sample of errors encountered while indexing the document.
|
com.google.rpc.Status.Builder |
addErrorSamplesBuilder(int index)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus |
build() |
Document.IndexStatus |
buildPartial() |
Document.IndexStatus.Builder |
clear() |
Document.IndexStatus.Builder |
clearErrorSamples()
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
clearIndexTime()
The time when the document was indexed.
|
Document.IndexStatus.Builder |
clearPendingMessage()
Immutable.
|
Document.IndexStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getErrorSamples(int index)
A sample of errors encountered while indexing the document.
|
com.google.rpc.Status.Builder |
getErrorSamplesBuilder(int index)
A sample of errors encountered while indexing the document.
|
List<com.google.rpc.Status.Builder> |
getErrorSamplesBuilderList()
A sample of errors encountered while indexing the document.
|
int |
getErrorSamplesCount()
A sample of errors encountered while indexing the document.
|
List<com.google.rpc.Status> |
getErrorSamplesList()
A sample of errors encountered while indexing the document.
|
com.google.rpc.StatusOrBuilder |
getErrorSamplesOrBuilder(int index)
A sample of errors encountered while indexing the document.
|
List<? extends com.google.rpc.StatusOrBuilder> |
getErrorSamplesOrBuilderList()
A sample of errors encountered while indexing the document.
|
com.google.protobuf.Timestamp |
getIndexTime()
The time when the document was indexed.
|
com.google.protobuf.Timestamp.Builder |
getIndexTimeBuilder()
The time when the document was indexed.
|
com.google.protobuf.TimestampOrBuilder |
getIndexTimeOrBuilder()
The time when the document was indexed.
|
String |
getPendingMessage()
Immutable.
|
com.google.protobuf.ByteString |
getPendingMessageBytes()
Immutable.
|
boolean |
hasIndexTime()
The time when the document was indexed.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Document.IndexStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Document.IndexStatus.Builder |
mergeFrom(Document.IndexStatus other) |
Document.IndexStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
Document.IndexStatus.Builder |
mergeIndexTime(com.google.protobuf.Timestamp value)
The time when the document was indexed.
|
Document.IndexStatus.Builder |
removeErrorSamples(int index)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
setErrorSamples(int index,
com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
setErrorSamples(int index,
com.google.rpc.Status value)
A sample of errors encountered while indexing the document.
|
Document.IndexStatus.Builder |
setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the document was indexed.
|
Document.IndexStatus.Builder |
setIndexTime(com.google.protobuf.Timestamp value)
The time when the document was indexed.
|
Document.IndexStatus.Builder |
setPendingMessage(String value)
Immutable.
|
Document.IndexStatus.Builder |
setPendingMessageBytes(com.google.protobuf.ByteString value)
Immutable.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>public Document.IndexStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.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.GeneratedMessage.Builder<Document.IndexStatus.Builder>public Document.IndexStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Document.IndexStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Document.IndexStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Document.IndexStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.IndexStatus.Builder>public Document.IndexStatus.Builder mergeFrom(Document.IndexStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>public Document.IndexStatus.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<Document.IndexStatus.Builder>IOExceptionpublic boolean hasIndexTime()
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;hasIndexTime in interface Document.IndexStatusOrBuilderpublic com.google.protobuf.Timestamp getIndexTime()
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;getIndexTime in interface Document.IndexStatusOrBuilderpublic Document.IndexStatus.Builder setIndexTime(com.google.protobuf.Timestamp value)
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;public Document.IndexStatus.Builder setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;public Document.IndexStatus.Builder mergeIndexTime(com.google.protobuf.Timestamp value)
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;public Document.IndexStatus.Builder clearIndexTime()
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;public com.google.protobuf.Timestamp.Builder getIndexTimeBuilder()
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;public com.google.protobuf.TimestampOrBuilder getIndexTimeOrBuilder()
The time when the document was indexed. If this field is populated, it means the document has been indexed.
.google.protobuf.Timestamp index_time = 1;getIndexTimeOrBuilder in interface Document.IndexStatusOrBuilderpublic List<com.google.rpc.Status> getErrorSamplesList()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;getErrorSamplesList in interface Document.IndexStatusOrBuilderpublic int getErrorSamplesCount()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;getErrorSamplesCount in interface Document.IndexStatusOrBuilderpublic com.google.rpc.Status getErrorSamples(int index)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;getErrorSamples in interface Document.IndexStatusOrBuilderpublic Document.IndexStatus.Builder setErrorSamples(int index, com.google.rpc.Status value)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder setErrorSamples(int index, com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder addErrorSamples(com.google.rpc.Status value)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder addErrorSamples(int index, com.google.rpc.Status value)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder addErrorSamples(com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder addErrorSamples(int index, com.google.rpc.Status.Builder builderForValue)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder addAllErrorSamples(Iterable<? extends com.google.rpc.Status> values)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder clearErrorSamples()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public Document.IndexStatus.Builder removeErrorSamples(int index)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public com.google.rpc.Status.Builder getErrorSamplesBuilder(int index)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public com.google.rpc.StatusOrBuilder getErrorSamplesOrBuilder(int index)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;getErrorSamplesOrBuilder in interface Document.IndexStatusOrBuilderpublic List<? extends com.google.rpc.StatusOrBuilder> getErrorSamplesOrBuilderList()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;getErrorSamplesOrBuilderList in interface Document.IndexStatusOrBuilderpublic com.google.rpc.Status.Builder addErrorSamplesBuilder()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public com.google.rpc.Status.Builder addErrorSamplesBuilder(int index)
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public List<com.google.rpc.Status.Builder> getErrorSamplesBuilderList()
A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.
repeated .google.rpc.Status error_samples = 2;public String getPendingMessage()
Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.
string pending_message = 3 [(.google.api.field_behavior) = IMMUTABLE];getPendingMessage in interface Document.IndexStatusOrBuilderpublic com.google.protobuf.ByteString getPendingMessageBytes()
Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.
string pending_message = 3 [(.google.api.field_behavior) = IMMUTABLE];getPendingMessageBytes in interface Document.IndexStatusOrBuilderpublic Document.IndexStatus.Builder setPendingMessage(String value)
Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.
string pending_message = 3 [(.google.api.field_behavior) = IMMUTABLE];value - The pendingMessage to set.public Document.IndexStatus.Builder clearPendingMessage()
Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.
string pending_message = 3 [(.google.api.field_behavior) = IMMUTABLE];public Document.IndexStatus.Builder setPendingMessageBytes(com.google.protobuf.ByteString value)
Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.
string pending_message = 3 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for pendingMessage to set.Copyright © 2026 Google LLC. All rights reserved.