Class EvaluationReference.Builder (2.59.0)

public static final class EvaluationReference.Builder extends GeneratedMessageV3.Builder<EvaluationReference.Builder> implements EvaluationReferenceOrBuilder

Gives a short summary of an evaluation, and links to the evaluation itself.

Protobuf type google.cloud.documentai.v1beta3.EvaluationReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluationReference build()
Returns
Type Description
EvaluationReference

buildPartial()

public EvaluationReference buildPartial()
Returns
Type Description
EvaluationReference

clear()

public EvaluationReference.Builder clear()
Returns
Type Description
EvaluationReference.Builder
Overrides

clearAggregateMetrics()

public EvaluationReference.Builder clearAggregateMetrics()

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Returns
Type Description
EvaluationReference.Builder

clearAggregateMetricsExact()

public EvaluationReference.Builder clearAggregateMetricsExact()

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
Type Description
EvaluationReference.Builder

clearEvaluation()

public EvaluationReference.Builder clearEvaluation()

The resource name of the evaluation.

string evaluation = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public EvaluationReference.Builder clearOperation()

The resource name of the Long Running Operation for the evaluation.

string operation = 1;

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

clone()

public EvaluationReference.Builder clone()
Returns
Type Description
EvaluationReference.Builder
Overrides

getAggregateMetrics()

public Evaluation.Metrics getAggregateMetrics()

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Returns
Type Description
Evaluation.Metrics

The aggregateMetrics.

getAggregateMetricsBuilder()

public Evaluation.Metrics.Builder getAggregateMetricsBuilder()

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Returns
Type Description
Evaluation.Metrics.Builder

getAggregateMetricsExact()

public Evaluation.Metrics getAggregateMetricsExact()

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
Type Description
Evaluation.Metrics

The aggregateMetricsExact.

getAggregateMetricsExactBuilder()

public Evaluation.Metrics.Builder getAggregateMetricsExactBuilder()

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
Type Description
Evaluation.Metrics.Builder

getAggregateMetricsExactOrBuilder()

public Evaluation.MetricsOrBuilder getAggregateMetricsExactOrBuilder()

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
Type Description
Evaluation.MetricsOrBuilder

getAggregateMetricsOrBuilder()

public Evaluation.MetricsOrBuilder getAggregateMetricsOrBuilder()

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Returns
Type Description
Evaluation.MetricsOrBuilder

getDefaultInstanceForType()

public EvaluationReference getDefaultInstanceForType()
Returns
Type Description
EvaluationReference

getDescriptorForType()

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

getEvaluation()

public String getEvaluation()

The resource name of the evaluation.

string evaluation = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The evaluation.

getEvaluationBytes()

public ByteString getEvaluationBytes()

The resource name of the evaluation.

string evaluation = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for evaluation.

getOperation()

public String getOperation()

The resource name of the Long Running Operation for the evaluation.

string operation = 1;

Returns
Type Description
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

The resource name of the Long Running Operation for the evaluation.

string operation = 1;

Returns
Type Description
ByteString

The bytes for operation.

hasAggregateMetrics()

public boolean hasAggregateMetrics()

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Returns
Type Description
boolean

Whether the aggregateMetrics field is set.

hasAggregateMetricsExact()

public boolean hasAggregateMetricsExact()

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
Type Description
boolean

Whether the aggregateMetricsExact field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAggregateMetrics(Evaluation.Metrics value)

public EvaluationReference.Builder mergeAggregateMetrics(Evaluation.Metrics value)

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Parameter
Name Description
value Evaluation.Metrics
Returns
Type Description
EvaluationReference.Builder

mergeAggregateMetricsExact(Evaluation.Metrics value)

public EvaluationReference.Builder mergeAggregateMetricsExact(Evaluation.Metrics value)

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
Name Description
value Evaluation.Metrics
Returns
Type Description
EvaluationReference.Builder

mergeFrom(EvaluationReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAggregateMetrics(Evaluation.Metrics value)

public EvaluationReference.Builder setAggregateMetrics(Evaluation.Metrics value)

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Parameter
Name Description
value Evaluation.Metrics
Returns
Type Description
EvaluationReference.Builder

setAggregateMetrics(Evaluation.Metrics.Builder builderForValue)

public EvaluationReference.Builder setAggregateMetrics(Evaluation.Metrics.Builder builderForValue)

An aggregate of the statistics for the evaluation with fuzzy matching on.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics = 4;

Parameter
Name Description
builderForValue Evaluation.Metrics.Builder
Returns
Type Description
EvaluationReference.Builder

setAggregateMetricsExact(Evaluation.Metrics value)

public EvaluationReference.Builder setAggregateMetricsExact(Evaluation.Metrics value)

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
Name Description
value Evaluation.Metrics
Returns
Type Description
EvaluationReference.Builder

setAggregateMetricsExact(Evaluation.Metrics.Builder builderForValue)

public EvaluationReference.Builder setAggregateMetricsExact(Evaluation.Metrics.Builder builderForValue)

An aggregate of the statistics for the evaluation with fuzzy matching off.

.google.cloud.documentai.v1beta3.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
Name Description
builderForValue Evaluation.Metrics.Builder
Returns
Type Description
EvaluationReference.Builder

setEvaluation(String value)

public EvaluationReference.Builder setEvaluation(String value)

The resource name of the evaluation.

string evaluation = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The evaluation to set.

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

setEvaluationBytes(ByteString value)

public EvaluationReference.Builder setEvaluationBytes(ByteString value)

The resource name of the evaluation.

string evaluation = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for evaluation to set.

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(String value)

public EvaluationReference.Builder setOperation(String value)

The resource name of the Long Running Operation for the evaluation.

string operation = 1;

Parameter
Name Description
value String

The operation to set.

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public EvaluationReference.Builder setOperationBytes(ByteString value)

The resource name of the Long Running Operation for the evaluation.

string operation = 1;

Parameter
Name Description
value ByteString

The bytes for operation to set.

Returns
Type Description
EvaluationReference.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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