Package com.google.cloud.documentai.v1
Interface TrainProcessorVersionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrainProcessorVersionRequest,TrainProcessorVersionRequest.Builder
@Generated
public interface TrainProcessorVersionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Options to control Custom Document Extraction (CDE) Processor.Options to control Custom Document Extraction (CDE) Processor.Optional.Optional.Options to control foundation model tuning of a processor.Options to control foundation model tuning of a processor.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.Required.Required.booleanOptions to control Custom Document Extraction (CDE) Processor.booleanOptional.booleanOptions to control foundation model tuning of a processor.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCustomDocumentExtractionOptions
boolean hasCustomDocumentExtractionOptions()Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1.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.v1.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.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5; -
hasFoundationModelTuningOptions
boolean hasFoundationModelTuningOptions()Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;- Returns:
- Whether the foundationModelTuningOptions field is set.
-
getFoundationModelTuningOptions
TrainProcessorVersionRequest.FoundationModelTuningOptions getFoundationModelTuningOptions()Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;- Returns:
- The foundationModelTuningOptions.
-
getFoundationModelTuningOptionsOrBuilder
TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder getFoundationModelTuningOptionsOrBuilder()Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12; -
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL]; -
hasInputData
boolean hasInputData()Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
.google.cloud.documentai.v1.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.v1.ProcessorVersion].
.google.cloud.documentai.v1.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.v1.ProcessorVersion].
.google.cloud.documentai.v1.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()
-