Interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder (0.66.0)

public static interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract String getDocument()

Document resource name.

optional string document = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The document.

getDocumentBytes()

public abstract ByteString getDocumentBytes()

Document resource name.

optional string document = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for document.

getDomain()

public abstract 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
Type Description
String

The domain.

getDomainBytes()

public abstract 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
Type Description
ByteString

The bytes for domain.

getPageIdentifier()

public abstract String getPageIdentifier()

Page identifier.

optional string page_identifier = 4;

Returns
Type Description
String

The pageIdentifier.

getPageIdentifierBytes()

public abstract ByteString getPageIdentifierBytes()

Page identifier.

optional string page_identifier = 4;

Returns
Type Description
ByteString

The bytes for pageIdentifier.

getTitle()

public abstract String getTitle()

Title.

optional string title = 3;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title.

optional string title = 3;

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

URI for the document. It may contain a URL that redirects to the actual website.

optional string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI for the document. It may contain a URL that redirects to the actual website.

optional string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasDocument()

public abstract boolean hasDocument()

Document resource name.

optional string document = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the document field is set.

hasDomain()

public abstract 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
Type Description
boolean

Whether the domain field is set.

hasPageIdentifier()

public abstract boolean hasPageIdentifier()

Page identifier.

optional string page_identifier = 4;

Returns
Type Description
boolean

Whether the pageIdentifier field is set.

hasTitle()

public abstract boolean hasTitle()

Title.

optional string title = 3;

Returns
Type Description
boolean

Whether the title field is set.

hasUri()

public abstract boolean hasUri()

URI for the document. It may contain a URL that redirects to the actual website.

optional string uri = 2;

Returns
Type Description
boolean

Whether the uri field is set.