Interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata, AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder
Enclosing class:
AssistantGroundedContent.TextGroundingMetadata.Reference

public static interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Document resource name.
    com.google.protobuf.ByteString
    Document resource name.
    Domain name from the document URI.
    com.google.protobuf.ByteString
    Domain name from the document URI.
    Page identifier.
    com.google.protobuf.ByteString
    Page identifier.
    Title.
    com.google.protobuf.ByteString
    Title.
    URI for the document.
    com.google.protobuf.ByteString
    URI for the document.
    boolean
    Document resource name.
    boolean
    Domain name from the document URI.
    boolean
    Page identifier.
    boolean
    Title.
    boolean
    URI for the document.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasDocument

      boolean hasDocument()
       Document resource name.
       
      optional string document = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the document field is set.
    • getDocument

      String getDocument()
       Document resource name.
       
      optional string document = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The document.
    • getDocumentBytes

      com.google.protobuf.ByteString getDocumentBytes()
       Document resource name.
       
      optional string document = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for document.
    • hasUri

      boolean hasUri()
       URI for the document. It may contain a URL that redirects to the
       actual website.
       
      optional string uri = 2;
      Returns:
      Whether the uri field is set.
    • getUri

      String getUri()
       URI for the document. It may contain a URL that redirects to the
       actual website.
       
      optional string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       URI for the document. It may contain a URL that redirects to the
       actual website.
       
      optional string uri = 2;
      Returns:
      The bytes for uri.
    • hasTitle

      boolean hasTitle()
       Title.
       
      optional string title = 3;
      Returns:
      Whether the title field is set.
    • getTitle

      String getTitle()
       Title.
       
      optional string title = 3;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Title.
       
      optional string title = 3;
      Returns:
      The bytes for title.
    • hasPageIdentifier

      boolean hasPageIdentifier()
       Page identifier.
       
      optional string page_identifier = 4;
      Returns:
      Whether the pageIdentifier field is set.
    • getPageIdentifier

      String getPageIdentifier()
       Page identifier.
       
      optional string page_identifier = 4;
      Returns:
      The pageIdentifier.
    • getPageIdentifierBytes

      com.google.protobuf.ByteString getPageIdentifierBytes()
       Page identifier.
       
      optional string page_identifier = 4;
      Returns:
      The bytes for pageIdentifier.
    • hasDomain

      boolean hasDomain()
       Domain name from the document URI. Note that the `uri` field may
       contain a URL that redirects to the actual website, in which case
       this will contain the domain name of the target site.
       
      optional string domain = 5;
      Returns:
      Whether the domain field is set.
    • getDomain

      String getDomain()
       Domain name from the document URI. Note that the `uri` field may
       contain a URL that redirects to the actual website, in which case
       this will contain the domain name of the target site.
       
      optional string domain = 5;
      Returns:
      The domain.
    • getDomainBytes

      com.google.protobuf.ByteString getDomainBytes()
       Domain name from the document URI. Note that the `uri` field may
       contain a URL that redirects to the actual website, in which case
       this will contain the domain name of the target site.
       
      optional string domain = 5;
      Returns:
      The bytes for domain.