Class GcsIngestPipeline
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contentwarehouse.v1.GcsIngestPipeline
-
- All Implemented Interfaces:
GcsIngestPipelineOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GcsIngestPipeline extends com.google.protobuf.GeneratedMessageV3 implements GcsIngestPipelineOrBuilder
The configuration of the Cloud Storage Ingestion pipeline.
Protobuf typegoogle.cloud.contentwarehouse.v1.GcsIngestPipeline- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGcsIngestPipeline.BuilderThe configuration of the Cloud Storage Ingestion 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 intINPUT_PATH_FIELD_NUMBERstatic intPIPELINE_CONFIG_FIELD_NUMBERstatic intPROCESSOR_TYPE_FIELD_NUMBERstatic intSCHEMA_NAME_FIELD_NUMBERstatic intSKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static GcsIngestPipelinegetDefaultInstance()GcsIngestPipelinegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetInputPath()The input Cloud Storage folder.com.google.protobuf.ByteStringgetInputPathBytes()The input Cloud Storage folder.com.google.protobuf.Parser<GcsIngestPipeline>getParserForType()IngestPipelineConfiggetPipelineConfig()Optional.IngestPipelineConfigOrBuildergetPipelineConfigOrBuilder()Optional.StringgetProcessorType()The Doc AI processor type name.com.google.protobuf.ByteStringgetProcessorTypeBytes()The Doc AI processor type name.StringgetSchemaName()The Document Warehouse schema resource name.com.google.protobuf.ByteStringgetSchemaNameBytes()The Document Warehouse schema resource name.intgetSerializedSize()booleangetSkipIngestedDocuments()The flag whether to skip ingested documents.inthashCode()booleanhasPipelineConfig()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GcsIngestPipeline.BuildernewBuilder()static GcsIngestPipeline.BuildernewBuilder(GcsIngestPipeline prototype)GcsIngestPipeline.BuildernewBuilderForType()protected GcsIngestPipeline.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GcsIngestPipelineparseDelimitedFrom(InputStream input)static GcsIngestPipelineparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestPipelineparseFrom(byte[] data)static GcsIngestPipelineparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestPipelineparseFrom(com.google.protobuf.ByteString data)static GcsIngestPipelineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestPipelineparseFrom(com.google.protobuf.CodedInputStream input)static GcsIngestPipelineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestPipelineparseFrom(InputStream input)static GcsIngestPipelineparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GcsIngestPipelineparseFrom(ByteBuffer data)static GcsIngestPipelineparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GcsIngestPipeline>parser()GcsIngestPipeline.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
-
SCHEMA_NAME_FIELD_NUMBER
public static final int SCHEMA_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSOR_TYPE_FIELD_NUMBER
public static final int PROCESSOR_TYPE_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 interfaceGcsIngestPipelineOrBuilder- 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 interfaceGcsIngestPipelineOrBuilder- Returns:
- The bytes for inputPath.
-
getSchemaName
public String getSchemaName()
The Document Warehouse schema resource name. All documents processed by this pipeline will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.string schema_name = 2;- Specified by:
getSchemaNamein interfaceGcsIngestPipelineOrBuilder- Returns:
- The schemaName.
-
getSchemaNameBytes
public com.google.protobuf.ByteString getSchemaNameBytes()
The Document Warehouse schema resource name. All documents processed by this pipeline will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.string schema_name = 2;- Specified by:
getSchemaNameBytesin interfaceGcsIngestPipelineOrBuilder- Returns:
- The bytes for schemaName.
-
getProcessorType
public String getProcessorType()
The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.
string processor_type = 3;- Specified by:
getProcessorTypein interfaceGcsIngestPipelineOrBuilder- Returns:
- The processorType.
-
getProcessorTypeBytes
public com.google.protobuf.ByteString getProcessorTypeBytes()
The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.
string processor_type = 3;- Specified by:
getProcessorTypeBytesin interfaceGcsIngestPipelineOrBuilder- Returns:
- The bytes for processorType.
-
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 = 4;- Specified by:
getSkipIngestedDocumentsin interfaceGcsIngestPipelineOrBuilder- Returns:
- The skipIngestedDocuments.
-
hasPipelineConfig
public boolean hasPipelineConfig()
Optional. The config for the Cloud Storage Ingestion 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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPipelineConfigin interfaceGcsIngestPipelineOrBuilder- Returns:
- Whether the pipelineConfig field is set.
-
getPipelineConfig
public IngestPipelineConfig getPipelineConfig()
Optional. The config for the Cloud Storage Ingestion 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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPipelineConfigin interfaceGcsIngestPipelineOrBuilder- Returns:
- The pipelineConfig.
-
getPipelineConfigOrBuilder
public IngestPipelineConfigOrBuilder getPipelineConfigOrBuilder()
Optional. The config for the Cloud Storage Ingestion 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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPipelineConfigOrBuilderin interfaceGcsIngestPipelineOrBuilder
-
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 GcsIngestPipeline parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcsIngestPipeline parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestPipeline parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsIngestPipeline parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcsIngestPipeline parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestPipeline parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcsIngestPipeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GcsIngestPipeline.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GcsIngestPipeline.Builder newBuilder()
-
newBuilder
public static GcsIngestPipeline.Builder newBuilder(GcsIngestPipeline prototype)
-
toBuilder
public GcsIngestPipeline.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcsIngestPipeline.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GcsIngestPipeline getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GcsIngestPipeline> parser()
-
getParserForType
public com.google.protobuf.Parser<GcsIngestPipeline> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GcsIngestPipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-