Interface EvaluateProcessorVersionRequestOrBuilder (2.57.0)

public interface EvaluateProcessorVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvaluationDocuments()

public abstract BatchDocumentsInputConfig getEvaluationDocuments()

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchDocumentsInputConfig

The evaluationDocuments.

getEvaluationDocumentsOrBuilder()

public abstract BatchDocumentsInputConfigOrBuilder getEvaluationDocumentsOrBuilder()

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchDocumentsInputConfigOrBuilder

getProcessorVersion()

public abstract String getProcessorVersion()

Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The processorVersion.

getProcessorVersionBytes()

public abstract ByteString getProcessorVersionBytes()

Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for processorVersion.

hasEvaluationDocuments()

public abstract boolean hasEvaluationDocuments()

Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the evaluationDocuments field is set.