public final class ProcessorType extends com.google.protobuf.GeneratedMessageV3 implements ProcessorTypeOrBuilder
A processor type is responsible for performing a certain document understanding task on a certain type of document.Protobuf type
google.cloud.documentai.v1beta3.ProcessorType| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessorType.Builder
A processor type is responsible for performing a certain document
understanding task on a certain type of document.
|
static class |
ProcessorType.LocationInfo
The location information about where the processor is available.
|
static interface |
ProcessorType.LocationInfoOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_CREATION_FIELD_NUMBER |
static int |
AVAILABLE_LOCATIONS_FIELD_NUMBER |
static int |
CATEGORY_FIELD_NUMBER |
static int |
LAUNCH_STAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SAMPLE_DOCUMENT_URIS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowCreation()
Whether the processor type allows creation.
|
ProcessorType.LocationInfo |
getAvailableLocations(int index)
The locations in which this processor is available.
|
int |
getAvailableLocationsCount()
The locations in which this processor is available.
|
List<ProcessorType.LocationInfo> |
getAvailableLocationsList()
The locations in which this processor is available.
|
ProcessorType.LocationInfoOrBuilder |
getAvailableLocationsOrBuilder(int index)
The locations in which this processor is available.
|
List<? extends ProcessorType.LocationInfoOrBuilder> |
getAvailableLocationsOrBuilderList()
The locations in which this processor is available.
|
String |
getCategory()
The processor category, used by UI to group processor types.
|
com.google.protobuf.ByteString |
getCategoryBytes()
The processor category, used by UI to group processor types.
|
static ProcessorType |
getDefaultInstance() |
ProcessorType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.api.LaunchStage |
getLaunchStage()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8; |
int |
getLaunchStageValue()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8; |
String |
getName()
The resource name of the processor type.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the processor type.
|
com.google.protobuf.Parser<ProcessorType> |
getParserForType() |
String |
getSampleDocumentUris(int index)
A set of Cloud Storage URIs of sample documents for this processor.
|
com.google.protobuf.ByteString |
getSampleDocumentUrisBytes(int index)
A set of Cloud Storage URIs of sample documents for this processor.
|
int |
getSampleDocumentUrisCount()
A set of Cloud Storage URIs of sample documents for this processor.
|
com.google.protobuf.ProtocolStringList |
getSampleDocumentUrisList()
A set of Cloud Storage URIs of sample documents for this processor.
|
int |
getSerializedSize() |
String |
getType()
The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
|
com.google.protobuf.ByteString |
getTypeBytes()
The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProcessorType.Builder |
newBuilder() |
static ProcessorType.Builder |
newBuilder(ProcessorType prototype) |
ProcessorType.Builder |
newBuilderForType() |
protected ProcessorType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProcessorType |
parseDelimitedFrom(InputStream input) |
static ProcessorType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorType |
parseFrom(byte[] data) |
static ProcessorType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorType |
parseFrom(ByteBuffer data) |
static ProcessorType |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorType |
parseFrom(com.google.protobuf.ByteString data) |
static ProcessorType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProcessorType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorType |
parseFrom(InputStream input) |
static ProcessorType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProcessorType> |
parser() |
ProcessorType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
public static final int AVAILABLE_LOCATIONS_FIELD_NUMBER
public static final int ALLOW_CREATION_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
public static final int SAMPLE_DOCUMENT_URIS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the processor type.
Format: `projects/{project}/processorTypes/{processor_type}`
string name = 1;getName in interface ProcessorTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the processor type.
Format: `projects/{project}/processorTypes/{processor_type}`
string name = 1;getNameBytes in interface ProcessorTypeOrBuilderpublic String getType()
The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
string type = 2;getType in interface ProcessorTypeOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
string type = 2;getTypeBytes in interface ProcessorTypeOrBuilderpublic String getCategory()
The processor category, used by UI to group processor types.
string category = 3;getCategory in interface ProcessorTypeOrBuilderpublic com.google.protobuf.ByteString getCategoryBytes()
The processor category, used by UI to group processor types.
string category = 3;getCategoryBytes in interface ProcessorTypeOrBuilderpublic List<ProcessorType.LocationInfo> getAvailableLocationsList()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;
getAvailableLocationsList in interface ProcessorTypeOrBuilderpublic List<? extends ProcessorType.LocationInfoOrBuilder> getAvailableLocationsOrBuilderList()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;
getAvailableLocationsOrBuilderList in interface ProcessorTypeOrBuilderpublic int getAvailableLocationsCount()
The locations in which this processor is available.
repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;
getAvailableLocationsCount in interface ProcessorTypeOrBuilderpublic ProcessorType.LocationInfo getAvailableLocations(int index)
The locations in which this processor is available.
repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;
getAvailableLocations in interface ProcessorTypeOrBuilderpublic ProcessorType.LocationInfoOrBuilder getAvailableLocationsOrBuilder(int index)
The locations in which this processor is available.
repeated .google.cloud.documentai.v1beta3.ProcessorType.LocationInfo available_locations = 4;
getAvailableLocationsOrBuilder in interface ProcessorTypeOrBuilderpublic 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;getAllowCreation in interface ProcessorTypeOrBuilderpublic int getLaunchStageValue()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8;getLaunchStageValue in interface ProcessorTypeOrBuilderpublic com.google.api.LaunchStage getLaunchStage()
Launch stage of the processor type
.google.api.LaunchStage launch_stage = 8;getLaunchStage in interface ProcessorTypeOrBuilderpublic com.google.protobuf.ProtocolStringList getSampleDocumentUrisList()
A set of Cloud Storage URIs of sample documents for this processor.
repeated string sample_document_uris = 9;getSampleDocumentUrisList in interface ProcessorTypeOrBuilderpublic int getSampleDocumentUrisCount()
A set of Cloud Storage URIs of sample documents for this processor.
repeated string sample_document_uris = 9;getSampleDocumentUrisCount in interface ProcessorTypeOrBuilderpublic String getSampleDocumentUris(int index)
A set of Cloud Storage URIs of sample documents for this processor.
repeated string sample_document_uris = 9;getSampleDocumentUris in interface ProcessorTypeOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSampleDocumentUrisBytes(int index)
A set of Cloud Storage URIs of sample documents for this processor.
repeated string sample_document_uris = 9;getSampleDocumentUrisBytes in interface ProcessorTypeOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ProcessorType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorType parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessorType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessorType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessorType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessorType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProcessorType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProcessorType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProcessorType.Builder newBuilder()
public static ProcessorType.Builder newBuilder(ProcessorType prototype)
public ProcessorType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProcessorType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProcessorType getDefaultInstance()
public static com.google.protobuf.Parser<ProcessorType> parser()
public com.google.protobuf.Parser<ProcessorType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProcessorType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.