Class SearchMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.SearchMetadata
All Implemented Interfaces:
SearchMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SearchMetadata extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • BODY_FIELD_NUMBER

      public static final int BODY_FIELD_NUMBER
      See Also:
    • KEYWORDS_FIELD_NUMBER

      public static final int KEYWORDS_FIELD_NUMBER
      See Also:
    • DOCUMENT_TYPE_FIELD_NUMBER

      public static final int DOCUMENT_TYPE_FIELD_NUMBER
      See Also:
    • SOURCE_URI_FIELD_NUMBER

      public static final int SOURCE_URI_FIELD_NUMBER
      See Also:
    • SOURCE_MIME_TYPE_FIELD_NUMBER

      public static final int SOURCE_MIME_TYPE_FIELD_NUMBER
      See Also:
    • CREATION_DATE_FIELD_NUMBER

      public static final int CREATION_DATE_FIELD_NUMBER
      See Also:
    • LAST_MODIFIED_DATE_FIELD_NUMBER

      public static final int LAST_MODIFIED_DATE_FIELD_NUMBER
      See Also:
    • PROCESSED_DATE_FIELD_NUMBER

      public static final int PROCESSED_DATE_FIELD_NUMBER
      See Also:
    • LANGUAGE_FIELD_NUMBER

      public static final int LANGUAGE_FIELD_NUMBER
      See Also:
    • AUTHOR_FIELD_NUMBER

      public static final int AUTHOR_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • TAGS_FIELD_NUMBER

      public static final int TAGS_FIELD_NUMBER
      See Also:
    • CONTENT_LENGTH_FIELD_NUMBER

      public static final int CONTENT_LENGTH_FIELD_NUMBER
      See Also:
    • RELEVANCE_SCORE_FIELD_NUMBER

      public static final int RELEVANCE_SCORE_FIELD_NUMBER
      See Also:
    • CUSTOM_FIELDS_FIELD_NUMBER

      public static final int CUSTOM_FIELDS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • SEMANTIC_RESULTS_FIELD_NUMBER

      public static final int SEMANTIC_RESULTS_FIELD_NUMBER
      See Also:
    • DOI_FIELD_NUMBER

      public static final int DOI_FIELD_NUMBER
      See Also:
    • DOC_OUTLINE_FIELD_NUMBER

      public static final int DOC_OUTLINE_FIELD_NUMBER
      See Also:
    • SOURCE_PATH_FIELD_NUMBER

      public static final int SOURCE_PATH_FIELD_NUMBER
      See Also:
    • SOURCE_PATH_SEGMENTS_FIELD_NUMBER

      public static final int SOURCE_PATH_SEGMENTS_FIELD_NUMBER
      See Also:
    • SOURCE_SLUG_FIELD_NUMBER

      public static final int SOURCE_SLUG_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasTitle

      public boolean hasTitle()
       Document title or heading.
       
      optional string title = 1;
      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;
      Specified by:
      getTitle in interface SearchMetadataOrBuilder
      Returns:
      The title.
    • getTitleBytes

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

      public boolean hasBody()
       Full text content of the document.
       
      optional string body = 2;
      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;
      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;
      Specified by:
      getBodyBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for body.
    • hasKeywords

      public boolean hasKeywords()
       Extracted keywords for search and categorization.
       
      optional .ai.pipestream.data.v1.Keywords keywords = 3;
      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;
      Specified by:
      getKeywords in interface SearchMetadataOrBuilder
      Returns:
      The keywords.
    • getKeywordsOrBuilder

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

      public boolean hasDocumentType()
       Document type classification (e.g., "PDF", "HTML", "DOCX").
       
      optional string document_type = 4;
      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;
      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;
      Specified by:
      getDocumentTypeBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for documentType.
    • hasSourceUri

      public boolean hasSourceUri()
       Original source URI where the document was obtained.
       
      optional string source_uri = 5;
      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;
      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;
      Specified by:
      getSourceUriBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceUri.
    • hasSourceMimeType

      public boolean hasSourceMimeType()
       MIME type of the source document.
       
      optional string source_mime_type = 6;
      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;
      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;
      Specified by:
      getSourceMimeTypeBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceMimeType.
    • hasCreationDate

      public boolean hasCreationDate()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7;
      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;
      Specified by:
      getCreationDate in interface SearchMetadataOrBuilder
      Returns:
      The creationDate.
    • getCreationDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreationDateOrBuilder()
       Timestamp when the document was originally created.
       
      optional .google.protobuf.Timestamp creation_date = 7;
      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;
      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;
      Specified by:
      getLastModifiedDate in interface SearchMetadataOrBuilder
      Returns:
      The 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;
      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;
      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;
      Specified by:
      getProcessedDate in interface SearchMetadataOrBuilder
      Returns:
      The processedDate.
    • getProcessedDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getProcessedDateOrBuilder()
       Timestamp when the document was processed by the pipeline.
       
      optional .google.protobuf.Timestamp processed_date = 9;
      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;
      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;
      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;
      Specified by:
      getLanguageBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for language.
    • hasAuthor

      public boolean hasAuthor()
       Document author or creator.
       
      optional string author = 11;
      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;
      Specified by:
      getAuthor in interface SearchMetadataOrBuilder
      Returns:
      The author.
    • getAuthorBytes

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

      public boolean hasCategory()
       Category or classification label for the document.
       
      optional string category = 12;
      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;
      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;
      Specified by:
      getCategoryBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for category.
    • hasTags

      public boolean hasTags()
       Key-value tags for flexible categorization.
       
      optional .ai.pipestream.data.v1.Tags tags = 13;
      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;
      Specified by:
      getTags in interface SearchMetadataOrBuilder
      Returns:
      The tags.
    • getTagsOrBuilder

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

      public boolean hasContentLength()
       Length of the document content in bytes or characters.
       
      optional int32 content_length = 14;
      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;
      Specified by:
      getContentLength in interface SearchMetadataOrBuilder
      Returns:
      The contentLength.
    • hasRelevanceScore

      public boolean hasRelevanceScore()
       Relevance score for search ranking purposes.
       
      optional double relevance_score = 15;
      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;
      Specified by:
      getRelevanceScore in interface SearchMetadataOrBuilder
      Returns:
      The relevanceScore.
    • hasCustomFields

      public boolean hasCustomFields()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16;
      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;
      Specified by:
      getCustomFields in interface SearchMetadataOrBuilder
      Returns:
      The customFields.
    • getCustomFieldsOrBuilder

      public com.google.protobuf.StructOrBuilder getCustomFieldsOrBuilder()
       Additional custom fields not covered by standard schema.
       
      optional .google.protobuf.Struct custom_fields = 16;
      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;
      Specified by:
      getMetadataCount in interface SearchMetadataOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17;
      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;
      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;
      Specified by:
      getMetadataOrDefault in interface SearchMetadataOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Generic key-value metadata for extensibility.
       
      map<string, string> metadata = 17;
      Specified by:
      getMetadataOrThrow in interface SearchMetadataOrBuilder
    • 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;
      Specified by:
      getSemanticResultsList 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;
      Specified by:
      getSemanticResultsOrBuilderList 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;
      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;
      Specified by:
      getSemanticResults in interface SearchMetadataOrBuilder
    • 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;
      Specified by:
      getSemanticResultsOrBuilder in interface SearchMetadataOrBuilder
    • hasDoi

      public boolean hasDoi()
       Digital Object Identifier for academic papers and publications.
       
      optional string doi = 19;
      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;
      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;
      Specified by:
      getDoiBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for doi.
    • 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;
      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;
      Specified by:
      getDocOutline in interface SearchMetadataOrBuilder
      Returns:
      The 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;
      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;
      Specified by:
      getDiscoveredLinksList 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;
      Specified by:
      getDiscoveredLinksOrBuilderList 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;
      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;
      Specified by:
      getDiscoveredLinks in interface SearchMetadataOrBuilder
    • 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;
      Specified by:
      getDiscoveredLinksOrBuilder in interface SearchMetadataOrBuilder
    • 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;
      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;
      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;
      Specified by:
      getSourcePathBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourcePath.
    • 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;
      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;
      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;
      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;
      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.
    • hasSourceSlug

      public boolean hasSourceSlug()
       Last segment of source_path.
      
       Example: "file.pdf" from "/docs/legal/NY/file.pdf"
       
      optional string source_slug = 24;
      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;
      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;
      Specified by:
      getSourceSlugBytes in interface SearchMetadataOrBuilder
      Returns:
      The bytes for sourceSlug.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SearchMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static SearchMetadata.Builder newBuilder()
    • newBuilder

      public static SearchMetadata.Builder newBuilder(SearchMetadata prototype)
    • toBuilder

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

      protected SearchMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SearchMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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