Class EvaluateInstancesResponse.Builder (3.53.0)

public static final class EvaluateInstancesResponse.Builder extends GeneratedMessageV3.Builder<EvaluateInstancesResponse.Builder> implements EvaluateInstancesResponseOrBuilder

Response message for EvaluationService.EvaluateInstances.

Protobuf type google.cloud.aiplatform.v1.EvaluateInstancesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluateInstancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

build()

public EvaluateInstancesResponse build()
Returns
Type Description
EvaluateInstancesResponse

buildPartial()

public EvaluateInstancesResponse buildPartial()
Returns
Type Description
EvaluateInstancesResponse

clear()

public EvaluateInstancesResponse.Builder clear()
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

clearBleuResults()

public EvaluateInstancesResponse.Builder clearBleuResults()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearCoherenceResult()

public EvaluateInstancesResponse.Builder clearCoherenceResult()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearEvaluationResults()

public EvaluateInstancesResponse.Builder clearEvaluationResults()
Returns
Type Description
EvaluateInstancesResponse.Builder

clearExactMatchResults()

public EvaluateInstancesResponse.Builder clearExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluateInstancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

clearFluencyResult()

public EvaluateInstancesResponse.Builder clearFluencyResult()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearFulfillmentResult()

public EvaluateInstancesResponse.Builder clearFulfillmentResult()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearGroundednessResult()

public EvaluateInstancesResponse.Builder clearGroundednessResult()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluateInstancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

clearPairwiseMetricResult()

public EvaluateInstancesResponse.Builder clearPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearPairwiseQuestionAnsweringQualityResult()

public EvaluateInstancesResponse.Builder clearPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearPairwiseSummarizationQualityResult()

public EvaluateInstancesResponse.Builder clearPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearPointwiseMetricResult()

public EvaluateInstancesResponse.Builder clearPointwiseMetricResult()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearQuestionAnsweringCorrectnessResult()

public EvaluateInstancesResponse.Builder clearQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearQuestionAnsweringHelpfulnessResult()

public EvaluateInstancesResponse.Builder clearQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearQuestionAnsweringQualityResult()

public EvaluateInstancesResponse.Builder clearQuestionAnsweringQualityResult()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearQuestionAnsweringRelevanceResult()

public EvaluateInstancesResponse.Builder clearQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearRougeResults()

public EvaluateInstancesResponse.Builder clearRougeResults()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearSafetyResult()

public EvaluateInstancesResponse.Builder clearSafetyResult()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearSummarizationHelpfulnessResult()

public EvaluateInstancesResponse.Builder clearSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearSummarizationQualityResult()

public EvaluateInstancesResponse.Builder clearSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearSummarizationVerbosityResult()

public EvaluateInstancesResponse.Builder clearSummarizationVerbosityResult()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearToolCallValidResults()

public EvaluateInstancesResponse.Builder clearToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearToolNameMatchResults()

public EvaluateInstancesResponse.Builder clearToolNameMatchResults()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearToolParameterKeyMatchResults()

public EvaluateInstancesResponse.Builder clearToolParameterKeyMatchResults()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
EvaluateInstancesResponse.Builder

clearToolParameterKvMatchResults()

public EvaluateInstancesResponse.Builder clearToolParameterKvMatchResults()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
EvaluateInstancesResponse.Builder

clone()

public EvaluateInstancesResponse.Builder clone()
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

getBleuResults()

public BleuResults getBleuResults()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
BleuResults

The bleuResults.

getBleuResultsBuilder()

public BleuResults.Builder getBleuResultsBuilder()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
BleuResults.Builder

getBleuResultsOrBuilder()

public BleuResultsOrBuilder getBleuResultsOrBuilder()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
BleuResultsOrBuilder

getCoherenceResult()

public CoherenceResult getCoherenceResult()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
CoherenceResult

The coherenceResult.

getCoherenceResultBuilder()

public CoherenceResult.Builder getCoherenceResultBuilder()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
CoherenceResult.Builder

getCoherenceResultOrBuilder()

