Class ListEvaluationResultsResponse.EvaluationResult.Builder (0.45.0)

public static final class ListEvaluationResultsResponse.EvaluationResult.Builder extends GeneratedMessageV3.Builder<ListEvaluationResultsResponse.EvaluationResult.Builder> implements ListEvaluationResultsResponse.EvaluationResultOrBuilder

Represents the results of an evaluation for a single SampleQuery.

Protobuf type google.cloud.discoveryengine.v1alpha.ListEvaluationResultsResponse.EvaluationResult

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListEvaluationResultsResponse.EvaluationResult.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationResultsResponse.EvaluationResult build()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult

buildPartial()

public ListEvaluationResultsResponse.EvaluationResult buildPartial()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult

clear()

public ListEvaluationResultsResponse.EvaluationResult.Builder clear()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQualityMetrics()

public ListEvaluationResultsResponse.EvaluationResult.Builder clearQualityMetrics()

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

clearSampleQuery()

public ListEvaluationResultsResponse.EvaluationResult.Builder clearSampleQuery()

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

clone()

public ListEvaluationResultsResponse.EvaluationResult.Builder clone()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder
Overrides

getDefaultInstanceForType()

public ListEvaluationResultsResponse.EvaluationResult getDefaultInstanceForType()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult

getDescriptorForType()

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

getQualityMetrics()

public QualityMetrics getQualityMetrics()

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QualityMetrics

The qualityMetrics.

getQualityMetricsBuilder()

public QualityMetrics.Builder getQualityMetricsBuilder()

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QualityMetrics.Builder

getQualityMetricsOrBuilder()

public QualityMetricsOrBuilder getQualityMetricsOrBuilder()

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QualityMetricsOrBuilder

getSampleQuery()

public SampleQuery getSampleQuery()

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SampleQuery

The sampleQuery.

getSampleQueryBuilder()

public SampleQuery.Builder getSampleQueryBuilder()

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SampleQuery.Builder

getSampleQueryOrBuilder()

public SampleQueryOrBuilder getSampleQueryOrBuilder()

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SampleQueryOrBuilder

hasQualityMetrics()

public boolean hasQualityMetrics()

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the qualityMetrics field is set.

hasSampleQuery()

public boolean hasSampleQuery()

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sampleQuery field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEvaluationResultsResponse.EvaluationResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQualityMetrics(QualityMetrics value)

public ListEvaluationResultsResponse.EvaluationResult.Builder mergeQualityMetrics(QualityMetrics value)

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value QualityMetrics
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

mergeSampleQuery(SampleQuery value)

public ListEvaluationResultsResponse.EvaluationResult.Builder mergeSampleQuery(SampleQuery value)

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SampleQuery
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQualityMetrics(QualityMetrics value)

public ListEvaluationResultsResponse.EvaluationResult.Builder setQualityMetrics(QualityMetrics value)

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value QualityMetrics
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

setQualityMetrics(QualityMetrics.Builder builderForValue)

public ListEvaluationResultsResponse.EvaluationResult.Builder setQualityMetrics(QualityMetrics.Builder builderForValue)

Output only. The metrics produced by the evaluation, for a given SampleQuery.

.google.cloud.discoveryengine.v1alpha.QualityMetrics quality_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue QualityMetrics.Builder
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

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

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

setSampleQuery(SampleQuery value)

public ListEvaluationResultsResponse.EvaluationResult.Builder setSampleQuery(SampleQuery value)

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SampleQuery
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

setSampleQuery(SampleQuery.Builder builderForValue)

public ListEvaluationResultsResponse.EvaluationResult.Builder setSampleQuery(SampleQuery.Builder builderForValue)

Output only. The SampleQuery that was evaluated.

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SampleQuery.Builder
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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