Class Document.IndexStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
com.google.cloud.discoveryengine.v1beta.Document.IndexStatus.Builder
- All Implemented Interfaces:
Document.IndexStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Document.IndexStatus
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.v1beta.Document.IndexStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrorSamples(Iterable<? extends Status> values) A sample of errors encountered while indexing the document.addErrorSamples(int index, Status value) A sample of errors encountered while indexing the document.addErrorSamples(int index, Status.Builder builderForValue) A sample of errors encountered while indexing the document.addErrorSamples(Status value) A sample of errors encountered while indexing the document.addErrorSamples(Status.Builder builderForValue) A sample of errors encountered while indexing the document.A sample of errors encountered while indexing the document.addErrorSamplesBuilder(int index) A sample of errors encountered while indexing the document.build()clear()A sample of errors encountered while indexing the document.The time when the document was indexed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrorSamples(int index) A sample of errors encountered while indexing the document.getErrorSamplesBuilder(int index) A sample of errors encountered while indexing the document.A sample of errors encountered while indexing the document.intA sample of errors encountered while indexing the document.A sample of errors encountered while indexing the document.getErrorSamplesOrBuilder(int index) A sample of errors encountered while indexing the document.List<? extends StatusOrBuilder>A sample of errors encountered while indexing the document.com.google.protobuf.TimestampThe time when the document was indexed.com.google.protobuf.Timestamp.BuilderThe time when the document was indexed.com.google.protobuf.TimestampOrBuilderThe time when the document was indexed.booleanThe time when the document was indexed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Document.IndexStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIndexTime(com.google.protobuf.Timestamp value) The time when the document was indexed.removeErrorSamples(int index) A sample of errors encountered while indexing the document.setErrorSamples(int index, Status value) A sample of errors encountered while indexing the document.setErrorSamples(int index, Status.Builder builderForValue) A sample of errors encountered while indexing the document.setIndexTime(com.google.protobuf.Timestamp value) The time when the document was indexed.setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the document was indexed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.IndexStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
-
mergeFrom
public Document.IndexStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.IndexStatus.Builder>- Throws:
IOException
-
hasIndexTime
public 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;- Specified by:
hasIndexTimein interfaceDocument.IndexStatusOrBuilder- Returns:
- Whether the indexTime field is set.
-
getIndexTime
public 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;- Specified by:
getIndexTimein interfaceDocument.IndexStatusOrBuilder- Returns:
- The indexTime.
-
setIndexTime
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; -
setIndexTime
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; -
mergeIndexTime
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; -
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; -
getIndexTimeBuilder
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; -
getIndexTimeOrBuilder
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;- Specified by:
getIndexTimeOrBuilderin interfaceDocument.IndexStatusOrBuilder
-
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;- Specified by:
getErrorSamplesListin interfaceDocument.IndexStatusOrBuilder
-
getErrorSamplesCount
public 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;- Specified by:
getErrorSamplesCountin interfaceDocument.IndexStatusOrBuilder
-
getErrorSamples
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;- Specified by:
getErrorSamplesin interfaceDocument.IndexStatusOrBuilder
-
setErrorSamples
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; -
setErrorSamples
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; -
addErrorSamples
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; -
addErrorSamples
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; -
addErrorSamples
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; -
addErrorSamples
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; -
addAllErrorSamples
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; -
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; -
removeErrorSamples
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; -
getErrorSamplesBuilder
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
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;- Specified by:
getErrorSamplesOrBuilderin interfaceDocument.IndexStatusOrBuilder
-
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;- Specified by:
getErrorSamplesOrBuilderListin interfaceDocument.IndexStatusOrBuilder
-
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; -
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; -
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;
-