public CoherenceResultOrBuilder getCoherenceResultOrBuilder()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
CoherenceResultOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesResponse getDefaultInstanceForType()
Returns
Type Description
EvaluateInstancesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluationResultsCase()

public EvaluateInstancesResponse.EvaluationResultsCase getEvaluationResultsCase()
Returns
Type Description
EvaluateInstancesResponse.EvaluationResultsCase

getExactMatchResults()

public ExactMatchResults getExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
ExactMatchResults

The exactMatchResults.

getExactMatchResultsBuilder()

public ExactMatchResults.Builder getExactMatchResultsBuilder()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
ExactMatchResults.Builder

getExactMatchResultsOrBuilder()

public ExactMatchResultsOrBuilder getExactMatchResultsOrBuilder()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
ExactMatchResultsOrBuilder

getFluencyResult()

public FluencyResult getFluencyResult()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
FluencyResult

The fluencyResult.

getFluencyResultBuilder()

public FluencyResult.Builder getFluencyResultBuilder()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
FluencyResult.Builder

getFluencyResultOrBuilder()

public FluencyResultOrBuilder getFluencyResultOrBuilder()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
FluencyResultOrBuilder

getFulfillmentResult()

public FulfillmentResult getFulfillmentResult()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
FulfillmentResult

The fulfillmentResult.

getFulfillmentResultBuilder()

public FulfillmentResult.Builder getFulfillmentResultBuilder()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
FulfillmentResult.Builder

getFulfillmentResultOrBuilder()

public FulfillmentResultOrBuilder getFulfillmentResultOrBuilder()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
FulfillmentResultOrBuilder

getGroundednessResult()

public GroundednessResult getGroundednessResult()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
GroundednessResult

The groundednessResult.

getGroundednessResultBuilder()

public GroundednessResult.Builder getGroundednessResultBuilder()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
GroundednessResult.Builder

getGroundednessResultOrBuilder()

public GroundednessResultOrBuilder getGroundednessResultOrBuilder()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
GroundednessResultOrBuilder

getPairwiseMetricResult()

public PairwiseMetricResult getPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
PairwiseMetricResult

The pairwiseMetricResult.

getPairwiseMetricResultBuilder()

public PairwiseMetricResult.Builder getPairwiseMetricResultBuilder()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
PairwiseMetricResult.Builder

getPairwiseMetricResultOrBuilder()

public PairwiseMetricResultOrBuilder getPairwiseMetricResultOrBuilder()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
PairwiseMetricResultOrBuilder

getPairwiseQuestionAnsweringQualityResult()

public PairwiseQuestionAnsweringQualityResult getPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
PairwiseQuestionAnsweringQualityResult

The pairwiseQuestionAnsweringQualityResult.

getPairwiseQuestionAnsweringQualityResultBuilder()

public PairwiseQuestionAnsweringQualityResult.Builder getPairwiseQuestionAnsweringQualityResultBuilder()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
PairwiseQuestionAnsweringQualityResult.Builder

getPairwiseQuestionAnsweringQualityResultOrBuilder()

public PairwiseQuestionAnsweringQualityResultOrBuilder getPairwiseQuestionAnsweringQualityResultOrBuilder()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
PairwiseQuestionAnsweringQualityResultOrBuilder

getPairwiseSummarizationQualityResult()

public PairwiseSummarizationQualityResult getPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
PairwiseSummarizationQualityResult

The pairwiseSummarizationQualityResult.

getPairwiseSummarizationQualityResultBuilder()

public PairwiseSummarizationQualityResult.Builder getPairwiseSummarizationQualityResultBuilder()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
PairwiseSummarizationQualityResult.Builder

getPairwiseSummarizationQualityResultOrBuilder()

public PairwiseSummarizationQualityResultOrBuilder getPairwiseSummarizationQualityResultOrBuilder()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
PairwiseSummarizationQualityResultOrBuilder

getPointwiseMetricResult()

public PointwiseMetricResult getPointwiseMetricResult()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
PointwiseMetricResult

The pointwiseMetricResult.

getPointwiseMetricResultBuilder()

public PointwiseMetricResult.Builder getPointwiseMetricResultBuilder()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
PointwiseMetricResult.Builder

