Interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder (0.90.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.

getLanguage()

public abstract AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Language getLanguage()

.google.cloud.discoveryengine.v1beta.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Language language = 8;

Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Language

The language.

getLanguageValue()

public abstract int getLanguageValue()

.google.cloud.discoveryengine.v1beta.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Language language = 8;

Returns
Type Description
int

The enum numeric value on the wire for language.

getMimeType()

public abstract String getMimeType()

The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.

optional string mime_type = 7;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.

optional string mime_type = 7;

Returns
Type Description
ByteString

The bytes for mimeType.

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.

hasMimeType()

public abstract boolean hasMimeType()

The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.

optional string mime_type = 7;

Returns
Type Description
boolean

Whether the mimeType 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.