Interface AssistantGroundedContent.TextGroundingMetadataOrBuilder (0.66.0)

public static interface AssistantGroundedContent.TextGroundingMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReferences(int index)

public abstract AssistantGroundedContent.TextGroundingMetadata.Reference getReferences(int index)

References for the grounded text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2;

Parameter
Name Description
index int
Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata.Reference

getReferencesCount()

public abstract int getReferencesCount()

References for the grounded text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2;

Returns
Type Description
int

getReferencesList()

public abstract List<AssistantGroundedContent.TextGroundingMetadata.Reference> getReferencesList()

References for the grounded text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2;

Returns
Type Description
List<Reference>

getReferencesOrBuilder(int index)

public abstract AssistantGroundedContent.TextGroundingMetadata.ReferenceOrBuilder getReferencesOrBuilder(int index)

References for the grounded text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2;

Parameter
Name Description
index int
Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata.ReferenceOrBuilder

getReferencesOrBuilderList()

public abstract List<? extends AssistantGroundedContent.TextGroundingMetadata.ReferenceOrBuilder> getReferencesOrBuilderList()

References for the grounded text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.ReferenceOrBuilder>

getSegments(int index)

public abstract AssistantGroundedContent.TextGroundingMetadata.Segment getSegments(int index)

Grounding information for parts of the text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4;

Parameter
Name Description
index int
Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata.Segment

getSegmentsCount()

public abstract int getSegmentsCount()

Grounding information for parts of the text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4;

Returns
Type Description
int

getSegmentsList()

public abstract List<AssistantGroundedContent.TextGroundingMetadata.Segment> getSegmentsList()

Grounding information for parts of the text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4;

Returns
Type Description
List<Segment>

getSegmentsOrBuilder(int index)

public abstract AssistantGroundedContent.TextGroundingMetadata.SegmentOrBuilder getSegmentsOrBuilder(int index)

Grounding information for parts of the text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4;

Parameter
Name Description
index int
Returns
Type Description
AssistantGroundedContent.TextGroundingMetadata.SegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends AssistantGroundedContent.TextGroundingMetadata.SegmentOrBuilder> getSegmentsOrBuilderList()

Grounding information for parts of the text.

repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.SegmentOrBuilder>