Class EvaluateInstancesRequest.Builder (3.53.0)

public static final class EvaluateInstancesRequest.Builder extends GeneratedMessageV3.Builder<EvaluateInstancesRequest.Builder> implements EvaluateInstancesRequestOrBuilder

Request message for EvaluationService.EvaluateInstances.

Protobuf type google.cloud.aiplatform.v1.EvaluateInstancesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluateInstancesRequest build()
Returns
Type Description
EvaluateInstancesRequest

buildPartial()

public EvaluateInstancesRequest buildPartial()
Returns
Type Description
EvaluateInstancesRequest

clear()

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

clearBleuInput()

public EvaluateInstancesRequest.Builder clearBleuInput()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearCoherenceInput()

public EvaluateInstancesRequest.Builder clearCoherenceInput()

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearExactMatchInput()

public EvaluateInstancesRequest.Builder clearExactMatchInput()

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFluencyInput()

public EvaluateInstancesRequest.Builder clearFluencyInput()

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearFulfillmentInput()

public EvaluateInstancesRequest.Builder clearFulfillmentInput()

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearGroundednessInput()

public EvaluateInstancesRequest.Builder clearGroundednessInput()

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearLocation()

public EvaluateInstancesRequest.Builder clearLocation()

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
EvaluateInstancesRequest.Builder

This builder for chaining.

clearMetricInputs()

public EvaluateInstancesRequest.Builder clearMetricInputs()
Returns
Type Description
EvaluateInstancesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPairwiseMetricInput()

public EvaluateInstancesRequest.Builder clearPairwiseMetricInput()

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearPairwiseQuestionAnsweringQualityInput()

public EvaluateInstancesRequest.Builder clearPairwiseQuestionAnsweringQualityInput()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearPairwiseSummarizationQualityInput()

public EvaluateInstancesRequest.Builder clearPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearPointwiseMetricInput()

public EvaluateInstancesRequest.Builder clearPointwiseMetricInput()

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearQuestionAnsweringCorrectnessInput()

public EvaluateInstancesRequest.Builder clearQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearQuestionAnsweringHelpfulnessInput()

public EvaluateInstancesRequest.Builder clearQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearQuestionAnsweringQualityInput()

public EvaluateInstancesRequest.Builder clearQuestionAnsweringQualityInput()

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearQuestionAnsweringRelevanceInput()

public EvaluateInstancesRequest.Builder clearQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearRougeInput()

public EvaluateInstancesRequest.Builder clearRougeInput()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearSafetyInput()

public EvaluateInstancesRequest.Builder clearSafetyInput()

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearSummarizationHelpfulnessInput()

public EvaluateInstancesRequest.Builder clearSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearSummarizationQualityInput()

public EvaluateInstancesRequest.Builder clearSummarizationQualityInput()

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearSummarizationVerbosityInput()

public EvaluateInstancesRequest.Builder clearSummarizationVerbosityInput()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearToolCallValidInput()

public EvaluateInstancesRequest.Builder clearToolCallValidInput()

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearToolNameMatchInput()

public EvaluateInstancesRequest.Builder clearToolNameMatchInput()

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearToolParameterKeyMatchInput()

public EvaluateInstancesRequest.Builder clearToolParameterKeyMatchInput()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
EvaluateInstancesRequest.Builder

clearToolParameterKvMatchInput()

public EvaluateInstancesRequest.Builder clearToolParameterKvMatchInput()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
EvaluateInstancesRequest.Builder

clone()

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

getBleuInput()

public BleuInput getBleuInput()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Returns
Type Description
BleuInput

The bleuInput.

getBleuInputBuilder()

public BleuInput.Builder getBleuInputBuilder()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Returns
Type Description
BleuInput.Builder

getBleuInputOrBuilder()

public BleuInputOrBuilder getBleuInputOrBuilder()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Returns
Type Description
BleuInputOrBuilder

getCoherenceInput()

public CoherenceInput getCoherenceInput()

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Returns
Type Description
CoherenceInput

The coherenceInput.

getCoherenceInputBuilder()

public CoherenceInput.Builder getCoherenceInputBuilder()

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Returns
Type Description
CoherenceInput.Builder

getCoherenceInputOrBuilder()

