Interface Evaluation.EvaluationRevisionOrBuilder (2.89.0)

public static interface Evaluation.EvaluationRevisionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEntityMetrics(String key)

public abstract 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
Returns
Type Description
boolean

getAllEntitiesMetrics()

public abstract 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];

Returns
Type Description
Evaluation.MultiConfidenceMetrics

The allEntitiesMetrics.

getAllEntitiesMetricsOrBuilder()

public abstract 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];

Returns
Type Description
Evaluation.MultiConfidenceMetricsOrBuilder

getDocumentCounters()

public abstract 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];

Returns
Type Description
Evaluation.Counters

The documentCounters.

getDocumentCountersOrBuilder()

public abstract 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];

Returns
Type Description
Evaluation.CountersOrBuilder

getEntityMetrics() (deprecated)

public abstract Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetrics()
Returns
Type Description
Map<String,MultiConfidenceMetrics>

getEntityMetricsCount()

public abstract 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 abstract 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];

Returns
Type Description
Map<String,MultiConfidenceMetrics>

getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue Evaluation.MultiConfidenceMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics

getEntityMetricsOrThrow(String key)

public abstract 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
Returns
Type Description
Evaluation.MultiConfidenceMetrics

getRevisionId()

public abstract 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 abstract 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.

hasAllEntitiesMetrics()

public abstract 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 abstract 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.