- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class GcsIngestPipeline.Builder extends GeneratedMessageV3.Builder<GcsIngestPipeline.Builder> implements GcsIngestPipelineOrBuilder
The configuration of the Cloud Storage Ingestion pipeline.
Protobuf type google.cloud.contentwarehouse.v1.GcsIngestPipeline
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcsIngestPipeline.BuilderImplements
GcsIngestPipelineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsIngestPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
build()
public GcsIngestPipeline build()
Returns | |
---|---|
Type | Description |
GcsIngestPipeline |
buildPartial()
public GcsIngestPipeline buildPartial()
Returns | |
---|---|
Type | Description |
GcsIngestPipeline |
clear()
public GcsIngestPipeline.Builder clear()
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcsIngestPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
clearInputPath()
public GcsIngestPipeline.Builder clearInputPath()
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 | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsIngestPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
clearPipelineConfig()
public GcsIngestPipeline.Builder clearPipelineConfig()
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];
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
clearProcessorType()
public GcsIngestPipeline.Builder clearProcessorType()
The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.
string processor_type = 3;
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
clearSchemaName()
public GcsIngestPipeline.Builder clearSchemaName()
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;
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
clearSkipIngestedDocuments()
public GcsIngestPipeline.Builder clearSkipIngestedDocuments()
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;
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
clone()
public GcsIngestPipeline.Builder clone()
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
getDefaultInstanceForType()
public GcsIngestPipeline getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GcsIngestPipeline |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for inputPath. |
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];
Returns | |
---|---|
Type | Description |
IngestPipelineConfig |
The pipelineConfig. |
getPipelineConfigBuilder()
public IngestPipelineConfig.Builder getPipelineConfigBuilder()
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];
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
IngestPipelineConfigOrBuilder |
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;
Returns | |
---|---|
Type | Description |
String |
The processorType. |
getProcessorTypeBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for processorType. |
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;
Returns | |
---|---|
Type | Description |
String |
The schemaName. |
getSchemaNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for schemaName. |
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;
Returns | |
---|---|
Type | Description |
boolean |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the pipelineConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GcsIngestPipeline other)
public GcsIngestPipeline.Builder mergeFrom(GcsIngestPipeline other)
Parameter | |
---|---|
Name | Description |
other |
GcsIngestPipeline |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsIngestPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GcsIngestPipeline.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
mergePipelineConfig(IngestPipelineConfig value)
public GcsIngestPipeline.Builder mergePipelineConfig(IngestPipelineConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
IngestPipelineConfig |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsIngestPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcsIngestPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
setInputPath(String value)
public GcsIngestPipeline.Builder setInputPath(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The inputPath to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setInputPathBytes(ByteString value)
public GcsIngestPipeline.Builder setInputPathBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for inputPath to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setPipelineConfig(IngestPipelineConfig value)
public GcsIngestPipeline.Builder setPipelineConfig(IngestPipelineConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
IngestPipelineConfig |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
setPipelineConfig(IngestPipelineConfig.Builder builderForValue)
public GcsIngestPipeline.Builder setPipelineConfig(IngestPipelineConfig.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
IngestPipelineConfig.Builder |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
setProcessorType(String value)
public GcsIngestPipeline.Builder setProcessorType(String value)
The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.
string processor_type = 3;
Parameter | |
---|---|
Name | Description |
value |
String The processorType to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setProcessorTypeBytes(ByteString value)
public GcsIngestPipeline.Builder setProcessorTypeBytes(ByteString value)
The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.
string processor_type = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for processorType to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsIngestPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
setSchemaName(String value)
public GcsIngestPipeline.Builder setSchemaName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The schemaName to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setSchemaNameBytes(ByteString value)
public GcsIngestPipeline.Builder setSchemaNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for schemaName to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setSkipIngestedDocuments(boolean value)
public GcsIngestPipeline.Builder setSkipIngestedDocuments(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The skipIngestedDocuments to set. |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsIngestPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcsIngestPipeline.Builder |