public CoherenceInputOrBuilder getCoherenceInputOrBuilder()

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Returns
Type Description
CoherenceInputOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesRequest getDefaultInstanceForType()
Returns
Type Description
EvaluateInstancesRequest

getDescriptorForType()

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

getExactMatchInput()

public ExactMatchInput getExactMatchInput()

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
ExactMatchInput

The exactMatchInput.

getExactMatchInputBuilder()

public ExactMatchInput.Builder getExactMatchInputBuilder()

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
ExactMatchInput.Builder

getExactMatchInputOrBuilder()

public ExactMatchInputOrBuilder getExactMatchInputOrBuilder()

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
ExactMatchInputOrBuilder

getFluencyInput()

public FluencyInput getFluencyInput()

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Returns
Type Description
FluencyInput

The fluencyInput.

getFluencyInputBuilder()

public FluencyInput.Builder getFluencyInputBuilder()

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Returns
Type Description
FluencyInput.Builder

getFluencyInputOrBuilder()

public FluencyInputOrBuilder getFluencyInputOrBuilder()

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Returns
Type Description
FluencyInputOrBuilder

getFulfillmentInput()

public FulfillmentInput getFulfillmentInput()

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
FulfillmentInput

The fulfillmentInput.

getFulfillmentInputBuilder()

public FulfillmentInput.Builder getFulfillmentInputBuilder()

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
FulfillmentInput.Builder

getFulfillmentInputOrBuilder()

public FulfillmentInputOrBuilder getFulfillmentInputOrBuilder()

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
FulfillmentInputOrBuilder

getGroundednessInput()

public GroundednessInput getGroundednessInput()

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Returns
Type Description
GroundednessInput

The groundednessInput.

getGroundednessInputBuilder()

public GroundednessInput.Builder getGroundednessInputBuilder()

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Returns
Type Description
GroundednessInput.Builder

getGroundednessInputOrBuilder()

public GroundednessInputOrBuilder getGroundednessInputOrBuilder()

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Returns
Type Description
GroundednessInputOrBuilder

getLocation()

public String getLocation()

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getMetricInputsCase()

public EvaluateInstancesRequest.MetricInputsCase getMetricInputsCase()
Returns
Type Description
EvaluateInstancesRequest.MetricInputsCase

getPairwiseMetricInput()

public PairwiseMetricInput getPairwiseMetricInput()

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Returns
Type Description
PairwiseMetricInput

The pairwiseMetricInput.

getPairwiseMetricInputBuilder()

public PairwiseMetricInput.Builder getPairwiseMetricInputBuilder()

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Returns
Type Description
PairwiseMetricInput.Builder

getPairwiseMetricInputOrBuilder()

public PairwiseMetricInputOrBuilder getPairwiseMetricInputOrBuilder()

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Returns
Type Description
PairwiseMetricInputOrBuilder

getPairwiseQuestionAnsweringQualityInput()

public PairwiseQuestionAnsweringQualityInput getPairwiseQuestionAnsweringQualityInput()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
PairwiseQuestionAnsweringQualityInput

The pairwiseQuestionAnsweringQualityInput.

getPairwiseQuestionAnsweringQualityInputBuilder()

public PairwiseQuestionAnsweringQualityInput.Builder getPairwiseQuestionAnsweringQualityInputBuilder()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
PairwiseQuestionAnsweringQualityInput.Builder

getPairwiseQuestionAnsweringQualityInputOrBuilder()

public PairwiseQuestionAnsweringQualityInputOrBuilder getPairwiseQuestionAnsweringQualityInputOrBuilder()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
PairwiseQuestionAnsweringQualityInputOrBuilder

getPairwiseSummarizationQualityInput()

public PairwiseSummarizationQualityInput getPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
PairwiseSummarizationQualityInput

The pairwiseSummarizationQualityInput.

getPairwiseSummarizationQualityInputBuilder()

public PairwiseSummarizationQualityInput.Builder getPairwiseSummarizationQualityInputBuilder()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
PairwiseSummarizationQualityInput.Builder

getPairwiseSummarizationQualityInputOrBuilder()

public PairwiseSummarizationQualityInputOrBuilder getPairwiseSummarizationQualityInputOrBuilder()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
PairwiseSummarizationQualityInputOrBuilder

getPointwiseMetricInput()

public PointwiseMetricInput getPointwiseMetricInput()

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Returns
Type Description
PointwiseMetricInput

