Package com.google.cloud.documentai.v1
Class EvaluationReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EvaluationReference.Builder>
com.google.cloud.documentai.v1.EvaluationReference.Builder
- All Implemented Interfaces:
EvaluationReferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EvaluationReference
public static final class EvaluationReference.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An aggregate of the statistics for the evaluation with fuzzy matching on.An aggregate of the statistics for the evaluation with fuzzy matching off.The resource name of the evaluation.The resource name of the Long Running Operation for the evaluation.An aggregate of the statistics for the evaluation with fuzzy matching on.An aggregate of the statistics for the evaluation with fuzzy matching on.An aggregate of the statistics for the evaluation with fuzzy matching off.An aggregate of the statistics for the evaluation with fuzzy matching off.An aggregate of the statistics for the evaluation with fuzzy matching off.An aggregate of the statistics for the evaluation with fuzzy matching on.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe resource name of the evaluation.com.google.protobuf.ByteStringThe resource name of the evaluation.The resource name of the Long Running Operation for the evaluation.com.google.protobuf.ByteStringThe resource name of the Long Running Operation for the evaluation.booleanAn aggregate of the statistics for the evaluation with fuzzy matching on.booleanAn aggregate of the statistics for the evaluation with fuzzy matching off.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAn aggregate of the statistics for the evaluation with fuzzy matching on.An aggregate of the statistics for the evaluation with fuzzy matching off.mergeFrom(EvaluationReference other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An aggregate of the statistics for the evaluation with fuzzy matching on.setAggregateMetrics(Evaluation.Metrics.Builder builderForValue) An aggregate of the statistics for the evaluation with fuzzy matching on.An aggregate of the statistics for the evaluation with fuzzy matching off.setAggregateMetricsExact(Evaluation.Metrics.Builder builderForValue) An aggregate of the statistics for the evaluation with fuzzy matching off.setEvaluation(String value) The resource name of the evaluation.setEvaluationBytes(com.google.protobuf.ByteString value) The resource name of the evaluation.setOperation(String value) The resource name of the Long Running Operation for the evaluation.setOperationBytes(com.google.protobuf.ByteString value) The resource name of the Long Running Operation for the evaluation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EvaluationReference.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EvaluationReference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EvaluationReference.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EvaluationReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EvaluationReference.Builder>
-
mergeFrom
public EvaluationReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EvaluationReference.Builder>- Throws:
IOException
-
getOperation
The resource name of the Long Running Operation for the evaluation.
string operation = 1;- Specified by:
getOperationin interfaceEvaluationReferenceOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()The resource name of the Long Running Operation for the evaluation.
string operation = 1;- Specified by:
getOperationBytesin interfaceEvaluationReferenceOrBuilder- Returns:
- The bytes for operation.
-
setOperation
The resource name of the Long Running Operation for the evaluation.
string operation = 1;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
The resource name of the Long Running Operation for the evaluation.
string operation = 1;- Returns:
- This builder for chaining.
-
setOperationBytes
The resource name of the Long Running Operation for the evaluation.
string operation = 1;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
getEvaluation
The resource name of the evaluation.
string evaluation = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getEvaluationin interfaceEvaluationReferenceOrBuilder- Returns:
- The evaluation.
-
getEvaluationBytes
public com.google.protobuf.ByteString getEvaluationBytes()The resource name of the evaluation.
string evaluation = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getEvaluationBytesin interfaceEvaluationReferenceOrBuilder- Returns:
- The bytes for evaluation.
-
setEvaluation
The resource name of the evaluation.
string evaluation = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The evaluation to set.- Returns:
- This builder for chaining.
-
clearEvaluation
The resource name of the evaluation.
string evaluation = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setEvaluationBytes
The resource name of the evaluation.
string evaluation = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for evaluation to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasAggregateMetricsin interfaceEvaluationReferenceOrBuilder- Returns:
- Whether the aggregateMetrics field is set.
-
getAggregateMetrics
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4;- Specified by:
getAggregateMetricsin interfaceEvaluationReferenceOrBuilder- Returns:
- The aggregateMetrics.
-
setAggregateMetrics
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4; -
setAggregateMetrics
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4; -
mergeAggregateMetrics
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4; -
clearAggregateMetrics
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4; -
getAggregateMetricsBuilder
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4; -
getAggregateMetricsOrBuilder
An aggregate of the statistics for the evaluation with fuzzy matching on.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4;- Specified by:
getAggregateMetricsOrBuilderin interfaceEvaluationReferenceOrBuilder
-
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;- Specified by:
hasAggregateMetricsExactin interfaceEvaluationReferenceOrBuilder- Returns:
- Whether the aggregateMetricsExact field is set.
-
getAggregateMetricsExact
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5;- Specified by:
getAggregateMetricsExactin interfaceEvaluationReferenceOrBuilder- Returns:
- The aggregateMetricsExact.
-
setAggregateMetricsExact
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5; -
setAggregateMetricsExact
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; -
mergeAggregateMetricsExact
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5; -
clearAggregateMetricsExact
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5; -
getAggregateMetricsExactBuilder
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5; -
getAggregateMetricsExactOrBuilder
An aggregate of the statistics for the evaluation with fuzzy matching off.
.google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5;- Specified by:
getAggregateMetricsExactOrBuilderin interfaceEvaluationReferenceOrBuilder
-