Interface EvaluateProcessorVersionRequestOrBuilder (2.34.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.v1.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.BatchDocumentsInputConfig evaluation_documents = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the evaluationDocuments field is set.