Interface GroundingAttributionOrBuilder (1.1.0)

public interface GroundingAttributionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceScore()

public abstract float getConfidenceScore()

Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.

optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The confidenceScore.

getReferenceCase()

public abstract GroundingAttribution.ReferenceCase getReferenceCase()
Returns
Type Description
GroundingAttribution.ReferenceCase

getSegment()

public abstract Segment getSegment()

Output only. Segment of the content this attribution belongs to.

.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Segment

The segment.

getSegmentOrBuilder()

public abstract SegmentOrBuilder getSegmentOrBuilder()

Output only. Segment of the content this attribution belongs to.

.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SegmentOrBuilder

getWeb()

public abstract GroundingAttribution.Web getWeb()

Optional. Attribution from the web.

.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingAttribution.Web

The web.

getWebOrBuilder()

public abstract GroundingAttribution.WebOrBuilder getWebOrBuilder()

Optional. Attribution from the web.

.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingAttribution.WebOrBuilder

hasConfidenceScore()

public abstract boolean hasConfidenceScore()

Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.

optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the confidenceScore field is set.

hasSegment()

public abstract boolean hasSegment()

Output only. Segment of the content this attribution belongs to.

.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the segment field is set.

hasWeb()

public abstract boolean hasWeb()

Optional. Attribution from the web.

.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the web field is set.