getPointwiseMetricResultOrBuilder()

public PointwiseMetricResultOrBuilder getPointwiseMetricResultOrBuilder()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
PointwiseMetricResultOrBuilder

getQuestionAnsweringCorrectnessResult()

public QuestionAnsweringCorrectnessResult getQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
QuestionAnsweringCorrectnessResult

The questionAnsweringCorrectnessResult.

getQuestionAnsweringCorrectnessResultBuilder()

public QuestionAnsweringCorrectnessResult.Builder getQuestionAnsweringCorrectnessResultBuilder()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
QuestionAnsweringCorrectnessResult.Builder

getQuestionAnsweringCorrectnessResultOrBuilder()

public QuestionAnsweringCorrectnessResultOrBuilder getQuestionAnsweringCorrectnessResultOrBuilder()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
QuestionAnsweringCorrectnessResultOrBuilder

getQuestionAnsweringHelpfulnessResult()

public QuestionAnsweringHelpfulnessResult getQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
QuestionAnsweringHelpfulnessResult

The questionAnsweringHelpfulnessResult.

getQuestionAnsweringHelpfulnessResultBuilder()

public QuestionAnsweringHelpfulnessResult.Builder getQuestionAnsweringHelpfulnessResultBuilder()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
QuestionAnsweringHelpfulnessResult.Builder

getQuestionAnsweringHelpfulnessResultOrBuilder()

public QuestionAnsweringHelpfulnessResultOrBuilder getQuestionAnsweringHelpfulnessResultOrBuilder()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
QuestionAnsweringHelpfulnessResultOrBuilder

getQuestionAnsweringQualityResult()

public QuestionAnsweringQualityResult getQuestionAnsweringQualityResult()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
QuestionAnsweringQualityResult

The questionAnsweringQualityResult.

getQuestionAnsweringQualityResultBuilder()

public QuestionAnsweringQualityResult.Builder getQuestionAnsweringQualityResultBuilder()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
QuestionAnsweringQualityResult.Builder

getQuestionAnsweringQualityResultOrBuilder()

public QuestionAnsweringQualityResultOrBuilder getQuestionAnsweringQualityResultOrBuilder()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
QuestionAnsweringQualityResultOrBuilder

getQuestionAnsweringRelevanceResult()

public QuestionAnsweringRelevanceResult getQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
QuestionAnsweringRelevanceResult

The questionAnsweringRelevanceResult.

getQuestionAnsweringRelevanceResultBuilder()

public QuestionAnsweringRelevanceResult.Builder getQuestionAnsweringRelevanceResultBuilder()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
QuestionAnsweringRelevanceResult.Builder

getQuestionAnsweringRelevanceResultOrBuilder()

public QuestionAnsweringRelevanceResultOrBuilder getQuestionAnsweringRelevanceResultOrBuilder()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
QuestionAnsweringRelevanceResultOrBuilder

getRougeResults()

public RougeResults getRougeResults()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
RougeResults

The rougeResults.

getRougeResultsBuilder()

public RougeResults.Builder getRougeResultsBuilder()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
RougeResults.Builder

getRougeResultsOrBuilder()

public RougeResultsOrBuilder getRougeResultsOrBuilder()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
RougeResultsOrBuilder

getSafetyResult()

public SafetyResult getSafetyResult()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
SafetyResult

The safetyResult.

getSafetyResultBuilder()

public SafetyResult.Builder getSafetyResultBuilder()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
SafetyResult.Builder

getSafetyResultOrBuilder()

public SafetyResultOrBuilder getSafetyResultOrBuilder()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
SafetyResultOrBuilder

getSummarizationHelpfulnessResult()

public SummarizationHelpfulnessResult getSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
SummarizationHelpfulnessResult

The summarizationHelpfulnessResult.

getSummarizationHelpfulnessResultBuilder()

public SummarizationHelpfulnessResult.Builder getSummarizationHelpfulnessResultBuilder()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
SummarizationHelpfulnessResult.Builder

getSummarizationHelpfulnessResultOrBuilder()

