Class GcsIngestWithDocAiProcessorsPipeline
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline
-
- All Implemented Interfaces:
GcsIngestWithDocAiProcessorsPipelineOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GcsIngestWithDocAiProcessorsPipeline extends com.google.protobuf.GeneratedMessageV3 implements GcsIngestWithDocAiProcessorsPipelineOrBuilder
The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.
Protobuf typegoogle.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGcsIngestWithDocAiProcessorsPipeline.BuilderThe configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intEXTRACT_PROCESSOR_INFOS_FIELD_NUMBERstatic intINPUT_PATH_FIELD_NUMBERstatic intPIPELINE_CONFIG_FIELD_NUMBERstatic intPROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBERstatic intSKIP_INGESTED_DOCUMENTS_FIELD_NUMBERstatic intSPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static GcsIngestWithDocAiProcessorsPipelinegetDefaultInstance()GcsIngestWithDocAiProcessorsPipelinegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ProcessorInfogetExtractProcessorInfos(int index)The extract processors information.intgetExtractProcessorInfosCount()The extract processors information.List<ProcessorInfo>getExtractProcessorInfosList()The extract processors information.ProcessorInfoOrBuildergetExtractProcessorInfosOrBuilder(int index)The extract processors information.List<? extends ProcessorInfoOrBuilder>getExtractProcessorInfosOrBuilderList()The extract processors information.StringgetInputPath()The input Cloud Storage folder.com.google.protobuf.ByteStringgetInputPathBytes()The input Cloud Storage folder.com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline>getParserForType()IngestPipelineConfiggetPipelineConfig()Optional.IngestPipelineConfigOrBuildergetPipelineConfigOrBuilder()Optional.StringgetProcessorResultsFolderPath()The Cloud Storage folder path used to store the raw results from processors.com.google.protobuf.ByteStringgetProcessorResultsFolderPathBytes()The Cloud Storage folder path used to store the raw results from processors.intgetSerializedSize()booleangetSkipIngestedDocuments()The flag whether to skip ingested documents.ProcessorInfogetSplitClassifyProcessorInfo()The split and classify processor information.ProcessorInfoOrBuildergetSplitClassifyProcessorInfoOrBuilder()The split and classify processor information.inthashCode()booleanhasPipelineConfig()Optional.booleanhasSplitClassifyProcessorInfo()The split and classify processor information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GcsIngestWithDocAiProcessorsPipeline.BuildernewBuilder()static GcsIngestWithDocAiProcessorsPipeline.BuildernewBuilder(GcsIngestWithDocAiProcessorsPipeline prototype)GcsIngestWithDocAiProcessorsPipeline.BuildernewBuilderForType()protected GcsIngestWithDocAiProcessorsPipeline.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GcsIngestWithDocAiProcessorsPipelineparseDelimitedFrom(InputStream input)static GcsIngestWithDocAiProcessorsPipelineparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestWithDocAiProcessorsPipelineparseFrom(byte[] data)static GcsIngestWithDocAiProcessorsPipelineparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestWithDocAiProcessorsPipelineparseFrom(com.google.protobuf.ByteString data)static GcsIngestWithDocAiProcessorsPipelineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestWithDocAiProcessorsPipelineparseFrom(com.google.protobuf.CodedInputStream input)static GcsIngestWithDocAiProcessorsPipelineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestWithDocAiProcessorsPipelineparseFrom(InputStream input)static GcsIngestWithDocAiProcessorsPipelineparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestWithDocAiProcessorsPipelineparseFrom(ByteBuffer data)static GcsIngestWithDocAiProcessorsPipelineparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline>parser()GcsIngestWithDocAiProcessorsPipeline.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INPUT_PATH_FIELD_NUMBER
public static final int INPUT_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER
public static final int SPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTRACT_PROCESSOR_INFOS_FIELD_NUMBER
public static final int EXTRACT_PROCESSOR_INFOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBER
public static final int PROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
public static final int SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PIPELINE_CONFIG_FIELD_NUMBER
public static final int PIPELINE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getInputPathin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- The inputPath.
-
getInputPathBytes
public com.google.protobuf.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;- Specified by:
getInputPathBytesin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- The bytes for inputPath.
-
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;- Specified by:
hasSplitClassifyProcessorInfoin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- Whether the splitClassifyProcessorInfo field is set.
-
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;- Specified by:
getSplitClassifyProcessorInfoin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- 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;- Specified by:
getSplitClassifyProcessorInfoOrBuilderin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
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;- Specified by:
getExtractProcessorInfosListin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
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;- Specified by:
getExtractProcessorInfosOrBuilderListin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
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;- Specified by:
getExtractProcessorInfosCountin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
getExtractProcessorInfos
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;- Specified by:
getExtractProcessorInfosin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
getExtractProcessorInfosOrBuilder
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;- Specified by:
getExtractProcessorInfosOrBuilderin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
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;- Specified by:
getProcessorResultsFolderPathin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- The processorResultsFolderPath.
-
getProcessorResultsFolderPathBytes
public com.google.protobuf.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;- Specified by:
getProcessorResultsFolderPathBytesin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- The bytes for processorResultsFolderPath.
-
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;- Specified by:
getSkipIngestedDocumentsin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- The skipIngestedDocuments.
-
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];- Specified by:
hasPipelineConfigin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- Whether the pipelineConfig field is set.
-
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];- Specified by:
getPipelineConfigin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder- Returns:
- 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];- Specified by:
getPipelineConfigOrBuilderin interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsIngestWithDocAiProcessorsPipeline parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsIngestWithDocAiProcessorsPipeline parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestWithDocAiProcessorsPipeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GcsIngestWithDocAiProcessorsPipeline.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GcsIngestWithDocAiProcessorsPipeline.Builder newBuilder()
-
newBuilder
public static GcsIngestWithDocAiProcessorsPipeline.Builder newBuilder(GcsIngestWithDocAiProcessorsPipeline prototype)
-
toBuilder
public GcsIngestWithDocAiProcessorsPipeline.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcsIngestWithDocAiProcessorsPipeline.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GcsIngestWithDocAiProcessorsPipeline getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline> parser()
-
getParserForType
public com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-