The pointwiseMetricInput.

getPointwiseMetricInputBuilder()

public PointwiseMetricInput.Builder getPointwiseMetricInputBuilder()

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Returns
Type Description
PointwiseMetricInput.Builder

getPointwiseMetricInputOrBuilder()

public PointwiseMetricInputOrBuilder getPointwiseMetricInputOrBuilder()

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Returns
Type Description
PointwiseMetricInputOrBuilder

getQuestionAnsweringCorrectnessInput()

public QuestionAnsweringCorrectnessInput getQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
QuestionAnsweringCorrectnessInput

The questionAnsweringCorrectnessInput.

getQuestionAnsweringCorrectnessInputBuilder()

public QuestionAnsweringCorrectnessInput.Builder getQuestionAnsweringCorrectnessInputBuilder()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
QuestionAnsweringCorrectnessInput.Builder

getQuestionAnsweringCorrectnessInputOrBuilder()

public QuestionAnsweringCorrectnessInputOrBuilder getQuestionAnsweringCorrectnessInputOrBuilder()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
QuestionAnsweringCorrectnessInputOrBuilder

getQuestionAnsweringHelpfulnessInput()

public QuestionAnsweringHelpfulnessInput getQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
QuestionAnsweringHelpfulnessInput

The questionAnsweringHelpfulnessInput.

getQuestionAnsweringHelpfulnessInputBuilder()

public QuestionAnsweringHelpfulnessInput.Builder getQuestionAnsweringHelpfulnessInputBuilder()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
QuestionAnsweringHelpfulnessInput.Builder

getQuestionAnsweringHelpfulnessInputOrBuilder()

public QuestionAnsweringHelpfulnessInputOrBuilder getQuestionAnsweringHelpfulnessInputOrBuilder()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
QuestionAnsweringHelpfulnessInputOrBuilder

getQuestionAnsweringQualityInput()

public QuestionAnsweringQualityInput getQuestionAnsweringQualityInput()

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
QuestionAnsweringQualityInput

The questionAnsweringQualityInput.

getQuestionAnsweringQualityInputBuilder()

public QuestionAnsweringQualityInput.Builder getQuestionAnsweringQualityInputBuilder()

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
QuestionAnsweringQualityInput.Builder

getQuestionAnsweringQualityInputOrBuilder()

public QuestionAnsweringQualityInputOrBuilder getQuestionAnsweringQualityInputOrBuilder()

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
QuestionAnsweringQualityInputOrBuilder

getQuestionAnsweringRelevanceInput()

public QuestionAnsweringRelevanceInput getQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
QuestionAnsweringRelevanceInput

The questionAnsweringRelevanceInput.

getQuestionAnsweringRelevanceInputBuilder()

public QuestionAnsweringRelevanceInput.Builder getQuestionAnsweringRelevanceInputBuilder()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
QuestionAnsweringRelevanceInput.Builder

getQuestionAnsweringRelevanceInputOrBuilder()

public QuestionAnsweringRelevanceInputOrBuilder getQuestionAnsweringRelevanceInputOrBuilder()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
QuestionAnsweringRelevanceInputOrBuilder

getRougeInput()

public RougeInput getRougeInput()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Returns
Type Description
RougeInput

The rougeInput.

getRougeInputBuilder()

public RougeInput.Builder getRougeInputBuilder()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Returns
Type Description
RougeInput.Builder

getRougeInputOrBuilder()

public RougeInputOrBuilder getRougeInputOrBuilder()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Returns
Type Description
RougeInputOrBuilder

getSafetyInput()

public SafetyInput getSafetyInput()

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Returns
Type Description
SafetyInput

The safetyInput.

getSafetyInputBuilder()

public SafetyInput.Builder getSafetyInputBuilder()

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Returns
Type Description
SafetyInput.Builder

getSafetyInputOrBuilder()

public SafetyInputOrBuilder getSafetyInputOrBuilder()

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Returns
Type Description
SafetyInputOrBuilder

getSummarizationHelpfulnessInput()

public SummarizationHelpfulnessInput getSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
SummarizationHelpfulnessInput

The summarizationHelpfulnessInput.

getSummarizationHelpfulnessInputBuilder()

public SummarizationHelpfulnessInput.Builder getSummarizationHelpfulnessInputBuilder()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
SummarizationHelpfulnessInput.Builder

getSummarizationHelpfulnessInputOrBuilder()

public SummarizationHelpfulnessInputOrBuilder getSummarizationHelpfulnessInputOrBuilder()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
SummarizationHelpfulnessInputOrBuilder

getSummarizationQualityInput()

public SummarizationQualityInput getSummarizationQualityInput()

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
SummarizationQualityInput

The summarizationQualityInput.

getSummarizationQualityInputBuilder()

public SummarizationQualityInput.Builder getSummarizationQualityInputBuilder()

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
SummarizationQualityInput.Builder

getSummarizationQualityInputOrBuilder()

public SummarizationQualityInputOrBuilder getSummarizationQualityInputOrBuilder()

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
SummarizationQualityInputOrBuilder

getSummarizationVerbosityInput()

public SummarizationVerbosityInput getSummarizationVerbosityInput()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
SummarizationVerbosityInput

The summarizationVerbosityInput.

getSummarizationVerbosityInputBuilder()

public SummarizationVerbosityInput.Builder getSummarizationVerbosityInputBuilder()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
SummarizationVerbosityInput.Builder

getSummarizationVerbosityInputOrBuilder()

public SummarizationVerbosityInputOrBuilder getSummarizationVerbosityInputOrBuilder()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
SummarizationVerbosityInputOrBuilder

getToolCallValidInput()

public ToolCallValidInput getToolCallValidInput()

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
ToolCallValidInput

The toolCallValidInput.

getToolCallValidInputBuilder()

public ToolCallValidInput.Builder getToolCallValidInputBuilder()

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
ToolCallValidInput.Builder

getToolCallValidInputOrBuilder()

public ToolCallValidInputOrBuilder getToolCallValidInputOrBuilder()

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
ToolCallValidInputOrBuilder

getToolNameMatchInput()

public ToolNameMatchInput getToolNameMatchInput()

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
ToolNameMatchInput

The toolNameMatchInput.

getToolNameMatchInputBuilder()

public ToolNameMatchInput.Builder getToolNameMatchInputBuilder()

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
ToolNameMatchInput.Builder

getToolNameMatchInputOrBuilder()

public ToolNameMatchInputOrBuilder getToolNameMatchInputOrBuilder()

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
ToolNameMatchInputOrBuilder

getToolParameterKeyMatchInput()

public ToolParameterKeyMatchInput getToolParameterKeyMatchInput()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
ToolParameterKeyMatchInput

The toolParameterKeyMatchInput.

getToolParameterKeyMatchInputBuilder()

public ToolParameterKeyMatchInput.Builder getToolParameterKeyMatchInputBuilder()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
ToolParameterKeyMatchInput.Builder

getToolParameterKeyMatchInputOrBuilder()

public ToolParameterKeyMatchInputOrBuilder getToolParameterKeyMatchInputOrBuilder()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
ToolParameterKeyMatchInputOrBuilder

getToolParameterKvMatchInput()

public ToolParameterKVMatchInput getToolParameterKvMatchInput()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
ToolParameterKVMatchInput

The toolParameterKvMatchInput.

getToolParameterKvMatchInputBuilder()

public ToolParameterKVMatchInput.Builder getToolParameterKvMatchInputBuilder()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
ToolParameterKVMatchInput.Builder

getToolParameterKvMatchInputOrBuilder()

public ToolParameterKVMatchInputOrBuilder getToolParameterKvMatchInputOrBuilder()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
ToolParameterKVMatchInputOrBuilder

hasBleuInput()

public boolean hasBleuInput()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Returns
Type Description
boolean

Whether the bleuInput field is set.

hasCoherenceInput()

public boolean hasCoherenceInput()

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Returns
Type Description
boolean

Whether the coherenceInput field is set.

hasExactMatchInput()

public boolean hasExactMatchInput()

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
boolean

Whether the exactMatchInput field is set.

hasFluencyInput()

public boolean hasFluencyInput()

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Returns
Type Description
boolean

Whether the fluencyInput field is set.

hasFulfillmentInput()

public boolean hasFulfillmentInput()

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
boolean

Whether the fulfillmentInput field is set.

hasGroundednessInput()

public boolean hasGroundednessInput()

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Returns
Type Description
boolean

Whether the groundednessInput field is set.

hasPairwiseMetricInput()

public boolean hasPairwiseMetricInput()

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Returns
Type Description
boolean

Whether the pairwiseMetricInput field is set.

hasPairwiseQuestionAnsweringQualityInput()

public boolean hasPairwiseQuestionAnsweringQualityInput()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
boolean

Whether the pairwiseQuestionAnsweringQualityInput field is set.

hasPairwiseSummarizationQualityInput()

public boolean hasPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
boolean

Whether the pairwiseSummarizationQualityInput field is set.

hasPointwiseMetricInput()

public boolean hasPointwiseMetricInput()

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Returns
Type Description
boolean

Whether the pointwiseMetricInput field is set.

hasQuestionAnsweringCorrectnessInput()

public boolean hasQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
boolean

Whether the questionAnsweringCorrectnessInput field is set.

hasQuestionAnsweringHelpfulnessInput()

public boolean hasQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
boolean

Whether the questionAnsweringHelpfulnessInput field is set.

hasQuestionAnsweringQualityInput()

public boolean hasQuestionAnsweringQualityInput()

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
boolean

Whether the questionAnsweringQualityInput field is set.

hasQuestionAnsweringRelevanceInput()

public boolean hasQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
boolean

Whether the questionAnsweringRelevanceInput field is set.

hasRougeInput()

public boolean hasRougeInput()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Returns
Type Description
boolean

Whether the rougeInput field is set.

hasSafetyInput()

public boolean hasSafetyInput()

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Returns
Type Description
boolean

Whether the safetyInput field is set.

hasSummarizationHelpfulnessInput()

public boolean hasSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
boolean

Whether the summarizationHelpfulnessInput field is set.

hasSummarizationQualityInput()

public boolean hasSummarizationQualityInput()

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
boolean

Whether the summarizationQualityInput field is set.

hasSummarizationVerbosityInput()

public boolean hasSummarizationVerbosityInput()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
boolean

Whether the summarizationVerbosityInput field is set.

hasToolCallValidInput()

public boolean hasToolCallValidInput()

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
boolean

Whether the toolCallValidInput field is set.

hasToolNameMatchInput()

public boolean hasToolNameMatchInput()

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
boolean

Whether the toolNameMatchInput field is set.

hasToolParameterKeyMatchInput()

public boolean hasToolParameterKeyMatchInput()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
boolean

Whether the toolParameterKeyMatchInput field is set.

hasToolParameterKvMatchInput()

public boolean hasToolParameterKvMatchInput()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
boolean

Whether the toolParameterKvMatchInput field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBleuInput(BleuInput value)

public EvaluateInstancesRequest.Builder mergeBleuInput(BleuInput value)

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Parameter
Name Description
value BleuInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeCoherenceInput(CoherenceInput value)

public EvaluateInstancesRequest.Builder mergeCoherenceInput(CoherenceInput value)

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Parameter
Name Description
value CoherenceInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeExactMatchInput(ExactMatchInput value)

public EvaluateInstancesRequest.Builder mergeExactMatchInput(ExactMatchInput value)

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Parameter
Name Description
value ExactMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeFluencyInput(FluencyInput value)

public EvaluateInstancesRequest.Builder mergeFluencyInput(FluencyInput value)

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Parameter
Name Description
value FluencyInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeFrom(EvaluateInstancesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFulfillmentInput(FulfillmentInput value)

public EvaluateInstancesRequest.Builder mergeFulfillmentInput(FulfillmentInput value)

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Parameter
Name Description
value FulfillmentInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeGroundednessInput(GroundednessInput value)

public EvaluateInstancesRequest.Builder mergeGroundednessInput(GroundednessInput value)

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Parameter
Name Description
value GroundednessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergePairwiseMetricInput(PairwiseMetricInput value)

public EvaluateInstancesRequest.Builder mergePairwiseMetricInput(PairwiseMetricInput value)

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Parameter
Name Description
value PairwiseMetricInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergePairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput value)

public EvaluateInstancesRequest.Builder mergePairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput value)

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergePairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput value)

public EvaluateInstancesRequest.Builder mergePairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput value)

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Parameter
Name Description
value PairwiseSummarizationQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergePointwiseMetricInput(PointwiseMetricInput value)

public EvaluateInstancesRequest.Builder mergePointwiseMetricInput(PointwiseMetricInput value)

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Parameter
Name Description
value PointwiseMetricInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput value)