public SummarizationHelpfulnessResultOrBuilder getSummarizationHelpfulnessResultOrBuilder()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
SummarizationHelpfulnessResultOrBuilder

getSummarizationQualityResult()

public SummarizationQualityResult getSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
SummarizationQualityResult

The summarizationQualityResult.

getSummarizationQualityResultBuilder()

public SummarizationQualityResult.Builder getSummarizationQualityResultBuilder()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
SummarizationQualityResult.Builder

getSummarizationQualityResultOrBuilder()

public SummarizationQualityResultOrBuilder getSummarizationQualityResultOrBuilder()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
SummarizationQualityResultOrBuilder

getSummarizationVerbosityResult()

public SummarizationVerbosityResult getSummarizationVerbosityResult()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
SummarizationVerbosityResult

The summarizationVerbosityResult.

getSummarizationVerbosityResultBuilder()

public SummarizationVerbosityResult.Builder getSummarizationVerbosityResultBuilder()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
SummarizationVerbosityResult.Builder

getSummarizationVerbosityResultOrBuilder()

public SummarizationVerbosityResultOrBuilder getSummarizationVerbosityResultOrBuilder()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
SummarizationVerbosityResultOrBuilder

getToolCallValidResults()

public ToolCallValidResults getToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
ToolCallValidResults

The toolCallValidResults.

getToolCallValidResultsBuilder()

public ToolCallValidResults.Builder getToolCallValidResultsBuilder()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
ToolCallValidResults.Builder

getToolCallValidResultsOrBuilder()

public ToolCallValidResultsOrBuilder getToolCallValidResultsOrBuilder()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
ToolCallValidResultsOrBuilder

getToolNameMatchResults()

public ToolNameMatchResults getToolNameMatchResults()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
ToolNameMatchResults

The toolNameMatchResults.

getToolNameMatchResultsBuilder()

public ToolNameMatchResults.Builder getToolNameMatchResultsBuilder()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
ToolNameMatchResults.Builder

getToolNameMatchResultsOrBuilder()

public ToolNameMatchResultsOrBuilder getToolNameMatchResultsOrBuilder()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
ToolNameMatchResultsOrBuilder

getToolParameterKeyMatchResults()

public ToolParameterKeyMatchResults getToolParameterKeyMatchResults()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
ToolParameterKeyMatchResults

The toolParameterKeyMatchResults.

getToolParameterKeyMatchResultsBuilder()

public ToolParameterKeyMatchResults.Builder getToolParameterKeyMatchResultsBuilder()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
ToolParameterKeyMatchResults.Builder

getToolParameterKeyMatchResultsOrBuilder()

public ToolParameterKeyMatchResultsOrBuilder getToolParameterKeyMatchResultsOrBuilder()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
ToolParameterKeyMatchResultsOrBuilder

getToolParameterKvMatchResults()

public ToolParameterKVMatchResults getToolParameterKvMatchResults()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
ToolParameterKVMatchResults

The toolParameterKvMatchResults.

getToolParameterKvMatchResultsBuilder()

public ToolParameterKVMatchResults.Builder getToolParameterKvMatchResultsBuilder()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
ToolParameterKVMatchResults.Builder

getToolParameterKvMatchResultsOrBuilder()

public ToolParameterKVMatchResultsOrBuilder getToolParameterKvMatchResultsOrBuilder()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
ToolParameterKVMatchResultsOrBuilder

hasBleuResults()

public boolean hasBleuResults()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
boolean

Whether the bleuResults field is set.

hasCoherenceResult()

public boolean hasCoherenceResult()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
boolean

Whether the coherenceResult field is set.

hasExactMatchResults()

public boolean hasExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
boolean

Whether the exactMatchResults field is set.

hasFluencyResult()

public boolean hasFluencyResult()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
boolean

Whether the fluencyResult field is set.

hasFulfillmentResult()

public boolean hasFulfillmentResult()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
boolean

Whether the fulfillmentResult field is set.

hasGroundednessResult()

public boolean hasGroundednessResult()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
boolean

Whether the groundednessResult field is set.

