public static interface GenerateGroundedContentResponse.CandidateOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
GroundedGenerationContent |
getContent()
Content of the candidate.
|
GroundedGenerationContentOrBuilder |
getContentOrBuilder()
Content of the candidate.
|
GenerateGroundedContentResponse.Candidate.GroundingMetadata |
getGroundingMetadata()
Grounding metadata for the generated content.
|
GenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder |
getGroundingMetadataOrBuilder()
Grounding metadata for the generated content.
|
float |
getGroundingScore()
The overall grounding score for the candidate, in the range of [0, 1].
|
int |
getIndex()
Index of the candidate.
|
boolean |
hasContent()
Content of the candidate.
|
boolean |
hasGroundingMetadata()
Grounding metadata for the generated content.
|
boolean |
hasGroundingScore()
The overall grounding score for the candidate, in the range of [0, 1].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getIndex()
Index of the candidate.
int32 index = 1;boolean hasContent()
Content of the candidate.
.google.cloud.discoveryengine.v1beta.GroundedGenerationContent content = 2;GroundedGenerationContent getContent()
Content of the candidate.
.google.cloud.discoveryengine.v1beta.GroundedGenerationContent content = 2;GroundedGenerationContentOrBuilder getContentOrBuilder()
Content of the candidate.
.google.cloud.discoveryengine.v1beta.GroundedGenerationContent content = 2;boolean hasGroundingScore()
The overall grounding score for the candidate, in the range of [0, 1].
optional float grounding_score = 3;float getGroundingScore()
The overall grounding score for the candidate, in the range of [0, 1].
optional float grounding_score = 3;boolean hasGroundingMetadata()
Grounding metadata for the generated content.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata grounding_metadata = 4;
GenerateGroundedContentResponse.Candidate.GroundingMetadata getGroundingMetadata()
Grounding metadata for the generated content.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata grounding_metadata = 4;
GenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder getGroundingMetadataOrBuilder()
Grounding metadata for the generated content.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata grounding_metadata = 4;
Copyright © 2025 Google LLC. All rights reserved.