Interface ImportProcessorVersionRequestOrBuilder (2.48.0)

public interface ImportProcessorVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternalProcessorVersionSource()

public abstract ImportProcessorVersionRequest.ExternalProcessorVersionSource getExternalProcessorVersionSource()

The source processor version to import from. It can be from a different environment and region than the destination processor.

.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSource external_processor_version_source = 3;

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource

The externalProcessorVersionSource.

getExternalProcessorVersionSourceOrBuilder()

public abstract ImportProcessorVersionRequest.ExternalProcessorVersionSourceOrBuilder getExternalProcessorVersionSourceOrBuilder()

The source processor version to import from. It can be from a different environment and region than the destination processor.

.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSource external_processor_version_source = 3;

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSourceOrBuilder

getParent()

public abstract String getParent()

Required. The destination processor name to create the processor version in. 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 destination processor name to create the processor version in. 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.

getProcessorVersionSource()

public abstract String getProcessorVersionSource()

The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. Note that ProcessorVersions with model_type MODEL_TYPE_LLM are not supported.

string processor_version_source = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The processorVersionSource.

getProcessorVersionSourceBytes()

public abstract ByteString getProcessorVersionSourceBytes()

The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. Note that ProcessorVersions with model_type MODEL_TYPE_LLM are not supported.

string processor_version_source = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for processorVersionSource.

getSourceCase()

public abstract ImportProcessorVersionRequest.SourceCase getSourceCase()
Returns
Type Description
ImportProcessorVersionRequest.SourceCase

hasExternalProcessorVersionSource()

public abstract boolean hasExternalProcessorVersionSource()

The source processor version to import from. It can be from a different environment and region than the destination processor.

.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSource external_processor_version_source = 3;

Returns
Type Description
boolean

Whether the externalProcessorVersionSource field is set.

hasProcessorVersionSource()

public abstract boolean hasProcessorVersionSource()

The source processor version to import from. The source processor version and destination processor need to be in the same environment and region. Note that ProcessorVersions with model_type MODEL_TYPE_LLM are not supported.

string processor_version_source = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the processorVersionSource field is set.