Class GcsIngestWithDocAiProcessorsPipeline (0.20.0)

public final class GcsIngestWithDocAiProcessorsPipeline extends GeneratedMessageV3 implements GcsIngestWithDocAiProcessorsPipelineOrBuilder

The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.

Protobuf type google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GcsIngestWithDocAiProcessorsPipeline

Static Fields

EXTRACT_PROCESSOR_INFOS_FIELD_NUMBER

public static final int EXTRACT_PROCESSOR_INFOS_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_PATH_FIELD_NUMBER

public static final int INPUT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

PIPELINE_CONFIG_FIELD_NUMBER

public static final int PIPELINE_CONFIG_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

SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER

public static final int SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

SPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER

public static final int SPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GcsIngestWithDocAiProcessorsPipeline getDefaultInstance()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline

getDescriptor()

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

newBuilder()

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

newBuilder(GcsIngestWithDocAiProcessorsPipeline prototype)

public static GcsIngestWithDocAiProcessorsPipeline.Builder newBuilder(GcsIngestWithDocAiProcessorsPipeline prototype)
Parameter
NameDescription
prototypeGcsIngestWithDocAiProcessorsPipeline
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline

getExtractProcessorInfos(int index)

public ProcessorInfo getExtractProcessorInfos(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorInfo

getExtractProcessorInfosCount()

public int getExtractProcessorInfosCount()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
TypeDescription
int

getExtractProcessorInfosList()

public List<ProcessorInfo> getExtractProcessorInfosList()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
TypeDescription
List<ProcessorInfo>

getExtractProcessorInfosOrBuilder(int index)

public ProcessorInfoOrBuilder getExtractProcessorInfosOrBuilder(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorInfoOrBuilder

getExtractProcessorInfosOrBuilderList()

public List<? extends ProcessorInfoOrBuilder> getExtractProcessorInfosOrBuilderList()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.ProcessorInfoOrBuilder>

getInputPath()

public String getInputPath()

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Returns
TypeDescription
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Returns
TypeDescription
ByteString

The bytes for inputPath.

getParserForType()

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

getPipelineConfig()

public IngestPipelineConfig getPipelineConfig()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IngestPipelineConfig

The pipelineConfig.

getPipelineConfigOrBuilder()

public IngestPipelineConfigOrBuilder getPipelineConfigOrBuilder()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IngestPipelineConfigOrBuilder

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

getSkipIngestedDocuments()

public boolean getSkipIngestedDocuments()

The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

bool skip_ingested_documents = 5;

Returns
TypeDescription
boolean

The skipIngestedDocuments.

getSplitClassifyProcessorInfo()

public ProcessorInfo getSplitClassifyProcessorInfo()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
TypeDescription
ProcessorInfo

The splitClassifyProcessorInfo.

getSplitClassifyProcessorInfoOrBuilder()

public ProcessorInfoOrBuilder getSplitClassifyProcessorInfoOrBuilder()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
TypeDescription
ProcessorInfoOrBuilder

hasPipelineConfig()

public boolean hasPipelineConfig()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the pipelineConfig field is set.

hasSplitClassifyProcessorInfo()

public boolean hasSplitClassifyProcessorInfo()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
TypeDescription
boolean

Whether the splitClassifyProcessorInfo 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 GcsIngestWithDocAiProcessorsPipeline.Builder newBuilderForType()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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