public interface ProcessorTypeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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.v1.ProcessorType.LocationInfo available_locations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProcessorType.LocationInfo |
getAvailableLocationsCount()
public abstract int getAvailableLocationsCount()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4;
Returns | |
---|---|
Type | Description |
int |
getAvailableLocationsList()
public abstract List<ProcessorType.LocationInfo> getAvailableLocationsList()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4;
Returns | |
---|---|
Type | Description |
List<LocationInfo> |
getAvailableLocationsOrBuilder(int index)
public abstract ProcessorType.LocationInfoOrBuilder getAvailableLocationsOrBuilder(int index)
The locations in which this processor is available.
repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProcessorType.LocationInfoOrBuilder |
getAvailableLocationsOrBuilderList()
public abstract List<? extends ProcessorType.LocationInfoOrBuilder> getAvailableLocationsOrBuilderList()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.ProcessorType.LocationInfoOrBuilder> |
getCategory()
public abstract String getCategory()
The processor category, used by UI to group processor types.
string category = 3;
Returns | |
---|---|
Type | Description |
String | The category. |
getCategoryBytes()
public abstract ByteString getCategoryBytes()
The processor category, used by UI to group processor types.
string category = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for category. |
getLaunchStage()
public abstract LaunchStage getLaunchStage()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8;
Returns | |
---|---|
Type | Description |
com.google.api.LaunchStage | The launchStage. |
getLaunchStageValue()
public abstract int getLaunchStageValue()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String | The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()
The processor type, such as: OCR_PROCESSOR
, INVOICE_PROCESSOR
.
string type = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for type. |