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 class
GcsIngestPipeline.Builder
The 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 int
INPUT_PATH_FIELD_NUMBER
static int
PIPELINE_CONFIG_FIELD_NUMBER
static int
PROCESSOR_TYPE_FIELD_NUMBER
static int
SCHEMA_NAME_FIELD_NUMBER
static int
SKIP_INGESTED_DOCUMENTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static GcsIngestPipeline
getDefaultInstance()
GcsIngestPipeline
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getInputPath()
The input Cloud Storage folder.com.google.protobuf.ByteString
getInputPathBytes()
The input Cloud Storage folder.com.google.protobuf.Parser<GcsIngestPipeline>
getParserForType()
IngestPipelineConfig
getPipelineConfig()
Optional.IngestPipelineConfigOrBuilder
getPipelineConfigOrBuilder()
Optional.String
getProcessorType()
The Doc AI processor type name.com.google.protobuf.ByteString
getProcessorTypeBytes()
The Doc AI processor type name.String
getSchemaName()
The Document Warehouse schema resource name.com.google.protobuf.ByteString
getSchemaNameBytes()
The Document Warehouse schema resource name.int
getSerializedSize()
boolean
getSkipIngestedDocuments()
The flag whether to skip ingested documents.int
hashCode()
boolean
hasPipelineConfig()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GcsIngestPipeline.Builder
newBuilder()
static GcsIngestPipeline.Builder
newBuilder(GcsIngestPipeline prototype)
GcsIngestPipeline.Builder
newBuilderForType()
protected GcsIngestPipeline.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GcsIngestPipeline
parseDelimitedFrom(InputStream input)
static GcsIngestPipeline
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestPipeline
parseFrom(byte[] data)
static GcsIngestPipeline
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestPipeline
parseFrom(com.google.protobuf.ByteString data)
static GcsIngestPipeline
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestPipeline
parseFrom(com.google.protobuf.CodedInputStream input)
static GcsIngestPipeline
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestPipeline
parseFrom(InputStream input)
static GcsIngestPipeline
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcsIngestPipeline
parseFrom(ByteBuffer data)
static GcsIngestPipeline
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GcsIngestPipeline>
parser()
GcsIngestPipeline.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
-
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:
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 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:
getInputPathBytes
in 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:
getSchemaName
in 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:
getSchemaNameBytes
in 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:
getProcessorType
in 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:
getProcessorTypeBytes
in 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:
getSkipIngestedDocuments
in 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:
hasPipelineConfig
in 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:
getPipelineConfig
in 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:
getPipelineConfigOrBuilder
in interfaceGcsIngestPipelineOrBuilder
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcsIngestPipeline.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GcsIngestPipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-