Class EvaluationReference.Builder (2.32.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.v1.EvaluationReference

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationReference.Builder
Overrides

build()

public EvaluationReference build()
Returns
TypeDescription
EvaluationReference

buildPartial()

public EvaluationReference buildPartial()
Returns
TypeDescription
EvaluationReference

clear()

public EvaluationReference.Builder clear()
Returns
TypeDescription
EvaluationReference.Builder
Overrides

clearAggregateMetrics()

public EvaluationReference.Builder clearAggregateMetrics()

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

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

Returns
TypeDescription
EvaluationReference.Builder

clearAggregateMetricsExact()

public EvaluationReference.Builder clearAggregateMetricsExact()

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

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

Returns
TypeDescription
EvaluationReference.Builder

clearEvaluation()

public EvaluationReference.Builder clearEvaluation()

The resource name of the evaluation.

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

Returns
TypeDescription
EvaluationReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EvaluationReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EvaluationReference.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EvaluationReference.Builder
Overrides

clearOperation()

public EvaluationReference.Builder clearOperation()

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

string operation = 1;

Returns
TypeDescription
EvaluationReference.Builder

This builder for chaining.

clone()

public EvaluationReference.Builder clone()
Returns
TypeDescription
EvaluationReference.Builder
Overrides

getAggregateMetrics()

public Evaluation.Metrics getAggregateMetrics()

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

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

Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics = 4;

Returns
TypeDescription
Evaluation.Metrics.Builder

getAggregateMetricsExact()

public Evaluation.Metrics getAggregateMetricsExact()

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

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

Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
TypeDescription
Evaluation.Metrics.Builder

getAggregateMetricsExactOrBuilder()

public Evaluation.MetricsOrBuilder getAggregateMetricsExactOrBuilder()

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

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

Returns
TypeDescription
Evaluation.MetricsOrBuilder

getAggregateMetricsOrBuilder()

public Evaluation.MetricsOrBuilder getAggregateMetricsOrBuilder()

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

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

Returns
TypeDescription
Evaluation.MetricsOrBuilder

getDefaultInstanceForType()

public EvaluationReference getDefaultInstanceForType()
Returns
TypeDescription
EvaluationReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvaluation()

public String getEvaluation()

The resource name of the evaluation.

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

Returns
TypeDescription
String

The evaluation.

getEvaluationBytes()

public ByteString getEvaluationBytes()

The resource name of the evaluation.

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

Returns
TypeDescription
ByteString

The bytes for evaluation.

getOperation()

public String getOperation()

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

string operation = 1;

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

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

string operation = 1;

Returns
TypeDescription
ByteString

The bytes for operation.

hasAggregateMetrics()

public boolean hasAggregateMetrics()

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

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

Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics_exact = 5;

Returns
TypeDescription
boolean

Whether the aggregateMetricsExact field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics = 4;

Parameter
NameDescription
valueEvaluation.Metrics
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
NameDescription
valueEvaluation.Metrics
Returns
TypeDescription
EvaluationReference.Builder

mergeFrom(EvaluationReference other)

public EvaluationReference.Builder mergeFrom(EvaluationReference other)
Parameter
NameDescription
otherEvaluationReference
Returns
TypeDescription
EvaluationReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationReference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EvaluationReference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EvaluationReference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics = 4;

Parameter
NameDescription
valueEvaluation.Metrics
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics = 4;

Parameter
NameDescription
builderForValueEvaluation.Metrics.Builder
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
NameDescription
valueEvaluation.Metrics
Returns
TypeDescription
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.v1.Evaluation.Metrics aggregate_metrics_exact = 5;

Parameter
NameDescription
builderForValueEvaluation.Metrics.Builder
Returns
TypeDescription
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
NameDescription
valueString

The evaluation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for evaluation to set.

Returns
TypeDescription
EvaluationReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The operation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EvaluationReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluationReference.Builder
Overrides