Class ProcessorInfo (0.35.0)

public final class ProcessorInfo extends GeneratedMessageV3 implements ProcessorInfoOrBuilder

The DocAI processor information.

Protobuf type google.cloud.contentwarehouse.v1.ProcessorInfo

Static Fields

DOCUMENT_TYPE_FIELD_NUMBER

public static final int DOCUMENT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_NAME_FIELD_NUMBER

public static final int PROCESSOR_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_NAME_FIELD_NUMBER

public static final int SCHEMA_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessorInfo getDefaultInstance()
Returns
TypeDescription
ProcessorInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProcessorInfo.Builder newBuilder()
Returns
TypeDescription
ProcessorInfo.Builder

newBuilder(ProcessorInfo prototype)

public static ProcessorInfo.Builder newBuilder(ProcessorInfo prototype)
Parameter
NameDescription
prototypeProcessorInfo
Returns
TypeDescription
ProcessorInfo.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProcessorInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProcessorInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProcessorInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProcessorInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProcessorInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProcessorInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProcessorInfo> parser()
Returns
TypeDescription
Parser<ProcessorInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProcessorInfo getDefaultInstanceForType()
Returns
TypeDescription
ProcessorInfo

getDocumentType()

public String getDocumentType()

The processor will process the documents with this document type.

string document_type = 2;

Returns
TypeDescription
String

The documentType.

getDocumentTypeBytes()

public ByteString getDocumentTypeBytes()

The processor will process the documents with this document type.

string document_type = 2;

Returns
TypeDescription
ByteString

The bytes for documentType.

getParserForType()

public Parser<ProcessorInfo> getParserForType()
Returns
TypeDescription
Parser<ProcessorInfo>
Overrides

getProcessorName()

public String getProcessorName()

The processor resource name. Format is projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_name = 1;

Returns
TypeDescription
String

The processorName.

getProcessorNameBytes()

public ByteString getProcessorNameBytes()

The processor resource name. Format is projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_name = 1;

Returns
TypeDescription
ByteString

The bytes for processorName.

getSchemaName()

public String getSchemaName()

The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

string schema_name = 3;

Returns
TypeDescription
String

The schemaName.

getSchemaNameBytes()

public ByteString getSchemaNameBytes()

The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

string schema_name = 3;

Returns
TypeDescription
ByteString

The bytes for schemaName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProcessorInfo.Builder newBuilderForType()
Returns
TypeDescription
ProcessorInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProcessorInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProcessorInfo.Builder toBuilder()
Returns
TypeDescription
ProcessorInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException