public static final class Evaluation.EvaluationRevision extends GeneratedMessage implements Evaluation.EvaluationRevisionOrBuilder
A revision of the evaluation.
Protobuf type google.cloud.documentai.v1beta3.Evaluation.EvaluationRevision
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALL_ENTITIES_METRICS_FIELD_NUMBER
public static final int ALL_ENTITIES_METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DOCUMENT_COUNTERS_FIELD_NUMBER
public static final int DOCUMENT_COUNTERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTITY_METRICS_FIELD_NUMBER
public static final int ENTITY_METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Evaluation.EvaluationRevision getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Evaluation.EvaluationRevision.Builder newBuilder()
newBuilder(Evaluation.EvaluationRevision prototype)
public static Evaluation.EvaluationRevision.Builder newBuilder(Evaluation.EvaluationRevision prototype)
public static Evaluation.EvaluationRevision parseDelimitedFrom(InputStream input)
public static Evaluation.EvaluationRevision parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Evaluation.EvaluationRevision parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationRevision parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Evaluation.EvaluationRevision parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationRevision parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationRevision parseFrom(CodedInputStream input)
public static Evaluation.EvaluationRevision parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationRevision parseFrom(InputStream input)
public static Evaluation.EvaluationRevision parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Evaluation.EvaluationRevision parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationRevision parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Evaluation.EvaluationRevision> parser()
Methods
containsEntityMetrics(String key)
public boolean containsEntityMetrics(String key)
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];
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllEntitiesMetrics()
public Evaluation.MultiConfidenceMetrics 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];
getAllEntitiesMetricsOrBuilder()
public Evaluation.MultiConfidenceMetricsOrBuilder 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];
getDefaultInstanceForType()
public Evaluation.EvaluationRevision getDefaultInstanceForType()
getDocumentCounters()
public Evaluation.Counters 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];
getDocumentCountersOrBuilder()
public Evaluation.CountersOrBuilder 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];
getEntityMetrics() (deprecated)
public Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetrics()
getEntityMetricsCount()
public int getEntityMetricsCount()
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];
| Returns |
| Type |
Description |
int |
|
getEntityMetricsMap()
public Map<String,Evaluation.MultiConfidenceMetrics> 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];
getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue)
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];
getEntityMetricsOrThrow(String key)
public Evaluation.MultiConfidenceMetrics getEntityMetricsOrThrow(String key)
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];
| Parameter |
| Name |
Description |
key |
String
|
getParserForType()
public Parser<Evaluation.EvaluationRevision> getParserForType()
Overrides
getRevisionId()
public String getRevisionId()
Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The revisionId.
|
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Output only. The revision ID of the evaluation.
string revision_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for revisionId.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
| Returns |
| Type |
Description |
boolean |
Whether the allEntitiesMetrics field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the documentCounters field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Evaluation.EvaluationRevision.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Evaluation.EvaluationRevision.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Evaluation.EvaluationRevision.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides