Class ListEvaluationResultsResponse.EvaluationResult (0.44.0)

public static final class ListEvaluationResultsResponse.EvaluationResult extends GeneratedMessageV3 implements ListEvaluationResultsResponse.EvaluationResultOrBuilder

Represents the results of an evaluation for a single SampleQuery.

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

Inheritance

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

Static Fields

QUALITY_METRICS_FIELD_NUMBER

public static final int QUALITY_METRICS_FIELD_NUMBER
Field Value
Type Description
int

SAMPLE_QUERY_FIELD_NUMBER

public static final int SAMPLE_QUERY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListEvaluationResultsResponse.EvaluationResult getDefaultInstance()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult

getDescriptor()

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

newBuilder()

public static ListEvaluationResultsResponse.EvaluationResult.Builder newBuilder()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

newBuilder(ListEvaluationResultsResponse.EvaluationResult prototype)

public static ListEvaluationResultsResponse.EvaluationResult.Builder newBuilder(ListEvaluationResultsResponse.EvaluationResult prototype)
Parameter
Name Description
prototype ListEvaluationResultsResponse.EvaluationResult
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

parseDelimitedFrom(InputStream input)

public static ListEvaluationResultsResponse.EvaluationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationResultsResponse.EvaluationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListEvaluationResultsResponse.EvaluationResult> parser()
Returns
Type Description
Parser<EvaluationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ListEvaluationResultsResponse.EvaluationResult> getParserForType()
Returns
Type Description
Parser<EvaluationResult>
Overrides

getQualityMetrics()

public QualityMetrics getQualityMetrics()

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

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

Returns
Type Description
QualityMetrics

The qualityMetrics.

getQualityMetricsOrBuilder()

public QualityMetricsOrBuilder getQualityMetricsOrBuilder()

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

.google.cloud.discoveryengine.v1beta.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.v1beta.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SampleQuery

The sampleQuery.

getSampleQueryOrBuilder()

public SampleQueryOrBuilder getSampleQueryOrBuilder()

Output only. The SampleQuery that was evaluated.

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

Returns
Type Description
SampleQueryOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasQualityMetrics()

public boolean hasQualityMetrics()

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

.google.cloud.discoveryengine.v1beta.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.v1beta.SampleQuery sample_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sampleQuery field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListEvaluationResultsResponse.EvaluationResult.Builder newBuilderForType()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListEvaluationResultsResponse.EvaluationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListEvaluationResultsResponse.EvaluationResult.Builder toBuilder()
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException