Interface ProcessorTypeOrBuilder (2.45.0)

public interface ProcessorTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowCreation()

public abstract boolean getAllowCreation()

Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access.

bool allow_creation = 6;

Returns
TypeDescription
boolean

The allowCreation.

getAvailableLocations(int index)

public abstract ProcessorType.LocationInfo getAvailableLocations(int index)

The locations in which this processor is available.

repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorType.LocationInfo

getAvailableLocationsCount()

public abstract int getAvailableLocationsCount()

The locations in which this processor is available.

repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;

Returns
TypeDescription
int

getAvailableLocationsList()

public abstract List<ProcessorType.LocationInfo> getAvailableLocationsList()

The locations in which this processor is available.

repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;

Returns
TypeDescription
List<LocationInfo>

getAvailableLocationsOrBuilder(int index)

public abstract ProcessorType.LocationInfoOrBuilder getAvailableLocationsOrBuilder(int index)

The locations in which this processor is available.

repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorType.LocationInfoOrBuilder

getAvailableLocationsOrBuilderList()

public abstract List<? extends ProcessorType.LocationInfoOrBuilder> getAvailableLocationsOrBuilderList()

The locations in which this processor is available.

repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.ProcessorType.LocationInfoOrBuilder>

getCategory()

public abstract String getCategory()

The processor category, used by UI to group processor types.

string category = 3;

Returns
TypeDescription
String

The category.

getCategoryBytes()

public abstract ByteString getCategoryBytes()

The processor category, used by UI to group processor types.

string category = 3;

Returns
TypeDescription
ByteString

The bytes for category.

getLaunchStage()

public abstract LaunchStage getLaunchStage()

Launch stage of the processor type

.google.api.LaunchStage launch_stage = 8;

Returns
TypeDescription
com.google.api.LaunchStage

The launchStage.

getLaunchStageValue()

public abstract int getLaunchStageValue()

Launch stage of the processor type

.google.api.LaunchStage launch_stage = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for launchStage.

getName()

public abstract String getName()

The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSampleDocumentUris(int index)

public abstract String getSampleDocumentUris(int index)

A set of Cloud Storage URIs of sample documents for this processor.

repeated string sample_document_uris = 9;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sampleDocumentUris at the given index.

getSampleDocumentUrisBytes(int index)

public abstract ByteString getSampleDocumentUrisBytes(int index)

A set of Cloud Storage URIs of sample documents for this processor.

repeated string sample_document_uris = 9;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sampleDocumentUris at the given index.

getSampleDocumentUrisCount()

public abstract int getSampleDocumentUrisCount()

A set of Cloud Storage URIs of sample documents for this processor.

repeated string sample_document_uris = 9;

Returns
TypeDescription
int

The count of sampleDocumentUris.

getSampleDocumentUrisList()

public abstract List<String> getSampleDocumentUrisList()

A set of Cloud Storage URIs of sample documents for this processor.

repeated string sample_document_uris = 9;

Returns
TypeDescription
List<String>

A list containing the sampleDocumentUris.

getType()

public abstract String getType()

The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.