Interface SearchExampleComparisonsResponse.ExampleComparisonOrBuilder (0.172.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Example

getModelCreatedExamplesCount()

public abstract int getModelCreatedExamplesCount()

Predictions by the model for the input.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the groundTruthExample field is set.