Interface GroundingAttributionOrBuilder (3.42.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.aiplatform.v1beta1.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.aiplatform.v1beta1.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.aiplatform.v1beta1.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.aiplatform.v1beta1.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.aiplatform.v1beta1.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.aiplatform.v1beta1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the web field is set.