Interface TrainProcessorVersionRequestOrBuilder (2.55.0)

public interface TrainProcessorVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseProcessorVersion()

public abstract 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
Type Description
String

The baseProcessorVersion.

getBaseProcessorVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for baseProcessorVersion.

getCustomDocumentExtractionOptions()

public abstract TrainProcessorVersionRequest.CustomDocumentExtractionOptions getCustomDocumentExtractionOptions()

Options to control Custom Document Extraction (CDE) Processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;

Returns
Type Description
TrainProcessorVersionRequest.CustomDocumentExtractionOptions

The customDocumentExtractionOptions.

getCustomDocumentExtractionOptionsOrBuilder()

public abstract TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder getCustomDocumentExtractionOptionsOrBuilder()

Options to control Custom Document Extraction (CDE) Processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;

Returns
Type Description
TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder

getDocumentSchema()

public abstract 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
Type Description
DocumentSchema

The documentSchema.

getDocumentSchemaOrBuilder()

public abstract 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];

Returns
Type Description
DocumentSchemaOrBuilder

getFoundationModelTuningOptions()

public abstract TrainProcessorVersionRequest.FoundationModelTuningOptions getFoundationModelTuningOptions()

Options to control foundation model tuning of a processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;

Returns
Type Description
TrainProcessorVersionRequest.FoundationModelTuningOptions

The foundationModelTuningOptions.

getFoundationModelTuningOptionsOrBuilder()

public abstract TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder getFoundationModelTuningOptionsOrBuilder()

Options to control foundation model tuning of a processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;

Returns
Type Description
TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder

getInputData()

public abstract TrainProcessorVersionRequest.InputData getInputData()

Optional. The input data used to train the ProcessorVersion.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TrainProcessorVersionRequest.InputData

The inputData.

getInputDataOrBuilder()

public abstract TrainProcessorVersionRequest.InputDataOrBuilder getInputDataOrBuilder()

Optional. The input data used to train the ProcessorVersion.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TrainProcessorVersionRequest.InputDataOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getProcessorFlagsCase()

public abstract TrainProcessorVersionRequest.ProcessorFlagsCase getProcessorFlagsCase()
Returns
Type Description
TrainProcessorVersionRequest.ProcessorFlagsCase

getProcessorVersion()

public abstract ProcessorVersion getProcessorVersion()

Required. The processor version to be created.

.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProcessorVersion

The processorVersion.

getProcessorVersionOrBuilder()

public abstract ProcessorVersionOrBuilder getProcessorVersionOrBuilder()

Required. The processor version to be created.

.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProcessorVersionOrBuilder

hasCustomDocumentExtractionOptions()

public abstract boolean hasCustomDocumentExtractionOptions()

Options to control Custom Document Extraction (CDE) Processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;

Returns
Type Description
boolean

Whether the customDocumentExtractionOptions field is set.

hasDocumentSchema()

public abstract 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
Type Description
boolean

Whether the documentSchema field is set.

hasFoundationModelTuningOptions()

public abstract boolean hasFoundationModelTuningOptions()

Options to control foundation model tuning of a processor.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;

Returns
Type Description
boolean

Whether the foundationModelTuningOptions field is set.

hasInputData()

public abstract boolean hasInputData()

Optional. The input data used to train the ProcessorVersion.

.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inputData field is set.

hasProcessorVersion()

public abstract boolean hasProcessorVersion()

Required. The processor version to be created.

.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the processorVersion field is set.