- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Evaluation.Builder extends GeneratedMessageV3.Builder<Evaluation.Builder> implements EvaluationOrBuilder
An evaluation of a ProcessorVersion's performance.
Protobuf type google.cloud.documentai.v1beta3.Evaluation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Evaluation.BuilderImplements
EvaluationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Builder |
build()
public Evaluation build()
Type | Description |
Evaluation |
buildPartial()
public Evaluation buildPartial()
Type | Description |
Evaluation |
clear()
public Evaluation.Builder clear()
Type | Description |
Evaluation.Builder |
clearAllEntitiesMetrics()
public Evaluation.Builder clearAllEntitiesMetrics()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Type | Description |
Evaluation.Builder |
clearCreateTime()
public Evaluation.Builder clearCreateTime()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Type | Description |
Evaluation.Builder |
clearDocumentCounters()
public Evaluation.Builder clearDocumentCounters()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Type | Description |
Evaluation.Builder |
clearEntityMetrics()
public Evaluation.Builder clearEntityMetrics()
Type | Description |
Evaluation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Evaluation.Builder |
clearKmsKeyName()
public Evaluation.Builder clearKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 6;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearKmsKeyVersionName()
public Evaluation.Builder clearKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearName()
public Evaluation.Builder clearName()
The resource name of the evaluation.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
string name = 1;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Evaluation.Builder |
clone()
public Evaluation.Builder clone()
Type | Description |
Evaluation.Builder |
containsEntityMetrics(String key)
public boolean containsEntityMetrics(String key)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getAllEntitiesMetrics()
public Evaluation.MultiConfidenceMetrics getAllEntitiesMetrics()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Type | Description |
Evaluation.MultiConfidenceMetrics | The allEntitiesMetrics. |
getAllEntitiesMetricsBuilder()
public Evaluation.MultiConfidenceMetrics.Builder getAllEntitiesMetricsBuilder()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
getAllEntitiesMetricsOrBuilder()
public Evaluation.MultiConfidenceMetricsOrBuilder getAllEntitiesMetricsOrBuilder()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Type | Description |
Evaluation.MultiConfidenceMetricsOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Evaluation getDefaultInstanceForType()
Type | Description |
Evaluation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDocumentCounters()
public Evaluation.Counters getDocumentCounters()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Type | Description |
Evaluation.Counters | The documentCounters. |
getDocumentCountersBuilder()
public Evaluation.Counters.Builder getDocumentCountersBuilder()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Type | Description |
Evaluation.Counters.Builder |
getDocumentCountersOrBuilder()
public Evaluation.CountersOrBuilder getDocumentCountersOrBuilder()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Type | Description |
Evaluation.CountersOrBuilder |
getEntityMetrics()
public Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetrics()
Use #getEntityMetricsMap() instead.
Type | Description |
Map<String,MultiConfidenceMetrics> |
getEntityMetricsCount()
public int getEntityMetricsCount()
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Type | Description |
int |
getEntityMetricsMap()
public Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetricsMap()
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Type | Description |
Map<String,MultiConfidenceMetrics> |
getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue)
public Evaluation.MultiConfidenceMetrics getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
key | String |
defaultValue | Evaluation.MultiConfidenceMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics |
getEntityMetricsOrThrow(String key)
public Evaluation.MultiConfidenceMetrics getEntityMetricsOrThrow(String key)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
key | String |
Type | Description |
Evaluation.MultiConfidenceMetrics |
getKmsKeyName()
public String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 6;
Type | Description |
String | The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 6;
Type | Description |
ByteString | The bytes for kmsKeyName. |
getKmsKeyVersionName()
public String getKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;
Type | Description |
String | The kmsKeyVersionName. |
getKmsKeyVersionNameBytes()
public ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;
Type | Description |
ByteString | The bytes for kmsKeyVersionName. |
getMutableEntityMetrics()
public Map<String,Evaluation.MultiConfidenceMetrics> getMutableEntityMetrics()
Use alternate mutation accessors instead.
Type | Description |
Map<String,MultiConfidenceMetrics> |
getName()
public String getName()
The resource name of the evaluation.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the evaluation.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
hasAllEntitiesMetrics()
public boolean hasAllEntitiesMetrics()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Type | Description |
boolean | Whether the allEntitiesMetrics field is set. |
hasCreateTime()
public boolean hasCreateTime()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Type | Description |
boolean | Whether the createTime field is set. |
hasDocumentCounters()
public boolean hasDocumentCounters()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Type | Description |
boolean | Whether the documentCounters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value)
public Evaluation.Builder mergeAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value)
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Name | Description |
value | Evaluation.MultiConfidenceMetrics |
Type | Description |
Evaluation.Builder |
mergeCreateTime(Timestamp value)
public Evaluation.Builder mergeCreateTime(Timestamp value)
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
mergeDocumentCounters(Evaluation.Counters value)
public Evaluation.Builder mergeDocumentCounters(Evaluation.Counters value)
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Name | Description |
value | Evaluation.Counters |
Type | Description |
Evaluation.Builder |
mergeFrom(Evaluation other)
public Evaluation.Builder mergeFrom(Evaluation other)
Name | Description |
other | Evaluation |
Type | Description |
Evaluation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Evaluation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Evaluation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Builder |
putAllEntityMetrics(Map<String,Evaluation.MultiConfidenceMetrics> values)
public Evaluation.Builder putAllEntityMetrics(Map<String,Evaluation.MultiConfidenceMetrics> values)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
values | Map<String,MultiConfidenceMetrics> |
Type | Description |
Evaluation.Builder |
putEntityMetrics(String key, Evaluation.MultiConfidenceMetrics value)
public Evaluation.Builder putEntityMetrics(String key, Evaluation.MultiConfidenceMetrics value)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
key | String |
value | Evaluation.MultiConfidenceMetrics |
Type | Description |
Evaluation.Builder |
removeEntityMetrics(String key)
public Evaluation.Builder removeEntityMetrics(String key)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
Name | Description |
key | String |
Type | Description |
Evaluation.Builder |
setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value)
public Evaluation.Builder setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics value)
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Name | Description |
value | Evaluation.MultiConfidenceMetrics |
Type | Description |
Evaluation.Builder |
setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics.Builder builderForValue)
public Evaluation.Builder setAllEntitiesMetrics(Evaluation.MultiConfidenceMetrics.Builder builderForValue)
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
Name | Description |
builderForValue | Evaluation.MultiConfidenceMetrics.Builder |
Type | Description |
Evaluation.Builder |
setCreateTime(Timestamp value)
public Evaluation.Builder setCreateTime(Timestamp value)
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Evaluation.Builder setCreateTime(Timestamp.Builder builderForValue)
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
Evaluation.Builder |
setDocumentCounters(Evaluation.Counters value)
public Evaluation.Builder setDocumentCounters(Evaluation.Counters value)
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Name | Description |
value | Evaluation.Counters |
Type | Description |
Evaluation.Builder |
setDocumentCounters(Evaluation.Counters.Builder builderForValue)
public Evaluation.Builder setDocumentCounters(Evaluation.Counters.Builder builderForValue)
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;
Name | Description |
builderForValue | Evaluation.Counters.Builder |
Type | Description |
Evaluation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Builder |
setKmsKeyName(String value)
public Evaluation.Builder setKmsKeyName(String value)
The KMS key name used for encryption.
string kms_key_name = 6;
Name | Description |
value | String The kmsKeyName to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setKmsKeyNameBytes(ByteString value)
public Evaluation.Builder setKmsKeyNameBytes(ByteString value)
The KMS key name used for encryption.
string kms_key_name = 6;
Name | Description |
value | ByteString The bytes for kmsKeyName to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setKmsKeyVersionName(String value)
public Evaluation.Builder setKmsKeyVersionName(String value)
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;
Name | Description |
value | String The kmsKeyVersionName to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setKmsKeyVersionNameBytes(ByteString value)
public Evaluation.Builder setKmsKeyVersionNameBytes(ByteString value)
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;
Name | Description |
value | ByteString The bytes for kmsKeyVersionName to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setName(String value)
public Evaluation.Builder setName(String value)
The resource name of the evaluation.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Evaluation.Builder setNameBytes(ByteString value)
The resource name of the evaluation.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Evaluation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Builder |