public EvaluateInstancesRequest.Builder mergeQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput value)

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Parameter
Name Description
value QuestionAnsweringCorrectnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput value)

public EvaluateInstancesRequest.Builder mergeQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput value)

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Parameter
Name Description
value QuestionAnsweringHelpfulnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeQuestionAnsweringQualityInput(QuestionAnsweringQualityInput value)

public EvaluateInstancesRequest.Builder mergeQuestionAnsweringQualityInput(QuestionAnsweringQualityInput value)

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Parameter
Name Description
value QuestionAnsweringQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput value)

public EvaluateInstancesRequest.Builder mergeQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput value)

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Parameter
Name Description
value QuestionAnsweringRelevanceInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeRougeInput(RougeInput value)

public EvaluateInstancesRequest.Builder mergeRougeInput(RougeInput value)

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Parameter
Name Description
value RougeInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeSafetyInput(SafetyInput value)

public EvaluateInstancesRequest.Builder mergeSafetyInput(SafetyInput value)

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Parameter
Name Description
value SafetyInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeSummarizationHelpfulnessInput(SummarizationHelpfulnessInput value)

public EvaluateInstancesRequest.Builder mergeSummarizationHelpfulnessInput(SummarizationHelpfulnessInput value)

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Parameter
Name Description
value SummarizationHelpfulnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeSummarizationQualityInput(SummarizationQualityInput value)

public EvaluateInstancesRequest.Builder mergeSummarizationQualityInput(SummarizationQualityInput value)

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Parameter
Name Description
value SummarizationQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeSummarizationVerbosityInput(SummarizationVerbosityInput value)

public EvaluateInstancesRequest.Builder mergeSummarizationVerbosityInput(SummarizationVerbosityInput value)

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Parameter
Name Description
value SummarizationVerbosityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeToolCallValidInput(ToolCallValidInput value)

public EvaluateInstancesRequest.Builder mergeToolCallValidInput(ToolCallValidInput value)

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Parameter
Name Description
value ToolCallValidInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeToolNameMatchInput(ToolNameMatchInput value)

public EvaluateInstancesRequest.Builder mergeToolNameMatchInput(ToolNameMatchInput value)

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Parameter
Name Description
value ToolNameMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeToolParameterKeyMatchInput(ToolParameterKeyMatchInput value)

public EvaluateInstancesRequest.Builder mergeToolParameterKeyMatchInput(ToolParameterKeyMatchInput value)

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Parameter
Name Description
value ToolParameterKeyMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeToolParameterKvMatchInput(ToolParameterKVMatchInput value)

public EvaluateInstancesRequest.Builder mergeToolParameterKvMatchInput(ToolParameterKVMatchInput value)

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Parameter
Name Description
value ToolParameterKVMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBleuInput(BleuInput value)

