Class Evaluation.EvaluationRevision.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.Builder>
com.google.cloud.documentai.v1beta3.Evaluation.EvaluationRevision.Builder
- All Implemented Interfaces:
Evaluation.EvaluationRevisionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Evaluation.EvaluationRevision
public static final class Evaluation.EvaluationRevision.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.Builder>
implements Evaluation.EvaluationRevisionOrBuilder
A revision of the evaluation.Protobuf type
google.cloud.documentai.v1beta3.Evaluation.EvaluationRevision-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.booleanOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Deprecated.intOutput only.Output only.getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue) Output only.Output only.Deprecated.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanOutput only.Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.putEntityMetrics(String key, Evaluation.MultiConfidenceMetrics value) Output only.Output only.Output only.Output only.setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics.Builder builderForValue) Output only.Output only.setDocumentCounters(Evaluation.Counters.Builder builderForValue) Output only.setRevisionId(String value) Output only.setRevisionIdBytes(com.google.protobuf.ByteString value) Output only.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.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<Evaluation.EvaluationRevision.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<Evaluation.EvaluationRevision.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<Evaluation.EvaluationRevision.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.EvaluationRevision.Builder>
-
mergeFrom
public Evaluation.EvaluationRevision.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<Evaluation.EvaluationRevision.Builder>- Throws:
IOException
-
getRevisionId
Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
public Evaluation.EvaluationRevision.Builder setRevisionIdBytes(com.google.protobuf.ByteString value) Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
hasDocumentCounters
public boolean hasDocumentCounters()Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDocumentCountersin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- Whether the documentCounters field is set.
-
getDocumentCounters
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDocumentCountersin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- The documentCounters.
-
setDocumentCounters
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDocumentCounters
public Evaluation.EvaluationRevision.Builder setDocumentCounters(Evaluation.Counters.Builder builderForValue) Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDocumentCounters
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDocumentCounters
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDocumentCountersBuilder
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDocumentCountersOrBuilder
Output only. Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDocumentCountersOrBuilderin interfaceEvaluation.EvaluationRevisionOrBuilder
-
hasAllEntitiesMetrics
public boolean hasAllEntitiesMetrics()Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAllEntitiesMetricsin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- Whether the allEntitiesMetrics field is set.
-
getAllEntitiesMetrics
Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllEntitiesMetricsin interfaceEvaluation.EvaluationRevisionOrBuilder- Returns:
- The allEntitiesMetrics.
-
setAllEntitiesMetrics
public Evaluation.EvaluationRevision.Builder setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value) Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAllEntitiesMetrics
public Evaluation.EvaluationRevision.Builder setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics.Builder builderForValue) Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAllEntitiesMetrics
public Evaluation.EvaluationRevision.Builder mergeAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value) Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAllEntitiesMetrics
Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAllEntitiesMetricsBuilder
Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAllEntitiesMetricsOrBuilder
Output only. Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllEntitiesMetricsOrBuilderin interfaceEvaluation.EvaluationRevisionOrBuilder
-
getEntityMetricsCount
public int getEntityMetricsCount()Description copied from interface:Evaluation.EvaluationRevisionOrBuilderOutput only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntityMetricsCountin interfaceEvaluation.EvaluationRevisionOrBuilder
-
containsEntityMetrics
Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsEntityMetricsin interfaceEvaluation.EvaluationRevisionOrBuilder
-
getEntityMetrics
Deprecated.UsegetEntityMetricsMap()instead.- Specified by:
getEntityMetricsin interfaceEvaluation.EvaluationRevisionOrBuilder
-
getEntityMetricsMap
Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntityMetricsMapin interfaceEvaluation.EvaluationRevisionOrBuilder
-
getEntityMetricsOrDefault
public Evaluation.MultiConfidenceMetrics getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue) Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntityMetricsOrDefaultin interfaceEvaluation.EvaluationRevisionOrBuilder
-
getEntityMetricsOrThrow
Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntityMetricsOrThrowin interfaceEvaluation.EvaluationRevisionOrBuilder
-
clearEntityMetrics
-
removeEntityMetrics
Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMutableEntityMetrics
Deprecated.Use alternate mutation accessors instead. -
putEntityMetrics
public Evaluation.EvaluationRevision.Builder putEntityMetrics(String key, Evaluation.MultiConfidenceMetrics value) Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putAllEntityMetrics
public Evaluation.EvaluationRevision.Builder putAllEntityMetrics(Map<String, Evaluation.MultiConfidenceMetrics> values) Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putEntityMetricsBuilderIfAbsent
Output only. Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-