hasPairwiseMetricResult()

public boolean hasPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
boolean

Whether the pairwiseMetricResult field is set.

hasPairwiseQuestionAnsweringQualityResult()

public boolean hasPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
boolean

Whether the pairwiseQuestionAnsweringQualityResult field is set.

hasPairwiseSummarizationQualityResult()

public boolean hasPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
boolean

Whether the pairwiseSummarizationQualityResult field is set.

hasPointwiseMetricResult()

public boolean hasPointwiseMetricResult()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
boolean

Whether the pointwiseMetricResult field is set.

hasQuestionAnsweringCorrectnessResult()

public boolean hasQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
boolean

Whether the questionAnsweringCorrectnessResult field is set.

hasQuestionAnsweringHelpfulnessResult()

public boolean hasQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
boolean

Whether the questionAnsweringHelpfulnessResult field is set.

hasQuestionAnsweringQualityResult()

public boolean hasQuestionAnsweringQualityResult()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
boolean

Whether the questionAnsweringQualityResult field is set.

hasQuestionAnsweringRelevanceResult()

public boolean hasQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
boolean

Whether the questionAnsweringRelevanceResult field is set.

hasRougeResults()

public boolean hasRougeResults()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
boolean

Whether the rougeResults field is set.

hasSafetyResult()

public boolean hasSafetyResult()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
boolean

Whether the safetyResult field is set.

hasSummarizationHelpfulnessResult()

public boolean hasSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
boolean

Whether the summarizationHelpfulnessResult field is set.

hasSummarizationQualityResult()

public boolean hasSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
boolean

Whether the summarizationQualityResult field is set.

hasSummarizationVerbosityResult()

public boolean hasSummarizationVerbosityResult()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
boolean

Whether the summarizationVerbosityResult field is set.

hasToolCallValidResults()

public boolean hasToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
boolean

Whether the toolCallValidResults field is set.

hasToolNameMatchResults()

public boolean hasToolNameMatchResults()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
boolean

Whether the toolNameMatchResults field is set.

hasToolParameterKeyMatchResults()

public boolean hasToolParameterKeyMatchResults()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
boolean

Whether the toolParameterKeyMatchResults field is set.

hasToolParameterKvMatchResults()

public boolean hasToolParameterKvMatchResults()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
boolean

Whether the toolParameterKvMatchResults field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBleuResults(BleuResults value)

public EvaluateInstancesResponse.Builder mergeBleuResults(BleuResults value)

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Parameter
Name Description
value BleuResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeCoherenceResult(CoherenceResult value)

public EvaluateInstancesResponse.Builder mergeCoherenceResult(CoherenceResult value)

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Parameter
Name Description
value CoherenceResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeExactMatchResults(ExactMatchResults value)

public EvaluateInstancesResponse.Builder mergeExactMatchResults(ExactMatchResults value)

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Parameter
Name Description
value ExactMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeFluencyResult(FluencyResult value)

public EvaluateInstancesResponse.Builder mergeFluencyResult(FluencyResult value)

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Parameter
Name Description
value FluencyResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeFrom(EvaluateInstancesResponse other)

public EvaluateInstancesResponse.Builder mergeFrom(EvaluateInstancesResponse other)
Parameter
Name Description
other EvaluateInstancesResponse
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluateInstancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvaluateInstancesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

mergeFulfillmentResult(FulfillmentResult value)

public EvaluateInstancesResponse.Builder mergeFulfillmentResult(FulfillmentResult value)

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Parameter
Name Description
value FulfillmentResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeGroundednessResult(GroundednessResult value)

public EvaluateInstancesResponse.Builder mergeGroundednessResult(GroundednessResult value)

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Parameter
Name Description
value GroundednessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergePairwiseMetricResult(PairwiseMetricResult value)

public EvaluateInstancesResponse.Builder mergePairwiseMetricResult(PairwiseMetricResult value)

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Parameter
Name Description
value PairwiseMetricResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergePairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult value)

public EvaluateInstancesResponse.Builder mergePairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult value)

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Parameter
Name Description
value PairwiseQuestionAnsweringQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergePairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult value)

