Interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder (0.50.0)

public static interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDynamicRetrievalMetadata()

public abstract GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata getDynamicRetrievalMetadata()

Metadata for dynamic retrieval.

.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata

The dynamicRetrievalMetadata.

getDynamicRetrievalMetadataOrBuilder()

public abstract GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadataOrBuilder getDynamicRetrievalMetadataOrBuilder()

Metadata for dynamic retrieval.

.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadataOrBuilder

getSource()

public abstract GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source getSource()

Describes the source to which the metadata is referring to.

.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;

Returns
Type Description
GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source

The source.

getSourceValue()

public abstract int getSourceValue()

Describes the source to which the metadata is referring to.

.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;

Returns
Type Description
int

The enum numeric value on the wire for source.

hasDynamicRetrievalMetadata()

public abstract boolean hasDynamicRetrievalMetadata()

Metadata for dynamic retrieval.

.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;

Returns
Type Description
boolean

Whether the dynamicRetrievalMetadata field is set.