Interface GroundingAttributionOrBuilder (3.41.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
TypeDescription
float

The confidenceScore.

getReferenceCase()

public abstract GroundingAttribution.ReferenceCase getReferenceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the web field is set.