Interface TrainProcessorVersionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrainProcessorVersionRequest
,TrainProcessorVersionRequest.Builder
public interface TrainProcessorVersionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCustomDocumentExtractionOptions
boolean hasCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
- Returns:
- Whether the customDocumentExtractionOptions field is set.
-
getCustomDocumentExtractionOptions
TrainProcessorVersionRequest.CustomDocumentExtractionOptions getCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
- Returns:
- The customDocumentExtractionOptions.
-
getCustomDocumentExtractionOptionsOrBuilder
TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder getCustomDocumentExtractionOptionsOrBuilder()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
-
getParent
String getParent()
Required. The parent (project, location and processor) to create the new version for. Format: `projects/{project}/locations/{location}/processors/{processor}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent (project, location and processor) to create the new version for. Format: `projects/{project}/locations/{location}/processors/{processor}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasProcessorVersion
boolean hasProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the processorVersion field is set.
-
getProcessorVersion
ProcessorVersion getProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The processorVersion.
-
getProcessorVersionOrBuilder
ProcessorVersionOrBuilder getProcessorVersionOrBuilder()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasDocumentSchema
boolean hasDocumentSchema()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the documentSchema field is set.
-
getDocumentSchema
DocumentSchema getDocumentSchema()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The documentSchema.
-
getDocumentSchemaOrBuilder
DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
-
hasInputData
boolean hasInputData()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the inputData field is set.
-
getInputData
TrainProcessorVersionRequest.InputData getInputData()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The inputData.
-
getInputDataOrBuilder
TrainProcessorVersionRequest.InputDataOrBuilder getInputDataOrBuilder()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getBaseProcessorVersion
String getBaseProcessorVersion()
Optional. The processor version to use as a base for training. This processor version must be a child of `parent`. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
string base_processor_version = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The baseProcessorVersion.
-
getBaseProcessorVersionBytes
com.google.protobuf.ByteString getBaseProcessorVersionBytes()
Optional. The processor version to use as a base for training. This processor version must be a child of `parent`. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
string base_processor_version = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for baseProcessorVersion.
-
getProcessorFlagsCase
TrainProcessorVersionRequest.ProcessorFlagsCase getProcessorFlagsCase()
-
-