public static final class SearchExampleComparisonsResponse.ExampleComparison.Builder extends GeneratedMessage.Builder<SearchExampleComparisonsResponse.ExampleComparison.Builder> implements SearchExampleComparisonsResponse.ExampleComparisonOrBuilderExample comparisons comparing ground truth output and predictions for a specific input.
Protobuf type
google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchExampleComparisonsResponse.ExampleComparison.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllModelCreatedExamples(Iterable<? extends Example> values)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addAllModelCreatedExamples(Iterable<? extends Example> values)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.datalabeling.v1beta1.Example> |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
addModelCreatedExamples(Example value)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addModelCreatedExamples(Example value)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
addModelCreatedExamples(Example.Builder builderForValue)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addModelCreatedExamples(Example.Builder builderForValue)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Example.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
addModelCreatedExamples(int index, Example value)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addModelCreatedExamples(int index, Example value)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
addModelCreatedExamples(int index, Example.Builder builderForValue)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addModelCreatedExamples(int index, Example.Builder builderForValue)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Example.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
addModelCreatedExamplesBuilder()
public Example.Builder addModelCreatedExamplesBuilder()Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Returns | |
|---|---|
| Type | Description |
Example.Builder |
|
addModelCreatedExamplesBuilder(int index)
public Example.Builder addModelCreatedExamplesBuilder(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.Builder |
|
build()
public SearchExampleComparisonsResponse.ExampleComparison build()| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison |
|
buildPartial()
public SearchExampleComparisonsResponse.ExampleComparison buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison |
|
clear()
public SearchExampleComparisonsResponse.ExampleComparison.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
clearGroundTruthExample()
public SearchExampleComparisonsResponse.ExampleComparison.Builder clearGroundTruthExample()The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
clearModelCreatedExamples()
public SearchExampleComparisonsResponse.ExampleComparison.Builder clearModelCreatedExamples()Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
getDefaultInstanceForType()
public SearchExampleComparisonsResponse.ExampleComparison getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroundTruthExample()
public Example getGroundTruthExample()The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Returns | |
|---|---|
| Type | Description |
Example |
The groundTruthExample. |
getGroundTruthExampleBuilder()
public Example.Builder getGroundTruthExampleBuilder()The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Returns | |
|---|---|
| Type | Description |
Example.Builder |
|
getGroundTruthExampleOrBuilder()
public 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 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 |
|
getModelCreatedExamplesBuilder(int index)
public Example.Builder getModelCreatedExamplesBuilder(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.Builder |
|
getModelCreatedExamplesBuilderList()
public List<Example.Builder> getModelCreatedExamplesBuilderList()Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getModelCreatedExamplesCount()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchExampleComparisonsResponse.ExampleComparison other)
public SearchExampleComparisonsResponse.ExampleComparison.Builder mergeFrom(SearchExampleComparisonsResponse.ExampleComparison other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchExampleComparisonsResponse.ExampleComparison |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchExampleComparisonsResponse.ExampleComparison.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchExampleComparisonsResponse.ExampleComparison.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
mergeGroundTruthExample(Example value)
public SearchExampleComparisonsResponse.ExampleComparison.Builder mergeGroundTruthExample(Example value)The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
removeModelCreatedExamples(int index)
public SearchExampleComparisonsResponse.ExampleComparison.Builder removeModelCreatedExamples(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 |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
setGroundTruthExample(Example value)
public SearchExampleComparisonsResponse.ExampleComparison.Builder setGroundTruthExample(Example value)The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
setGroundTruthExample(Example.Builder builderForValue)
public SearchExampleComparisonsResponse.ExampleComparison.Builder setGroundTruthExample(Example.Builder builderForValue)The ground truth output for the input.
.google.cloud.datalabeling.v1beta1.Example ground_truth_example = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Example.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
setModelCreatedExamples(int index, Example value)
public SearchExampleComparisonsResponse.ExampleComparison.Builder setModelCreatedExamples(int index, Example value)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Example |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|
setModelCreatedExamples(int index, Example.Builder builderForValue)
public SearchExampleComparisonsResponse.ExampleComparison.Builder setModelCreatedExamples(int index, Example.Builder builderForValue)Predictions by the model for the input.
repeated .google.cloud.datalabeling.v1beta1.Example model_created_examples = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Example.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchExampleComparisonsResponse.ExampleComparison.Builder |
|