public static final class EvaluateProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<EvaluateProcessorVersionRequest.Builder> implements EvaluateProcessorVersionRequestOrBuilder
Evaluates the given
ProcessorVersion against
the supplied documents.
Protobuf type google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluateProcessorVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EvaluateProcessorVersionRequest build()
buildPartial()
public EvaluateProcessorVersionRequest buildPartial()
clear()
public EvaluateProcessorVersionRequest.Builder clear()
Overrides
clearEvaluationDocuments()
public EvaluateProcessorVersionRequest.Builder clearEvaluationDocuments()
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];
clearField(Descriptors.FieldDescriptor field)
public EvaluateProcessorVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluateProcessorVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProcessorVersion()
public EvaluateProcessorVersionRequest.Builder clearProcessorVersion()
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) = { ... }
clone()
public EvaluateProcessorVersionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public EvaluateProcessorVersionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEvaluationDocuments()
public 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];
getEvaluationDocumentsBuilder()
public BatchDocumentsInputConfig.Builder getEvaluationDocumentsBuilder()
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];
getEvaluationDocumentsOrBuilder()
public 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];
getProcessorVersion()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public EvaluateProcessorVersionRequest.Builder mergeEvaluationDocuments(BatchDocumentsInputConfig value)
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];
mergeFrom(EvaluateProcessorVersionRequest other)
public EvaluateProcessorVersionRequest.Builder mergeFrom(EvaluateProcessorVersionRequest other)
public EvaluateProcessorVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EvaluateProcessorVersionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluateProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public EvaluateProcessorVersionRequest.Builder setEvaluationDocuments(BatchDocumentsInputConfig value)
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];
public EvaluateProcessorVersionRequest.Builder setEvaluationDocuments(BatchDocumentsInputConfig.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluateProcessorVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProcessorVersion(String value)
public EvaluateProcessorVersionRequest.Builder setProcessorVersion(String value)
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) = { ... }
Parameter |
---|
Name | Description |
value | String
The processorVersion to set.
|
setProcessorVersionBytes(ByteString value)
public EvaluateProcessorVersionRequest.Builder setProcessorVersionBytes(ByteString value)
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) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for processorVersion to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluateProcessorVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluateProcessorVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides