Interface SearchExampleComparisonsResponse.ExampleComparisonOrBuilder (0.134.0)

public static interface SearchExampleComparisonsResponse.ExampleComparisonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroundTruthExample()

public abstract Example getGroundTruthExample()

The ground truth output for the input.

.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;

Returns
TypeDescription
Example

The groundTruthExample.

getGroundTruthExampleOrBuilder()

public abstract ExampleOrBuilder getGroundTruthExampleOrBuilder()

The ground truth output for the input.

.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;

Returns
TypeDescription
ExampleOrBuilder

getModelCreatedExamples(int index)

public abstract Example getModelCreatedExamples(int index)

Predictions by the model for the input.

repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Example

getModelCreatedExamplesCount()

public abstract int getModelCreatedExamplesCount()

Predictions by the model for the input.

repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;

Returns
TypeDescription
int

getModelCreatedExamplesList()

public abstract List<Example> getModelCreatedExamplesList()

Predictions by the model for the input.

repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;

Returns
TypeDescription
List<Example>

getModelCreatedExamplesOrBuilder(int index)

public abstract ExampleOrBuilder getModelCreatedExamplesOrBuilder(int index)

Predictions by the model for the input.

repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExampleOrBuilder

getModelCreatedExamplesOrBuilderList()

public abstract List<? extends ExampleOrBuilder> getModelCreatedExamplesOrBuilderList()

Predictions by the model for the input.

repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.ExampleOrBuilder>

hasGroundTruthExample()

public abstract boolean hasGroundTruthExample()

The ground truth output for the input.

.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;

Returns
TypeDescription
boolean

Whether the groundTruthExample field is set.