public EvaluateInstancesResponse.Builder mergePairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult value)

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Parameter
Name Description
value PairwiseSummarizationQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergePointwiseMetricResult(PointwiseMetricResult value)

public EvaluateInstancesResponse.Builder mergePointwiseMetricResult(PointwiseMetricResult value)

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Parameter
Name Description
value PointwiseMetricResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult value)

public EvaluateInstancesResponse.Builder mergeQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult value)

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Parameter
Name Description
value QuestionAnsweringCorrectnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult value)

public EvaluateInstancesResponse.Builder mergeQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult value)

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Parameter
Name Description
value QuestionAnsweringHelpfulnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeQuestionAnsweringQualityResult(QuestionAnsweringQualityResult value)

public EvaluateInstancesResponse.Builder mergeQuestionAnsweringQualityResult(QuestionAnsweringQualityResult value)

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Parameter
Name Description
value QuestionAnsweringQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult value)

public EvaluateInstancesResponse.Builder mergeQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult value)

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Parameter
Name Description
value QuestionAnsweringRelevanceResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeRougeResults(RougeResults value)

public EvaluateInstancesResponse.Builder mergeRougeResults(RougeResults value)

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Parameter
Name Description
value RougeResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeSafetyResult(SafetyResult value)

public EvaluateInstancesResponse.Builder mergeSafetyResult(SafetyResult value)

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Parameter
Name Description
value SafetyResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeSummarizationHelpfulnessResult(SummarizationHelpfulnessResult value)

public EvaluateInstancesResponse.Builder mergeSummarizationHelpfulnessResult(SummarizationHelpfulnessResult value)

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Parameter
Name Description
value SummarizationHelpfulnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeSummarizationQualityResult(SummarizationQualityResult value)

public EvaluateInstancesResponse.Builder mergeSummarizationQualityResult(SummarizationQualityResult value)

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Parameter
Name Description
value SummarizationQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeSummarizationVerbosityResult(SummarizationVerbosityResult value)

public EvaluateInstancesResponse.Builder mergeSummarizationVerbosityResult(SummarizationVerbosityResult value)

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Parameter
Name Description
value SummarizationVerbosityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeToolCallValidResults(ToolCallValidResults value)

public EvaluateInstancesResponse.Builder mergeToolCallValidResults(ToolCallValidResults value)

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Parameter
Name Description
value ToolCallValidResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeToolNameMatchResults(ToolNameMatchResults value)

public EvaluateInstancesResponse.Builder mergeToolNameMatchResults(ToolNameMatchResults value)

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Parameter
Name Description
value ToolNameMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeToolParameterKeyMatchResults(ToolParameterKeyMatchResults value)

public EvaluateInstancesResponse.Builder mergeToolParameterKeyMatchResults(ToolParameterKeyMatchResults value)

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Parameter
Name Description
value ToolParameterKeyMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeToolParameterKvMatchResults(ToolParameterKVMatchResults value)

public EvaluateInstancesResponse.Builder mergeToolParameterKvMatchResults(ToolParameterKVMatchResults value)

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Parameter
Name Description
value ToolParameterKVMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluateInstancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

setBleuResults(BleuResults value)

