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 class
GcsIngestWithDocAiProcessorsPipeline.Builder
The 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 int
EXTRACT_PROCESSOR_INFOS_FIELD_NUMBER
static int
INPUT_PATH_FIELD_NUMBER
static int
PIPELINE_CONFIG_FIELD_NUMBER
static int
PROCESSOR_RESULTS_FOLDER_PATH_FIELD_NUMBER
static int
SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
static int
SPLIT_CLASSIFY_PROCESSOR_INFO_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static GcsIngestWithDocAiProcessorsPipeline
getDefaultInstance()
GcsIngestWithDocAiProcessorsPipeline
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ProcessorInfo
getExtractProcessorInfos(int index)
The extract processors information.int
getExtractProcessorInfosCount()
The extract processors information.List<ProcessorInfo>
getExtractProcessorInfosList()
The extract processors information.ProcessorInfoOrBuilder
getExtractProcessorInfosOrBuilder(int index)
The extract processors information.List<? extends ProcessorInfoOrBuilder>
getExtractProcessorInfosOrBuilderList()
The extract processors information.String
getInputPath()
The input Cloud Storage folder.com.google.protobuf.ByteString
getInputPathBytes()
The input Cloud Storage folder.com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline>
getParserForType()
IngestPipelineConfig
getPipelineConfig()
Optional.IngestPipelineConfigOrBuilder
getPipelineConfigOrBuilder()
Optional.String
getProcessorResultsFolderPath()
The Cloud Storage folder path used to store the raw results from processors.com.google.protobuf.ByteString
getProcessorResultsFolderPathBytes()
The Cloud Storage folder path used to store the raw results from processors.int
getSerializedSize()
boolean
getSkipIngestedDocuments()
The flag whether to skip ingested documents.ProcessorInfo
getSplitClassifyProcessorInfo()
The split and classify processor information.ProcessorInfoOrBuilder
getSplitClassifyProcessorInfoOrBuilder()
The split and classify processor information.int
hashCode()
boolean
hasPipelineConfig()
Optional.boolean
hasSplitClassifyProcessorInfo()
The split and classify processor information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GcsIngestWithDocAiProcessorsPipeline.Builder
newBuilder()
static GcsIngestWithDocAiProcessorsPipeline.Builder
newBuilder(GcsIngestWithDocAiProcessorsPipeline prototype)
GcsIngestWithDocAiProcessorsPipeline.Builder
newBuilderForType()
protected GcsIngestWithDocAiProcessorsPipeline.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GcsIngestWithDocAiProcessorsPipeline
parseDelimitedFrom(InputStream input)
static GcsIngestWithDocAiProcessorsPipeline
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(byte[] data)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(com.google.protobuf.ByteString data)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(com.google.protobuf.CodedInputStream input)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(InputStream input)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(ByteBuffer data)
static GcsIngestWithDocAiProcessorsPipeline
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GcsIngestWithDocAiProcessorsPipeline>
parser()
GcsIngestWithDocAiProcessorsPipeline.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getInputPath
in 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:
getInputPathBytes
in 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:
hasSplitClassifyProcessorInfo
in 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:
getSplitClassifyProcessorInfo
in 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:
getSplitClassifyProcessorInfoOrBuilder
in 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:
getExtractProcessorInfosList
in 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:
getExtractProcessorInfosOrBuilderList
in 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:
getExtractProcessorInfosCount
in 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:
getExtractProcessorInfos
in 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:
getExtractProcessorInfosOrBuilder
in 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:
getProcessorResultsFolderPath
in 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:
getProcessorResultsFolderPathBytes
in 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:
getSkipIngestedDocuments
in 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:
hasPipelineConfig
in 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:
getPipelineConfig
in 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:
getPipelineConfigOrBuilder
in interfaceGcsIngestWithDocAiProcessorsPipelineOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcsIngestWithDocAiProcessorsPipeline.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-