Interface TrainProcessorVersionRequestOrBuilder (2.24.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
TypeDescription
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
TypeDescription
ByteString

The bytes for baseProcessorVersion.

getDocumentSchema()

public abstract 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
TypeDescription
DocumentSchema

The documentSchema.

getDocumentSchemaOrBuilder()

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

Returns
TypeDescription
DocumentSchemaOrBuilder

getInputData()

public abstract TrainProcessorVersionRequest.InputData getInputData()

Optional. The input data used to train the ProcessorVersion.

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

Returns
TypeDescription
TrainProcessorVersionRequest.InputData

The inputData.

getInputDataOrBuilder()

public abstract TrainProcessorVersionRequest.InputDataOrBuilder getInputDataOrBuilder()

Optional. The input data used to train the ProcessorVersion.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getProcessorVersion()

public abstract ProcessorVersion getProcessorVersion()

Required. The processor version to be created.

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

Returns
TypeDescription
ProcessorVersion

The processorVersion.

getProcessorVersionOrBuilder()

public abstract ProcessorVersionOrBuilder getProcessorVersionOrBuilder()

Required. The processor version to be created.

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

Returns
TypeDescription
ProcessorVersionOrBuilder

hasDocumentSchema()

public abstract 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
TypeDescription
boolean

Whether the documentSchema field is set.

hasInputData()

public abstract boolean hasInputData()

Optional. The input data used to train the ProcessorVersion.

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

Returns
TypeDescription
boolean

Whether the inputData field is set.

hasProcessorVersion()

public abstract boolean hasProcessorVersion()

Required. The processor version to be created.

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

Returns
TypeDescription
boolean

Whether the processorVersion field is set.