Class ProcessWithDocAiPipeline (0.37.0)

public final class ProcessWithDocAiPipeline extends GeneratedMessageV3 implements ProcessWithDocAiPipelineOrBuilder

The configuration of processing documents in Document Warehouse with DocAi processors pipeline.

Protobuf type google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline

Static Fields

DOCUMENTS_FIELD_NUMBER

public static final int DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_FOLDER_PATH_FIELD_NUMBER

public static final int EXPORT_FOLDER_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_INFO_FIELD_NUMBER

public static final int PROCESSOR_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBER

public static final int PROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessWithDocAiPipeline getDefaultInstance()
Returns
TypeDescription
ProcessWithDocAiPipeline

getDescriptor()

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

newBuilder()

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

newBuilder(ProcessWithDocAiPipeline prototype)

public static ProcessWithDocAiPipeline.Builder newBuilder(ProcessWithDocAiPipeline prototype)
Parameter
NameDescription
prototypeProcessWithDocAiPipeline
Returns
TypeDescription
ProcessWithDocAiPipeline.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProcessWithDocAiPipeline getDefaultInstanceForType()
Returns
TypeDescription
ProcessWithDocAiPipeline

getDocuments(int index)

public String getDocuments(int index)

The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

repeated string documents = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The documents at the given index.

getDocumentsBytes(int index)

public ByteString getDocumentsBytes(int index)

The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

repeated string documents = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the documents at the given index.

getDocumentsCount()

public int getDocumentsCount()

The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

repeated string documents = 1;

Returns
TypeDescription
int

The count of documents.

getDocumentsList()

public ProtocolStringList getDocumentsList()

The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

repeated string documents = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the documents.

getExportFolderPath()

public String getExportFolderPath()

The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs://<bucket-name>/<folder-name>.

string export_folder_path = 2;

Returns
TypeDescription
String

The exportFolderPath.

getExportFolderPathBytes()

public ByteString getExportFolderPathBytes()

The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: gs://<bucket-name>/<folder-name>.

string export_folder_path = 2;

Returns
TypeDescription
ByteString

The bytes for exportFolderPath.

getParserForType()

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

getProcessorInfo()

public ProcessorInfo getProcessorInfo()

The CDW processor information.

.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;

Returns
TypeDescription
ProcessorInfo

The processorInfo.

getProcessorInfoOrBuilder()

public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()

The CDW processor information.

.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;

Returns
TypeDescription
ProcessorInfoOrBuilder

getProcessorResultsFolderPath()

public String getProcessorResultsFolderPath()

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Returns
TypeDescription
String

The processorResultsFolderPath.

getProcessorResultsFolderPathBytes()

public ByteString getProcessorResultsFolderPathBytes()

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Returns
TypeDescription
ByteString

The bytes for processorResultsFolderPath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProcessorInfo()

public boolean hasProcessorInfo()

The CDW processor information.

.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;

Returns
TypeDescription
boolean

Whether the processorInfo field is set.

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 ProcessWithDocAiPipeline.Builder newBuilderForType()
Returns
TypeDescription
ProcessWithDocAiPipeline.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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