Class Document.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Document.Builder>
com.google.cloud.discoveryengine.v1beta.Document.Builder
- All Implemented Interfaces:
DocumentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Document
public static final class Document.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Document.Builder>
implements DocumentOrBuilder
Document captures all raw metadata information of items to be recommended or searched.Protobuf type
google.cloud.discoveryengine.v1beta.Document-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The unstructured data linked to this document.Output only.clearId()Immutable.Output only.Output only.The JSON string representation of the document.Immutable.The identifier of the parent document.The identifier of the schema located in the same data store.The structured JSON data for the document.The unstructured data linked to this document.The unstructured data linked to this document.The unstructured data linked to this document.com.google.protobuf.StructOutput only.com.google.protobuf.Struct.BuilderOutput only.com.google.protobuf.StructOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Immutable.com.google.protobuf.ByteStringImmutable.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The JSON string representation of the document.com.google.protobuf.ByteStringThe JSON string representation of the document.getName()Immutable.com.google.protobuf.ByteStringImmutable.The identifier of the parent document.com.google.protobuf.ByteStringThe identifier of the parent document.The identifier of the schema located in the same data store.com.google.protobuf.ByteStringThe identifier of the schema located in the same data store.com.google.protobuf.StructThe structured JSON data for the document.com.google.protobuf.Struct.BuilderThe structured JSON data for the document.com.google.protobuf.StructOrBuilderThe structured JSON data for the document.booleanThe unstructured data linked to this document.booleanOutput only.booleanOutput only.booleanOutput only.booleanThe JSON string representation of the document.booleanThe structured JSON data for the document.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeContent(Document.Content value) The unstructured data linked to this document.mergeDerivedStructData(com.google.protobuf.Struct value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeIndexTime(com.google.protobuf.Timestamp value) Output only.mergeStructData(com.google.protobuf.Struct value) The structured JSON data for the document.setContent(Document.Content value) The unstructured data linked to this document.setContent(Document.Content.Builder builderForValue) The unstructured data linked to this document.setDerivedStructData(com.google.protobuf.Struct value) Output only.setDerivedStructData(com.google.protobuf.Struct.Builder builderForValue) Output only.Immutable.setIdBytes(com.google.protobuf.ByteString value) Immutable.Output only.setIndexStatus(Document.IndexStatus.Builder builderForValue) Output only.setIndexTime(com.google.protobuf.Timestamp value) Output only.setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setJsonData(String value) The JSON string representation of the document.setJsonDataBytes(com.google.protobuf.ByteString value) The JSON string representation of the document.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setParentDocumentId(String value) The identifier of the parent document.setParentDocumentIdBytes(com.google.protobuf.ByteString value) The identifier of the parent document.setSchemaId(String value) The identifier of the schema located in the same data store.setSchemaIdBytes(com.google.protobuf.ByteString value) The identifier of the schema located in the same data store.setStructData(com.google.protobuf.Struct value) The structured JSON data for the document.setStructData(com.google.protobuf.Struct.Builder builderForValue) The structured JSON data for the document.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.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.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.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.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Document.Builder>
-
mergeFrom
public Document.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.Builder>- Throws:
IOException
-
getDataCase
- Specified by:
getDataCasein interfaceDocumentOrBuilder
-
clearData
-
hasStructData
public boolean hasStructData()The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4;- Specified by:
hasStructDatain interfaceDocumentOrBuilder- Returns:
- Whether the structData field is set.
-
getStructData
public com.google.protobuf.Struct getStructData()The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4;- Specified by:
getStructDatain interfaceDocumentOrBuilder- Returns:
- The structData.
-
setStructData
The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4; -
setStructData
The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4; -
mergeStructData
The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4; -
clearStructData
The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4; -
getStructDataBuilder
public com.google.protobuf.Struct.Builder getStructDataBuilder()The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4; -
getStructDataOrBuilder
public com.google.protobuf.StructOrBuilder getStructDataOrBuilder()The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 4;- Specified by:
getStructDataOrBuilderin interfaceDocumentOrBuilder
-
hasJsonData
public boolean hasJsonData()The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Specified by:
hasJsonDatain interfaceDocumentOrBuilder- Returns:
- Whether the jsonData field is set.
-
getJsonData
The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Specified by:
getJsonDatain interfaceDocumentOrBuilder- Returns:
- The jsonData.
-
getJsonDataBytes
public com.google.protobuf.ByteString getJsonDataBytes()The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Specified by:
getJsonDataBytesin interfaceDocumentOrBuilder- Returns:
- The bytes for jsonData.
-
setJsonData
The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Parameters:
value- The jsonData to set.- Returns:
- This builder for chaining.
-
clearJsonData
The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Returns:
- This builder for chaining.
-
setJsonDataBytes
The JSON string representation of the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
string json_data = 5;- Parameters:
value- The bytes for jsonData to set.- Returns:
- This builder for chaining.
-
getName
Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceDocumentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceDocumentOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getIdin interfaceDocumentOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getIdBytesin interfaceDocumentOrBuilder- Returns:
- The bytes for id.
-
setId
Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setIdBytes
Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getSchemaId
The identifier of the schema located in the same data store.
string schema_id = 3;- Specified by:
getSchemaIdin interfaceDocumentOrBuilder- Returns:
- The schemaId.
-
getSchemaIdBytes
public com.google.protobuf.ByteString getSchemaIdBytes()The identifier of the schema located in the same data store.
string schema_id = 3;- Specified by:
getSchemaIdBytesin interfaceDocumentOrBuilder- Returns:
- The bytes for schemaId.
-
setSchemaId
The identifier of the schema located in the same data store.
string schema_id = 3;- Parameters:
value- The schemaId to set.- Returns:
- This builder for chaining.
-
clearSchemaId
The identifier of the schema located in the same data store.
string schema_id = 3;- Returns:
- This builder for chaining.
-
setSchemaIdBytes
The identifier of the schema located in the same data store.
string schema_id = 3;- Parameters:
value- The bytes for schemaId to set.- Returns:
- This builder for chaining.
-
hasContent
public boolean hasContent()The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10;- Specified by:
hasContentin interfaceDocumentOrBuilder- Returns:
- Whether the content field is set.
-
getContent
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10;- Specified by:
getContentin interfaceDocumentOrBuilder- Returns:
- The content.
-
setContent
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10; -
setContent
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10; -
mergeContent
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10; -
clearContent
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10; -
getContentBuilder
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10; -
getContentOrBuilder
The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
.google.cloud.discoveryengine.v1beta.Document.Content content = 10;- Specified by:
getContentOrBuilderin interfaceDocumentOrBuilder
-
getParentDocumentId
The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string parent_document_id = 7;- Specified by:
getParentDocumentIdin interfaceDocumentOrBuilder- Returns:
- The parentDocumentId.
-
getParentDocumentIdBytes
public com.google.protobuf.ByteString getParentDocumentIdBytes()The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string parent_document_id = 7;- Specified by:
getParentDocumentIdBytesin interfaceDocumentOrBuilder- Returns:
- The bytes for parentDocumentId.
-
setParentDocumentId
The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string parent_document_id = 7;- Parameters:
value- The parentDocumentId to set.- Returns:
- This builder for chaining.
-
clearParentDocumentId
The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string parent_document_id = 7;- Returns:
- This builder for chaining.
-
setParentDocumentIdBytes
The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string parent_document_id = 7;- Parameters:
value- The bytes for parentDocumentId to set.- Returns:
- This builder for chaining.
-
hasDerivedStructData
public boolean hasDerivedStructData()Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDerivedStructDatain interfaceDocumentOrBuilder- Returns:
- Whether the derivedStructData field is set.
-
getDerivedStructData
public com.google.protobuf.Struct getDerivedStructData()Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDerivedStructDatain interfaceDocumentOrBuilder- Returns:
- The derivedStructData.
-
setDerivedStructData
Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDerivedStructData
Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDerivedStructData
Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDerivedStructData
Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDerivedStructDataBuilder
public com.google.protobuf.Struct.Builder getDerivedStructDataBuilder()Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDerivedStructDataOrBuilder
public com.google.protobuf.StructOrBuilder getDerivedStructDataOrBuilder()Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
.google.protobuf.Struct derived_struct_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDerivedStructDataOrBuilderin interfaceDocumentOrBuilder
-
hasIndexTime
public boolean hasIndexTime()Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIndexTimein interfaceDocumentOrBuilder- Returns:
- Whether the indexTime field is set.
-
getIndexTime
public com.google.protobuf.Timestamp getIndexTime()Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexTimein interfaceDocumentOrBuilder- Returns:
- The indexTime.
-
setIndexTime
Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setIndexTime
Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeIndexTime
Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearIndexTime
Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIndexTimeBuilder
public com.google.protobuf.Timestamp.Builder getIndexTimeBuilder()Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIndexTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getIndexTimeOrBuilder()Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.
.google.protobuf.Timestamp index_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexTimeOrBuilderin interfaceDocumentOrBuilder
-
hasIndexStatus
public boolean hasIndexStatus()Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIndexStatusin interfaceDocumentOrBuilder- Returns:
- Whether the indexStatus field is set.
-
getIndexStatus
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexStatusin interfaceDocumentOrBuilder- Returns:
- The indexStatus.
-
setIndexStatus
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setIndexStatus
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeIndexStatus
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearIndexStatus
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIndexStatusBuilder
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIndexStatusOrBuilder
Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.
.google.cloud.discoveryengine.v1beta.Document.IndexStatus index_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexStatusOrBuilderin interfaceDocumentOrBuilder
-