public EvaluateInstancesResponse.Builder setBleuResults(BleuResults value)

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Parameter
Name Description
value BleuResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setBleuResults(BleuResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setBleuResults(BleuResults.Builder builderForValue)

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Parameter
Name Description
builderForValue BleuResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setCoherenceResult(CoherenceResult value)

public EvaluateInstancesResponse.Builder setCoherenceResult(CoherenceResult value)

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Parameter
Name Description
value CoherenceResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setCoherenceResult(CoherenceResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setCoherenceResult(CoherenceResult.Builder builderForValue)

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Parameter
Name Description
builderForValue CoherenceResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setExactMatchResults(ExactMatchResults value)

public EvaluateInstancesResponse.Builder setExactMatchResults(ExactMatchResults value)

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Parameter
Name Description
value ExactMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setExactMatchResults(ExactMatchResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setExactMatchResults(ExactMatchResults.Builder builderForValue)

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Parameter
Name Description
builderForValue ExactMatchResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluateInstancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

setFluencyResult(FluencyResult value)

public EvaluateInstancesResponse.Builder setFluencyResult(FluencyResult value)

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Parameter
Name Description
value FluencyResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setFluencyResult(FluencyResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setFluencyResult(FluencyResult.Builder builderForValue)

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Parameter
Name Description
builderForValue FluencyResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setFulfillmentResult(FulfillmentResult value)

public EvaluateInstancesResponse.Builder setFulfillmentResult(FulfillmentResult value)

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Parameter
Name Description
value FulfillmentResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setFulfillmentResult(FulfillmentResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setFulfillmentResult(FulfillmentResult.Builder builderForValue)

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Parameter
Name Description
builderForValue FulfillmentResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setGroundednessResult(GroundednessResult value)

public EvaluateInstancesResponse.Builder setGroundednessResult(GroundednessResult value)

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Parameter
Name Description
value GroundednessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setGroundednessResult(GroundednessResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setGroundednessResult(GroundednessResult.Builder builderForValue)

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Parameter
Name Description
builderForValue GroundednessResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseMetricResult(PairwiseMetricResult value)

public EvaluateInstancesResponse.Builder setPairwiseMetricResult(PairwiseMetricResult value)

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Parameter
Name Description
value PairwiseMetricResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseMetricResult(PairwiseMetricResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setPairwiseMetricResult(PairwiseMetricResult.Builder builderForValue)

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Parameter
Name Description
builderForValue PairwiseMetricResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult value)

public EvaluateInstancesResponse.Builder setPairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult value)

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Parameter
Name Description
value PairwiseQuestionAnsweringQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setPairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult.Builder builderForValue)

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualityResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult value)

public EvaluateInstancesResponse.Builder setPairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult value)

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Parameter
Name Description
value PairwiseSummarizationQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setPairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setPairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult.Builder builderForValue)

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Parameter
Name Description
builderForValue PairwiseSummarizationQualityResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setPointwiseMetricResult(PointwiseMetricResult value)

public EvaluateInstancesResponse.Builder setPointwiseMetricResult(PointwiseMetricResult value)

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Parameter
Name Description
value PointwiseMetricResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setPointwiseMetricResult(PointwiseMetricResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setPointwiseMetricResult(PointwiseMetricResult.Builder builderForValue)

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Parameter
Name Description
builderForValue PointwiseMetricResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult value)

public EvaluateInstancesResponse.Builder setQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult value)

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Parameter
Name Description
value QuestionAnsweringCorrectnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setQuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult.Builder builderForValue)

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Parameter
Name Description
builderForValue QuestionAnsweringCorrectnessResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult value)

public EvaluateInstancesResponse.Builder setQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult value)

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Parameter
Name Description
value QuestionAnsweringHelpfulnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setQuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult.Builder builderForValue)

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Parameter
Name Description
builderForValue QuestionAnsweringHelpfulnessResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringQualityResult(QuestionAnsweringQualityResult value)

public EvaluateInstancesResponse.Builder setQuestionAnsweringQualityResult(QuestionAnsweringQualityResult value)

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Parameter
Name Description
value QuestionAnsweringQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringQualityResult(QuestionAnsweringQualityResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setQuestionAnsweringQualityResult(QuestionAnsweringQualityResult.Builder builderForValue)

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Parameter
Name Description
builderForValue QuestionAnsweringQualityResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult value)

public EvaluateInstancesResponse.Builder setQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult value)

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Parameter
Name Description
value QuestionAnsweringRelevanceResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setQuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult.Builder builderForValue)

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Parameter
Name Description
builderForValue QuestionAnsweringRelevanceResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EvaluateInstancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides

setRougeResults(RougeResults value)