public EvaluateInstancesRequest.Builder setBleuInput(BleuInput value)

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Parameter
Name Description
value BleuInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setBleuInput(BleuInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setBleuInput(BleuInput.Builder builderForValue)

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1.BleuInput bleu_input = 3;

Parameter
Name Description
builderForValue BleuInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setCoherenceInput(CoherenceInput value)

public EvaluateInstancesRequest.Builder setCoherenceInput(CoherenceInput value)

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Parameter
Name Description
value CoherenceInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setCoherenceInput(CoherenceInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setCoherenceInput(CoherenceInput.Builder builderForValue)

Input for coherence metric.

.google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6;

Parameter
Name Description
builderForValue CoherenceInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setExactMatchInput(ExactMatchInput value)

public EvaluateInstancesRequest.Builder setExactMatchInput(ExactMatchInput value)

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Parameter
Name Description
value ExactMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setExactMatchInput(ExactMatchInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setExactMatchInput(ExactMatchInput.Builder builderForValue)

Auto metric instances. Instances and metric spec for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2;

Parameter
Name Description
builderForValue ExactMatchInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFluencyInput(FluencyInput value)

public EvaluateInstancesRequest.Builder setFluencyInput(FluencyInput value)

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Parameter
Name Description
value FluencyInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setFluencyInput(FluencyInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setFluencyInput(FluencyInput.Builder builderForValue)

LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric.

.google.cloud.aiplatform.v1.FluencyInput fluency_input = 5;

Parameter
Name Description
builderForValue FluencyInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setFulfillmentInput(FulfillmentInput value)

public EvaluateInstancesRequest.Builder setFulfillmentInput(FulfillmentInput value)

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Parameter
Name Description
value FulfillmentInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setFulfillmentInput(FulfillmentInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setFulfillmentInput(FulfillmentInput.Builder builderForValue)

Input for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12;

Parameter
Name Description
builderForValue FulfillmentInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setGroundednessInput(GroundednessInput value)

public EvaluateInstancesRequest.Builder setGroundednessInput(GroundednessInput value)

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Parameter
Name Description
value GroundednessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setGroundednessInput(GroundednessInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setGroundednessInput(GroundednessInput.Builder builderForValue)

Input for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9;

Parameter
Name Description
builderForValue GroundednessInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setLocation(String value)

public EvaluateInstancesRequest.Builder setLocation(String value)

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The location to set.

Returns
Type Description
EvaluateInstancesRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public EvaluateInstancesRequest.Builder setLocationBytes(ByteString value)

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
EvaluateInstancesRequest.Builder

This builder for chaining.

setPairwiseMetricInput(PairwiseMetricInput value)

public EvaluateInstancesRequest.Builder setPairwiseMetricInput(PairwiseMetricInput value)

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Parameter
Name Description
value PairwiseMetricInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setPairwiseMetricInput(PairwiseMetricInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setPairwiseMetricInput(PairwiseMetricInput.Builder builderForValue)

Input for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29;

Parameter
Name Description
builderForValue PairwiseMetricInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setPairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput value)

public EvaluateInstancesRequest.Builder setPairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput value)

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Parameter
Name Description
value PairwiseQuestionAnsweringQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setPairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setPairwiseQuestionAnsweringQualityInput(PairwiseQuestionAnsweringQualityInput.Builder builderForValue)

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Parameter
Name Description
builderForValue PairwiseQuestionAnsweringQualityInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setPairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput value)

public EvaluateInstancesRequest.Builder setPairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput value)

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Parameter
Name Description
value PairwiseSummarizationQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setPairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setPairwiseSummarizationQualityInput(PairwiseSummarizationQualityInput.Builder builderForValue)

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Parameter
Name Description
builderForValue PairwiseSummarizationQualityInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setPointwiseMetricInput(PointwiseMetricInput value)

public EvaluateInstancesRequest.Builder setPointwiseMetricInput(PointwiseMetricInput value)

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Parameter
Name Description
value PointwiseMetricInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setPointwiseMetricInput(PointwiseMetricInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setPointwiseMetricInput(PointwiseMetricInput.Builder builderForValue)

Input for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28;

Parameter
Name Description
builderForValue PointwiseMetricInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput value)

public EvaluateInstancesRequest.Builder setQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput value)

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Parameter
Name Description
value QuestionAnsweringCorrectnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setQuestionAnsweringCorrectnessInput(QuestionAnsweringCorrectnessInput.Builder builderForValue)

Input for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Parameter
Name Description
builderForValue QuestionAnsweringCorrectnessInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput value)

public EvaluateInstancesRequest.Builder setQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput value)

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Parameter
Name Description
value QuestionAnsweringHelpfulnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setQuestionAnsweringHelpfulnessInput(QuestionAnsweringHelpfulnessInput.Builder builderForValue)

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Parameter
Name Description
builderForValue QuestionAnsweringHelpfulnessInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringQualityInput(QuestionAnsweringQualityInput value)

public EvaluateInstancesRequest.Builder setQuestionAnsweringQualityInput(QuestionAnsweringQualityInput value)

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Parameter
Name Description
value QuestionAnsweringQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringQualityInput(QuestionAnsweringQualityInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setQuestionAnsweringQualityInput(QuestionAnsweringQualityInput.Builder builderForValue)

Input for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Parameter
Name Description
builderForValue QuestionAnsweringQualityInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput value)

public EvaluateInstancesRequest.Builder setQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput value)

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Parameter
Name Description
value QuestionAnsweringRelevanceInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setQuestionAnsweringRelevanceInput(QuestionAnsweringRelevanceInput.Builder builderForValue)

