Interface ProcessorTypeOrBuilder (2.6.2)

Stay organized with collections Save and categorize content based on your preferences.
public interface ProcessorTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowCreation()

public abstract boolean getAllowCreation()

Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.

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.

string category = 3;

Returns
TypeDescription
String

The category.

getCategoryBytes()

public abstract ByteString getCategoryBytes()

The processor category.

string category = 3;

Returns
TypeDescription
ByteString

The bytes for category.

getName()

public abstract String getName()

The resource name of the processor type.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the processor type.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getType()

public abstract String getType()

The type of the processor.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The type of the processor.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.