Interface AssistantGroundedContentOrBuilder (0.66.0)

public interface AssistantGroundedContentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract AssistantContent getContent()

The content.

.google.cloud.discoveryengine.v1.AssistantContent content = 1;

Returns
Type Description
AssistantContent

The content.

getContentOrBuilder()

public abstract AssistantContentOrBuilder getContentOrBuilder()

The content.

.google.cloud.discoveryengine.v1.AssistantContent content = 1;

Returns
Type Description
AssistantContentOrBuilder

getMetadataCase()

public abstract AssistantGroundedContent.MetadataCase getMetadataCase()
Returns
Type Description
AssistantGroundedContent.MetadataCase

getTextGroundingMetadata()

public abstract AssistantGroundedContent.TextGroundingMetadata getTextGroundingMetadata()

Metadata for grounding based on text sources.

.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;

Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata

The textGroundingMetadata.

getTextGroundingMetadataOrBuilder()

public abstract AssistantGroundedContent.TextGroundingMetadataOrBuilder getTextGroundingMetadataOrBuilder()

Metadata for grounding based on text sources.

.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;

Returns
Type Description
AssistantGroundedContent.TextGroundingMetadataOrBuilder

hasContent()

public abstract boolean hasContent()

The content.

.google.cloud.discoveryengine.v1.AssistantContent content = 1;

Returns
Type Description
boolean

Whether the content field is set.

hasTextGroundingMetadata()

public abstract boolean hasTextGroundingMetadata()

Metadata for grounding based on text sources.

.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;

Returns
Type Description
boolean

Whether the textGroundingMetadata field is set.