Input for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Parameter
Name Description
builderForValue QuestionAnsweringRelevanceInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

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

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

setRougeInput(RougeInput value)

public EvaluateInstancesRequest.Builder setRougeInput(RougeInput value)

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Parameter
Name Description
value RougeInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setRougeInput(RougeInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setRougeInput(RougeInput.Builder builderForValue)

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1.RougeInput rouge_input = 4;

Parameter
Name Description
builderForValue RougeInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setSafetyInput(SafetyInput value)

public EvaluateInstancesRequest.Builder setSafetyInput(SafetyInput value)

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Parameter
Name Description
value SafetyInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setSafetyInput(SafetyInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setSafetyInput(SafetyInput.Builder builderForValue)

Input for safety metric.

.google.cloud.aiplatform.v1.SafetyInput safety_input = 8;

Parameter
Name Description
builderForValue SafetyInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationHelpfulnessInput(SummarizationHelpfulnessInput value)

public EvaluateInstancesRequest.Builder setSummarizationHelpfulnessInput(SummarizationHelpfulnessInput value)

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Parameter
Name Description
value SummarizationHelpfulnessInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationHelpfulnessInput(SummarizationHelpfulnessInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setSummarizationHelpfulnessInput(SummarizationHelpfulnessInput.Builder builderForValue)

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Parameter
Name Description
builderForValue SummarizationHelpfulnessInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationQualityInput(SummarizationQualityInput value)

public EvaluateInstancesRequest.Builder setSummarizationQualityInput(SummarizationQualityInput value)

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Parameter
Name Description
value SummarizationQualityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationQualityInput(SummarizationQualityInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setSummarizationQualityInput(SummarizationQualityInput.Builder builderForValue)

Input for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7;

Parameter
Name Description
builderForValue SummarizationQualityInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationVerbosityInput(SummarizationVerbosityInput value)

public EvaluateInstancesRequest.Builder setSummarizationVerbosityInput(SummarizationVerbosityInput value)

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Parameter
Name Description
value SummarizationVerbosityInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setSummarizationVerbosityInput(SummarizationVerbosityInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setSummarizationVerbosityInput(SummarizationVerbosityInput.Builder builderForValue)

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Parameter
Name Description
builderForValue SummarizationVerbosityInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolCallValidInput(ToolCallValidInput value)

public EvaluateInstancesRequest.Builder setToolCallValidInput(ToolCallValidInput value)

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Parameter
Name Description
value ToolCallValidInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolCallValidInput(ToolCallValidInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setToolCallValidInput(ToolCallValidInput.Builder builderForValue)

Tool call metric instances. Input for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19;

Parameter
Name Description
builderForValue ToolCallValidInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolNameMatchInput(ToolNameMatchInput value)

public EvaluateInstancesRequest.Builder setToolNameMatchInput(ToolNameMatchInput value)

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Parameter
Name Description
value ToolNameMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolNameMatchInput(ToolNameMatchInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setToolNameMatchInput(ToolNameMatchInput.Builder builderForValue)

Input for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20;

Parameter
Name Description
builderForValue ToolNameMatchInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolParameterKeyMatchInput(ToolParameterKeyMatchInput value)

public EvaluateInstancesRequest.Builder setToolParameterKeyMatchInput(ToolParameterKeyMatchInput value)

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Parameter
Name Description
value ToolParameterKeyMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolParameterKeyMatchInput(ToolParameterKeyMatchInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setToolParameterKeyMatchInput(ToolParameterKeyMatchInput.Builder builderForValue)

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Parameter
Name Description
builderForValue ToolParameterKeyMatchInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolParameterKvMatchInput(ToolParameterKVMatchInput value)

public EvaluateInstancesRequest.Builder setToolParameterKvMatchInput(ToolParameterKVMatchInput value)

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Parameter
Name Description
value ToolParameterKVMatchInput
Returns
Type Description
EvaluateInstancesRequest.Builder

setToolParameterKvMatchInput(ToolParameterKVMatchInput.Builder builderForValue)

public EvaluateInstancesRequest.Builder setToolParameterKvMatchInput(ToolParameterKVMatchInput.Builder builderForValue)

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Parameter
Name Description
builderForValue ToolParameterKVMatchInput.Builder
Returns
Type Description
EvaluateInstancesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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