public EvaluateInstancesResponse.Builder setRougeResults(RougeResults value)

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Parameter
Name Description
value RougeResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setRougeResults(RougeResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setRougeResults(RougeResults.Builder builderForValue)

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Parameter
Name Description
builderForValue RougeResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setSafetyResult(SafetyResult value)

public EvaluateInstancesResponse.Builder setSafetyResult(SafetyResult value)

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Parameter
Name Description
value SafetyResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setSafetyResult(SafetyResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setSafetyResult(SafetyResult.Builder builderForValue)

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Parameter
Name Description
builderForValue SafetyResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationHelpfulnessResult(SummarizationHelpfulnessResult value)

public EvaluateInstancesResponse.Builder setSummarizationHelpfulnessResult(SummarizationHelpfulnessResult value)

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Parameter
Name Description
value SummarizationHelpfulnessResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationHelpfulnessResult(SummarizationHelpfulnessResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setSummarizationHelpfulnessResult(SummarizationHelpfulnessResult.Builder builderForValue)

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Parameter
Name Description
builderForValue SummarizationHelpfulnessResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationQualityResult(SummarizationQualityResult value)

public EvaluateInstancesResponse.Builder setSummarizationQualityResult(SummarizationQualityResult value)

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Parameter
Name Description
value SummarizationQualityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationQualityResult(SummarizationQualityResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setSummarizationQualityResult(SummarizationQualityResult.Builder builderForValue)

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Parameter
Name Description
builderForValue SummarizationQualityResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationVerbosityResult(SummarizationVerbosityResult value)

public EvaluateInstancesResponse.Builder setSummarizationVerbosityResult(SummarizationVerbosityResult value)

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Parameter
Name Description
value SummarizationVerbosityResult
Returns
Type Description
EvaluateInstancesResponse.Builder

setSummarizationVerbosityResult(SummarizationVerbosityResult.Builder builderForValue)

public EvaluateInstancesResponse.Builder setSummarizationVerbosityResult(SummarizationVerbosityResult.Builder builderForValue)

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Parameter
Name Description
builderForValue SummarizationVerbosityResult.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolCallValidResults(ToolCallValidResults value)

public EvaluateInstancesResponse.Builder setToolCallValidResults(ToolCallValidResults value)

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Parameter
Name Description
value ToolCallValidResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolCallValidResults(ToolCallValidResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setToolCallValidResults(ToolCallValidResults.Builder builderForValue)

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Parameter
Name Description
builderForValue ToolCallValidResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolNameMatchResults(ToolNameMatchResults value)

public EvaluateInstancesResponse.Builder setToolNameMatchResults(ToolNameMatchResults value)

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Parameter
Name Description
value ToolNameMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolNameMatchResults(ToolNameMatchResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setToolNameMatchResults(ToolNameMatchResults.Builder builderForValue)

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Parameter
Name Description
builderForValue ToolNameMatchResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolParameterKeyMatchResults(ToolParameterKeyMatchResults value)

public EvaluateInstancesResponse.Builder setToolParameterKeyMatchResults(ToolParameterKeyMatchResults value)

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Parameter
Name Description
value ToolParameterKeyMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolParameterKeyMatchResults(ToolParameterKeyMatchResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setToolParameterKeyMatchResults(ToolParameterKeyMatchResults.Builder builderForValue)

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Parameter
Name Description
builderForValue ToolParameterKeyMatchResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolParameterKvMatchResults(ToolParameterKVMatchResults value)

public EvaluateInstancesResponse.Builder setToolParameterKvMatchResults(ToolParameterKVMatchResults value)

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Parameter
Name Description
value ToolParameterKVMatchResults
Returns
Type Description
EvaluateInstancesResponse.Builder

setToolParameterKvMatchResults(ToolParameterKVMatchResults.Builder builderForValue)

public EvaluateInstancesResponse.Builder setToolParameterKvMatchResults(ToolParameterKVMatchResults.Builder builderForValue)

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Parameter
Name Description
builderForValue ToolParameterKVMatchResults.Builder
Returns
Type Description
EvaluateInstancesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluateInstancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluateInstancesResponse.Builder
Overrides