Class SearchMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SearchMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
ai.pipestream.data.v1.SearchMetadata.Builder
All Implemented Interfaces:
SearchMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchMetadata

public static final class SearchMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder> implements SearchMetadataOrBuilder
 Standardized search engine metadata for OOTB indexing.

 Provides a common data layout for search API queries. This structure maintains
 consistency across different document types while supporting enhanced search features
 like semantic chunking, document outlines, and link extraction.
 
Protobuf type ai.pipestream.data.v1.SearchMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • clear

      public SearchMetadata.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • getDefaultInstanceForType

      public SearchMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SearchMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchMetadata.Builder>
    • mergeFrom

      public SearchMetadata.Builder mergeFrom(SearchMetadata other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SearchMetadata.Builder>
    • mergeFrom

      public SearchMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchMetadata.Builder>
      Throws:
      IOException
    • hasTitle

      public boolean hasTitle()
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      hasTitle in interface SearchMetadataOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitle in interface SearchMetadataOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitleBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public SearchMetadata.Builder setTitle(String value)
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public SearchMetadata.Builder clearTitle()
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public SearchMetadata.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Document title or heading.
       
      optional string title = 1 [json_name = "title"];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasBody

      public boolean hasBody()
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Specified by:
      hasBody in interface SearchMetadataOrBuilder
      Returns:
      Whether the body field is set.
    • getBody

      public String getBody()
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Specified by:
      getBody in interface SearchMetadataOrBuilder
      Returns:
      The body.
    • getBodyBytes

      public com.google.protobuf.ByteString getBodyBytes()
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Specified by:
      getBodyBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for body.
    • setBody

      public SearchMetadata.Builder setBody(String value)
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Parameters:
      value - The body to set.
      Returns:
      This builder for chaining.
    • clearBody

      public SearchMetadata.Builder clearBody()
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Returns:
      This builder for chaining.
    • setBodyBytes

      public SearchMetadata.Builder setBodyBytes(com.google.protobuf.ByteString value)
       Full text content of the document.
       
      optional string body = 2 [json_name = "body"];
      Parameters:
      value - The bytes for body to set.
      Returns:
      This builder for chaining.
    • hasKeywords

      public boolean hasKeywords()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
      Specified by:
      hasKeywords in interface SearchMetadataOrBuilder
      Returns:
      Whether the keywords field is set.
    • getKeywords

      public Keywords getKeywords()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
      Specified by:
      getKeywords in interface SearchMetadataOrBuilder
      Returns:
      The keywords.
    • setKeywords

      public SearchMetadata.Builder setKeywords(Keywords value)
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
    • setKeywords

      public SearchMetadata.Builder setKeywords(Keywords.Builder builderForValue)
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
    • mergeKeywords

      public SearchMetadata.Builder mergeKeywords(Keywords value)
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
    • clearKeywords

      public SearchMetadata.Builder clearKeywords()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
    • getKeywordsBuilder

      public Keywords.Builder getKeywordsBuilder()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
    • getKeywordsOrBuilder

      public KeywordsOrBuilder getKeywordsOrBuilder()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3 [json_name = "keywords"];
      Specified by:
      getKeywordsOrBuilder in interface SearchMetadataOrBuilder
    • hasDocumentType

      public boolean hasDocumentType()
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Specified by:
      hasDocumentType in interface SearchMetadataOrBuilder
      Returns:
      Whether the documentType field is set.
    • getDocumentType

      public String getDocumentType()
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Specified by:
      getDocumentType in interface SearchMetadataOrBuilder
      Returns:
      The documentType.
    • getDocumentTypeBytes

      public com.google.protobuf.ByteString getDocumentTypeBytes()
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Specified by:
      getDocumentTypeBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for documentType.
    • setDocumentType

      public SearchMetadata.Builder setDocumentType(String value)
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Parameters:
      value - The documentType to set.
      Returns:
      This builder for chaining.
    • clearDocumentType

      public SearchMetadata.Builder clearDocumentType()
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Returns:
      This builder for chaining.
    • setDocumentTypeBytes

      public SearchMetadata.Builder setDocumentTypeBytes(com.google.protobuf.ByteString value)
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4 [json_name = "documentType"];
      Parameters:
      value - The bytes for documentType to set.
      Returns:
      This builder for chaining.
    • hasSourceUri

      public boolean hasSourceUri()
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Specified by:
      hasSourceUri in interface SearchMetadataOrBuilder
      Returns:
      Whether the sourceUri field is set.
    • getSourceUri

      public String getSourceUri()
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Specified by:
      getSourceUri in interface SearchMetadataOrBuilder
      Returns:
      The sourceUri.
    • getSourceUriBytes

      public com.google.protobuf.ByteString getSourceUriBytes()
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Specified by:
      getSourceUriBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceUri.
    • setSourceUri

      public SearchMetadata.Builder setSourceUri(String value)
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Parameters:
      value - The sourceUri to set.
      Returns:
      This builder for chaining.
    • clearSourceUri

      public SearchMetadata.Builder clearSourceUri()
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Returns:
      This builder for chaining.
    • setSourceUriBytes

      public SearchMetadata.Builder setSourceUriBytes(com.google.protobuf.ByteString value)
       Original source URI where the document was obtained.
       
      optional string source_uri = 5 [json_name = "sourceUri"];
      Parameters:
      value - The bytes for sourceUri to set.
      Returns:
      This builder for chaining.
    • hasSourceMimeType

      public boolean hasSourceMimeType()
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Specified by:
      hasSourceMimeType in interface SearchMetadataOrBuilder
      Returns:
      Whether the sourceMimeType field is set.
    • getSourceMimeType

      public String getSourceMimeType()
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Specified by:
      getSourceMimeType in interface SearchMetadataOrBuilder
      Returns:
      The sourceMimeType.
    • getSourceMimeTypeBytes

      public com.google.protobuf.ByteString getSourceMimeTypeBytes()
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Specified by:
      getSourceMimeTypeBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceMimeType.
    • setSourceMimeType

      public SearchMetadata.Builder setSourceMimeType(String value)
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Parameters:
      value - The sourceMimeType to set.
      Returns:
      This builder for chaining.
    • clearSourceMimeType

      public SearchMetadata.Builder clearSourceMimeType()
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Returns:
      This builder for chaining.
    • setSourceMimeTypeBytes

      public SearchMetadata.Builder setSourceMimeTypeBytes(com.google.protobuf.ByteString value)
       MIME type of the source document.
       
      optional string source_mime_type = 6 [json_name = "sourceMimeType"];
      Parameters:
      value - The bytes for sourceMimeType to set.
      Returns:
      This builder for chaining.
    • hasCreationDate

      public boolean hasCreationDate()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
      Specified by:
      hasCreationDate in interface SearchMetadataOrBuilder
      Returns:
      Whether the creationDate field is set.
    • getCreationDate

      public com.google.protobuf.Timestamp getCreationDate()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
      Specified by:
      getCreationDate in interface SearchMetadataOrBuilder
      Returns:
      The creationDate.
    • setCreationDate

      public SearchMetadata.Builder setCreationDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
    • setCreationDate

      public SearchMetadata.Builder setCreationDate(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
    • mergeCreationDate

      public SearchMetadata.Builder mergeCreationDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
    • clearCreationDate

      public SearchMetadata.Builder clearCreationDate()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
    • getCreationDateBuilder

      public com.google.protobuf.Timestamp.Builder getCreationDateBuilder()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
    • getCreationDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreationDateOrBuilder()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7 [json_name = "creationDate"];
      Specified by:
      getCreationDateOrBuilder in interface SearchMetadataOrBuilder
    • hasLastModifiedDate

      public boolean hasLastModifiedDate()
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
      Specified by:
      hasLastModifiedDate in interface SearchMetadataOrBuilder
      Returns:
      Whether the lastModifiedDate field is set.
    • getLastModifiedDate

      public com.google.protobuf.Timestamp getLastModifiedDate()
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
      Specified by:
      getLastModifiedDate in interface SearchMetadataOrBuilder
      Returns:
      The lastModifiedDate.
    • setLastModifiedDate

      public SearchMetadata.Builder setLastModifiedDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
    • setLastModifiedDate

      public SearchMetadata.Builder setLastModifiedDate(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
    • mergeLastModifiedDate

      public SearchMetadata.Builder mergeLastModifiedDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
    • clearLastModifiedDate

      public SearchMetadata.Builder clearLastModifiedDate()
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
    • getLastModifiedDateBuilder

      public com.google.protobuf.Timestamp.Builder getLastModifiedDateBuilder()
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
    • getLastModifiedDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastModifiedDateOrBuilder()
       Timestamp when the document was last modified at source.
       
      optional .google.protobuf.Timestamp last_modified_date = 8 [json_name = "lastModifiedDate"];
      Specified by:
      getLastModifiedDateOrBuilder in interface SearchMetadataOrBuilder
    • hasProcessedDate

      public boolean hasProcessedDate()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
      Specified by:
      hasProcessedDate in interface SearchMetadataOrBuilder
      Returns:
      Whether the processedDate field is set.
    • getProcessedDate

      public com.google.protobuf.Timestamp getProcessedDate()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
      Specified by:
      getProcessedDate in interface SearchMetadataOrBuilder
      Returns:
      The processedDate.
    • setProcessedDate

      public SearchMetadata.Builder setProcessedDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
    • setProcessedDate

      public SearchMetadata.Builder setProcessedDate(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
    • mergeProcessedDate

      public SearchMetadata.Builder mergeProcessedDate(com.google.protobuf.Timestamp value)
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
    • clearProcessedDate

      public SearchMetadata.Builder clearProcessedDate()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
    • getProcessedDateBuilder

      public com.google.protobuf.Timestamp.Builder getProcessedDateBuilder()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
    • getProcessedDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getProcessedDateOrBuilder()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9 [json_name = "processedDate"];
      Specified by:
      getProcessedDateOrBuilder in interface SearchMetadataOrBuilder
    • hasLanguage

      public boolean hasLanguage()
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      hasLanguage in interface SearchMetadataOrBuilder
      Returns:
      Whether the language field is set.
    • getLanguage

      public String getLanguage()
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      getLanguage in interface SearchMetadataOrBuilder
      Returns:
      The language.
    • getLanguageBytes

      public com.google.protobuf.ByteString getLanguageBytes()
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      getLanguageBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for language.
    • setLanguage

      public SearchMetadata.Builder setLanguage(String value)
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Parameters:
      value - The language to set.
      Returns:
      This builder for chaining.
    • clearLanguage

      public SearchMetadata.Builder clearLanguage()
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Returns:
      This builder for chaining.
    • setLanguageBytes

      public SearchMetadata.Builder setLanguageBytes(com.google.protobuf.ByteString value)
       Language code of the document content (e.g., "en", "es", "fr").
       
      optional string language = 10 [json_name = "language"];
      Parameters:
      value - The bytes for language to set.
      Returns:
      This builder for chaining.
    • hasAuthor

      public boolean hasAuthor()
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Specified by:
      hasAuthor in interface SearchMetadataOrBuilder
      Returns:
      Whether the author field is set.
    • getAuthor

      public String getAuthor()
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Specified by:
      getAuthor in interface SearchMetadataOrBuilder
      Returns:
      The author.
    • getAuthorBytes

      public com.google.protobuf.ByteString getAuthorBytes()
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Specified by:
      getAuthorBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for author.
    • setAuthor

      public SearchMetadata.Builder setAuthor(String value)
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Parameters:
      value - The author to set.
      Returns:
      This builder for chaining.
    • clearAuthor

      public SearchMetadata.Builder clearAuthor()
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Returns:
      This builder for chaining.
    • setAuthorBytes

      public SearchMetadata.Builder setAuthorBytes(com.google.protobuf.ByteString value)
       Document author or creator.
       
      optional string author = 11 [json_name = "author"];
      Parameters:
      value - The bytes for author to set.
      Returns:
      This builder for chaining.
    • hasCategory

      public boolean hasCategory()
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Specified by:
      hasCategory in interface SearchMetadataOrBuilder
      Returns:
      Whether the category field is set.
    • getCategory

      public String getCategory()
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Specified by:
      getCategory in interface SearchMetadataOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public com.google.protobuf.ByteString getCategoryBytes()
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Specified by:
      getCategoryBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for category.
    • setCategory

      public SearchMetadata.Builder setCategory(String value)
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public SearchMetadata.Builder clearCategory()
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Returns:
      This builder for chaining.
    • setCategoryBytes

      public SearchMetadata.Builder setCategoryBytes(com.google.protobuf.ByteString value)
       Category or classification label for the document.
       
      optional string category = 12 [json_name = "category"];
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.
    • hasTags

      public boolean hasTags()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
      Specified by:
      hasTags in interface SearchMetadataOrBuilder
      Returns:
      Whether the tags field is set.
    • getTags

      public Tags getTags()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
      Specified by:
      getTags in interface SearchMetadataOrBuilder
      Returns:
      The tags.
    • setTags

      public SearchMetadata.Builder setTags(Tags value)
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
    • setTags

      public SearchMetadata.Builder setTags(Tags.Builder builderForValue)
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
    • mergeTags

      public SearchMetadata.Builder mergeTags(Tags value)
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
    • clearTags

      public SearchMetadata.Builder clearTags()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
    • getTagsBuilder

      public Tags.Builder getTagsBuilder()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
    • getTagsOrBuilder

      public TagsOrBuilder getTagsOrBuilder()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13 [json_name = "tags"];
      Specified by:
      getTagsOrBuilder in interface SearchMetadataOrBuilder
    • hasContentLength

      public boolean hasContentLength()
       Length of the document content in bytes or characters.
       
      optional int32 content_length = 14 [json_name = "contentLength"];
      Specified by:
      hasContentLength in interface SearchMetadataOrBuilder
      Returns:
      Whether the contentLength field is set.
    • getContentLength

      public int getContentLength()
       Length of the document content in bytes or characters.
       
      optional int32 content_length = 14 [json_name = "contentLength"];
      Specified by:
      getContentLength in interface SearchMetadataOrBuilder
      Returns:
      The contentLength.
    • setContentLength

      public SearchMetadata.Builder setContentLength(int value)
       Length of the document content in bytes or characters.
       
      optional int32 content_length = 14 [json_name = "contentLength"];
      Parameters:
      value - The contentLength to set.
      Returns:
      This builder for chaining.
    • clearContentLength

      public SearchMetadata.Builder clearContentLength()
       Length of the document content in bytes or characters.
       
      optional int32 content_length = 14 [json_name = "contentLength"];
      Returns:
      This builder for chaining.
    • hasRelevanceScore

      public boolean hasRelevanceScore()
       Relevance score for search ranking purposes.
       
      optional double relevance_score = 15 [json_name = "relevanceScore"];
      Specified by:
      hasRelevanceScore in interface SearchMetadataOrBuilder
      Returns:
      Whether the relevanceScore field is set.
    • getRelevanceScore

      public double getRelevanceScore()
       Relevance score for search ranking purposes.
       
      optional double relevance_score = 15 [json_name = "relevanceScore"];
      Specified by:
      getRelevanceScore in interface SearchMetadataOrBuilder
      Returns:
      The relevanceScore.
    • setRelevanceScore

      public SearchMetadata.Builder setRelevanceScore(double value)
       Relevance score for search ranking purposes.
       
      optional double relevance_score = 15 [json_name = "relevanceScore"];
      Parameters:
      value - The relevanceScore to set.
      Returns:
      This builder for chaining.
    • clearRelevanceScore

      public SearchMetadata.Builder clearRelevanceScore()
       Relevance score for search ranking purposes.
       
      optional double relevance_score = 15 [json_name = "relevanceScore"];
      Returns:
      This builder for chaining.
    • hasCustomFields

      public boolean hasCustomFields()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
      Specified by:
      hasCustomFields in interface SearchMetadataOrBuilder
      Returns:
      Whether the customFields field is set.
    • getCustomFields

      public com.google.protobuf.Struct getCustomFields()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
      Specified by:
      getCustomFields in interface SearchMetadataOrBuilder
      Returns:
      The customFields.
    • setCustomFields

      public SearchMetadata.Builder setCustomFields(com.google.protobuf.Struct value)
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
    • setCustomFields

      public SearchMetadata.Builder setCustomFields(com.google.protobuf.Struct.Builder builderForValue)
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
    • mergeCustomFields

      public SearchMetadata.Builder mergeCustomFields(com.google.protobuf.Struct value)
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
    • clearCustomFields

      public SearchMetadata.Builder clearCustomFields()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
    • getCustomFieldsBuilder

      public com.google.protobuf.Struct.Builder getCustomFieldsBuilder()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
    • getCustomFieldsOrBuilder

      public com.google.protobuf.StructOrBuilder getCustomFieldsOrBuilder()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16 [json_name = "customFields"];
      Specified by:
      getCustomFieldsOrBuilder in interface SearchMetadataOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: SearchMetadataOrBuilder
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface SearchMetadataOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface SearchMetadataOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface SearchMetadataOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface SearchMetadataOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface SearchMetadataOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface SearchMetadataOrBuilder
    • clearMetadata

      public SearchMetadata.Builder clearMetadata()
    • removeMetadata

      public SearchMetadata.Builder removeMetadata(String key)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
    • getMutableMetadata

      @Deprecated public Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public SearchMetadata.Builder putMetadata(String key, String value)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
    • putAllMetadata

      public SearchMetadata.Builder putAllMetadata(Map<String,String> values)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17 [json_name = "metadata"];
    • getSemanticResultsList

      public List<SemanticProcessingResult> getSemanticResultsList()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
      Specified by:
      getSemanticResultsList in interface SearchMetadataOrBuilder
    • getSemanticResultsCount

      public int getSemanticResultsCount()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
      Specified by:
      getSemanticResultsCount in interface SearchMetadataOrBuilder
    • getSemanticResults

      public SemanticProcessingResult getSemanticResults(int index)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
      Specified by:
      getSemanticResults in interface SearchMetadataOrBuilder
    • setSemanticResults

      public SearchMetadata.Builder setSemanticResults(int index, SemanticProcessingResult value)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • setSemanticResults

      public SearchMetadata.Builder setSemanticResults(int index, SemanticProcessingResult.Builder builderForValue)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addSemanticResults

      public SearchMetadata.Builder addSemanticResults(SemanticProcessingResult value)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addSemanticResults

      public SearchMetadata.Builder addSemanticResults(int index, SemanticProcessingResult value)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addSemanticResults

      public SearchMetadata.Builder addSemanticResults(SemanticProcessingResult.Builder builderForValue)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addSemanticResults

      public SearchMetadata.Builder addSemanticResults(int index, SemanticProcessingResult.Builder builderForValue)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addAllSemanticResults

      public SearchMetadata.Builder addAllSemanticResults(Iterable<? extends SemanticProcessingResult> values)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • clearSemanticResults

      public SearchMetadata.Builder clearSemanticResults()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • removeSemanticResults

      public SearchMetadata.Builder removeSemanticResults(int index)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • getSemanticResultsBuilder

      public SemanticProcessingResult.Builder getSemanticResultsBuilder(int index)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • getSemanticResultsOrBuilder

      public SemanticProcessingResultOrBuilder getSemanticResultsOrBuilder(int index)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
      Specified by:
      getSemanticResultsOrBuilder in interface SearchMetadataOrBuilder
    • getSemanticResultsOrBuilderList

      public List<? extends SemanticProcessingResultOrBuilder> getSemanticResultsOrBuilderList()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
      Specified by:
      getSemanticResultsOrBuilderList in interface SearchMetadataOrBuilder
    • addSemanticResultsBuilder

      public SemanticProcessingResult.Builder addSemanticResultsBuilder()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • addSemanticResultsBuilder

      public SemanticProcessingResult.Builder addSemanticResultsBuilder(int index)
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • getSemanticResultsBuilderList

      public List<SemanticProcessingResult.Builder> getSemanticResultsBuilderList()
       Results from semantic chunking and embedding processes.
      
       Supports multiple processing configurations applied to the same document.
       
      repeated .ai.pipestream.data.v1.SemanticProcessingResult semantic_results = 18 [json_name = "semanticResults"];
    • hasDoi

      public boolean hasDoi()
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Specified by:
      hasDoi in interface SearchMetadataOrBuilder
      Returns:
      Whether the doi field is set.
    • getDoi

      public String getDoi()
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Specified by:
      getDoi in interface SearchMetadataOrBuilder
      Returns:
      The doi.
    • getDoiBytes

      public com.google.protobuf.ByteString getDoiBytes()
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Specified by:
      getDoiBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for doi.
    • setDoi

      public SearchMetadata.Builder setDoi(String value)
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Parameters:
      value - The doi to set.
      Returns:
      This builder for chaining.
    • clearDoi

      public SearchMetadata.Builder clearDoi()
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Returns:
      This builder for chaining.
    • setDoiBytes

      public SearchMetadata.Builder setDoiBytes(com.google.protobuf.ByteString value)
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19 [json_name = "doi"];
      Parameters:
      value - The bytes for doi to set.
      Returns:
      This builder for chaining.
    • hasDocOutline

      public boolean hasDocOutline()
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
      Specified by:
      hasDocOutline in interface SearchMetadataOrBuilder
      Returns:
      Whether the docOutline field is set.
    • getDocOutline

      public DocOutline getDocOutline()
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
      Specified by:
      getDocOutline in interface SearchMetadataOrBuilder
      Returns:
      The docOutline.
    • setDocOutline

      public SearchMetadata.Builder setDocOutline(DocOutline value)
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
    • setDocOutline

      public SearchMetadata.Builder setDocOutline(DocOutline.Builder builderForValue)
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
    • mergeDocOutline

      public SearchMetadata.Builder mergeDocOutline(DocOutline value)
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
    • clearDocOutline

      public SearchMetadata.Builder clearDocOutline()
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
    • getDocOutlineBuilder

      public DocOutline.Builder getDocOutlineBuilder()
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
    • getDocOutlineOrBuilder

      public DocOutlineOrBuilder getDocOutlineOrBuilder()
       Neutral document outline for navigation and chunking.
      
       Supports EPUB TOC, HTML headings, Markdown headings, LaTeX sections, PDF outlines, etc.
       
      optional .ai.pipestream.data.v1.DocOutline doc_outline = 20 [json_name = "docOutline"];
      Specified by:
      getDocOutlineOrBuilder in interface SearchMetadataOrBuilder
    • getDiscoveredLinksList

      public List<LinkReference> getDiscoveredLinksList()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
      Specified by:
      getDiscoveredLinksList in interface SearchMetadataOrBuilder
    • getDiscoveredLinksCount

      public int getDiscoveredLinksCount()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
      Specified by:
      getDiscoveredLinksCount in interface SearchMetadataOrBuilder
    • getDiscoveredLinks

      public LinkReference getDiscoveredLinks(int index)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
      Specified by:
      getDiscoveredLinks in interface SearchMetadataOrBuilder
    • setDiscoveredLinks

      public SearchMetadata.Builder setDiscoveredLinks(int index, LinkReference value)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • setDiscoveredLinks

      public SearchMetadata.Builder setDiscoveredLinks(int index, LinkReference.Builder builderForValue)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addDiscoveredLinks

      public SearchMetadata.Builder addDiscoveredLinks(LinkReference value)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addDiscoveredLinks

      public SearchMetadata.Builder addDiscoveredLinks(int index, LinkReference value)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addDiscoveredLinks

      public SearchMetadata.Builder addDiscoveredLinks(LinkReference.Builder builderForValue)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addDiscoveredLinks

      public SearchMetadata.Builder addDiscoveredLinks(int index, LinkReference.Builder builderForValue)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addAllDiscoveredLinks

      public SearchMetadata.Builder addAllDiscoveredLinks(Iterable<? extends LinkReference> values)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • clearDiscoveredLinks

      public SearchMetadata.Builder clearDiscoveredLinks()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • removeDiscoveredLinks

      public SearchMetadata.Builder removeDiscoveredLinks(int index)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • getDiscoveredLinksBuilder

      public LinkReference.Builder getDiscoveredLinksBuilder(int index)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • getDiscoveredLinksOrBuilder

      public LinkReferenceOrBuilder getDiscoveredLinksOrBuilder(int index)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
      Specified by:
      getDiscoveredLinksOrBuilder in interface SearchMetadataOrBuilder
    • getDiscoveredLinksOrBuilderList

      public List<? extends LinkReferenceOrBuilder> getDiscoveredLinksOrBuilderList()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
      Specified by:
      getDiscoveredLinksOrBuilderList in interface SearchMetadataOrBuilder
    • addDiscoveredLinksBuilder

      public LinkReference.Builder addDiscoveredLinksBuilder()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • addDiscoveredLinksBuilder

      public LinkReference.Builder addDiscoveredLinksBuilder(int index)
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • getDiscoveredLinksBuilderList

      public List<LinkReference.Builder> getDiscoveredLinksBuilderList()
       Links discovered within the document.
      
       Useful for analyzing document relationships and external references.
       
      repeated .ai.pipestream.data.v1.LinkReference discovered_links = 21 [json_name = "discoveredLinks"];
    • hasSourcePath

      public boolean hasSourcePath()
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Specified by:
      hasSourcePath in interface SearchMetadataOrBuilder
      Returns:
      Whether the sourcePath field is set.
    • getSourcePath

      public String getSourcePath()
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Specified by:
      getSourcePath in interface SearchMetadataOrBuilder
      Returns:
      The sourcePath.
    • getSourcePathBytes

      public com.google.protobuf.ByteString getSourcePathBytes()
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Specified by:
      getSourcePathBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourcePath.
    • setSourcePath

      public SearchMetadata.Builder setSourcePath(String value)
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Parameters:
      value - The sourcePath to set.
      Returns:
      This builder for chaining.
    • clearSourcePath

      public SearchMetadata.Builder clearSourcePath()
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Returns:
      This builder for chaining.
    • setSourcePathBytes

      public SearchMetadata.Builder setSourcePathBytes(com.google.protobuf.ByteString value)
       Path portion of source_uri for categorization.
      
       Example: "/docs/legal/NY/file.pdf" from "https://example.com/docs/legal/NY/file.pdf"
       
      optional string source_path = 22 [json_name = "sourcePath"];
      Parameters:
      value - The bytes for sourcePath to set.
      Returns:
      This builder for chaining.
    • getSourcePathSegmentsList

      public com.google.protobuf.ProtocolStringList getSourcePathSegmentsList()
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Specified by:
      getSourcePathSegmentsList in interface SearchMetadataOrBuilder
      Returns:
      A list containing the sourcePathSegments.
    • getSourcePathSegmentsCount

      public int getSourcePathSegmentsCount()
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Specified by:
      getSourcePathSegmentsCount in interface SearchMetadataOrBuilder
      Returns:
      The count of sourcePathSegments.
    • getSourcePathSegments

      public String getSourcePathSegments(int index)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Specified by:
      getSourcePathSegments in interface SearchMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourcePathSegments at the given index.
    • getSourcePathSegmentsBytes

      public com.google.protobuf.ByteString getSourcePathSegmentsBytes(int index)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Specified by:
      getSourcePathSegmentsBytes in interface SearchMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourcePathSegments at the given index.
    • setSourcePathSegments

      public SearchMetadata.Builder setSourcePathSegments(int index, String value)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Parameters:
      index - The index to set the value at.
      value - The sourcePathSegments to set.
      Returns:
      This builder for chaining.
    • addSourcePathSegments

      public SearchMetadata.Builder addSourcePathSegments(String value)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Parameters:
      value - The sourcePathSegments to add.
      Returns:
      This builder for chaining.
    • addAllSourcePathSegments

      public SearchMetadata.Builder addAllSourcePathSegments(Iterable<String> values)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Parameters:
      values - The sourcePathSegments to add.
      Returns:
      This builder for chaining.
    • clearSourcePathSegments

      public SearchMetadata.Builder clearSourcePathSegments()
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Returns:
      This builder for chaining.
    • addSourcePathSegmentsBytes

      public SearchMetadata.Builder addSourcePathSegmentsBytes(com.google.protobuf.ByteString value)
       Split path segments from source_path.
      
       Example: ["docs", "legal", "NY", "file.pdf"]
       
      repeated string source_path_segments = 23 [json_name = "sourcePathSegments"];
      Parameters:
      value - The bytes of the sourcePathSegments to add.
      Returns:
      This builder for chaining.
    • hasSourceSlug

      public boolean hasSourceSlug()
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Specified by:
      hasSourceSlug in interface SearchMetadataOrBuilder
      Returns:
      Whether the sourceSlug field is set.
    • getSourceSlug

      public String getSourceSlug()
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Specified by:
      getSourceSlug in interface SearchMetadataOrBuilder
      Returns:
      The sourceSlug.
    • getSourceSlugBytes

      public com.google.protobuf.ByteString getSourceSlugBytes()
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Specified by:
      getSourceSlugBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceSlug.
    • setSourceSlug

      public SearchMetadata.Builder setSourceSlug(String value)
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Parameters:
      value - The sourceSlug to set.
      Returns:
      This builder for chaining.
    • clearSourceSlug

      public SearchMetadata.Builder clearSourceSlug()
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Returns:
      This builder for chaining.
    • setSourceSlugBytes

      public SearchMetadata.Builder setSourceSlugBytes(com.google.protobuf.ByteString value)
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24 [json_name = "sourceSlug"];
      Parameters:
      value - The bytes for sourceSlug to set.
      Returns:
      This builder for chaining.