- 0.50.0 (latest)
- 0.49.0
- 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 ProcessWithDocAiPipeline.Builder extends GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder> implements ProcessWithDocAiPipelineOrBuilder
The configuration of processing documents in Document Warehouse with DocAi processors pipeline.
Protobuf type google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessWithDocAiPipeline.BuilderImplements
ProcessWithDocAiPipelineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDocuments(Iterable<String> values)
public ProcessWithDocAiPipeline.Builder addAllDocuments(Iterable<String> values)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The documents to add. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
addDocuments(String value)
public ProcessWithDocAiPipeline.Builder addDocuments(String value)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameter | |
---|---|
Name | Description |
value | String The documents to add. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
addDocumentsBytes(ByteString value)
public ProcessWithDocAiPipeline.Builder addDocumentsBytes(ByteString value)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the documents to add. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessWithDocAiPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
build()
public ProcessWithDocAiPipeline build()
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline |
buildPartial()
public ProcessWithDocAiPipeline buildPartial()
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline |
clear()
public ProcessWithDocAiPipeline.Builder clear()
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
clearDocuments()
public ProcessWithDocAiPipeline.Builder clearDocuments()
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
clearExportFolderPath()
public ProcessWithDocAiPipeline.Builder clearExportFolderPath()
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
string export_folder_path = 2;
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProcessWithDocAiPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessWithDocAiPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
clearProcessorInfo()
public ProcessWithDocAiPipeline.Builder clearProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
clearProcessorResultsFolderPath()
public ProcessWithDocAiPipeline.Builder clearProcessorResultsFolderPath()
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;
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
clone()
public ProcessWithDocAiPipeline.Builder clone()
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
getDefaultInstanceForType()
public ProcessWithDocAiPipeline getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDocuments(int index)
public String getDocuments(int index)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The documents at the given index. |
getDocumentsBytes(int index)
public ByteString getDocumentsBytes(int index)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the documents at the given index. |
getDocumentsCount()
public int getDocumentsCount()
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Returns | |
---|---|
Type | Description |
int | The count of documents. |
getDocumentsList()
public ProtocolStringList getDocumentsList()
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the documents. |
getExportFolderPath()
public String getExportFolderPath()
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
string export_folder_path = 2;
Returns | |
---|---|
Type | Description |
String | The exportFolderPath. |
getExportFolderPathBytes()
public ByteString getExportFolderPathBytes()
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
string export_folder_path = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for exportFolderPath. |
getProcessorInfo()
public ProcessorInfo getProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Returns | |
---|---|
Type | Description |
ProcessorInfo | The processorInfo. |
getProcessorInfoBuilder()
public ProcessorInfo.Builder getProcessorInfoBuilder()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Returns | |
---|---|
Type | Description |
ProcessorInfo.Builder |
getProcessorInfoOrBuilder()
public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Returns | |
---|---|
Type | Description |
ProcessorInfoOrBuilder |
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;
Returns | |
---|---|
Type | Description |
String | The processorResultsFolderPath. |
getProcessorResultsFolderPathBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for processorResultsFolderPath. |
hasProcessorInfo()
public boolean hasProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the processorInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ProcessWithDocAiPipeline other)
public ProcessWithDocAiPipeline.Builder mergeFrom(ProcessWithDocAiPipeline other)
Parameter | |
---|---|
Name | Description |
other | ProcessWithDocAiPipeline |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessWithDocAiPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProcessWithDocAiPipeline.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
mergeProcessorInfo(ProcessorInfo value)
public ProcessWithDocAiPipeline.Builder mergeProcessorInfo(ProcessorInfo value)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Parameter | |
---|---|
Name | Description |
value | ProcessorInfo |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessWithDocAiPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
setDocuments(int index, String value)
public ProcessWithDocAiPipeline.Builder setDocuments(int index, String value)
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string documents = 1;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The documents to set. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
setExportFolderPath(String value)
public ProcessWithDocAiPipeline.Builder setExportFolderPath(String value)
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
string export_folder_path = 2;
Parameter | |
---|---|
Name | Description |
value | String The exportFolderPath to set. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
setExportFolderPathBytes(ByteString value)
public ProcessWithDocAiPipeline.Builder setExportFolderPathBytes(ByteString value)
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
string export_folder_path = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for exportFolderPath to set. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessWithDocAiPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
setProcessorInfo(ProcessorInfo value)
public ProcessWithDocAiPipeline.Builder setProcessorInfo(ProcessorInfo value)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Parameter | |
---|---|
Name | Description |
value | ProcessorInfo |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
setProcessorInfo(ProcessorInfo.Builder builderForValue)
public ProcessWithDocAiPipeline.Builder setProcessorInfo(ProcessorInfo.Builder builderForValue)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | ProcessorInfo.Builder |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
setProcessorResultsFolderPath(String value)
public ProcessWithDocAiPipeline.Builder setProcessorResultsFolderPath(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The processorResultsFolderPath to set. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
setProcessorResultsFolderPathBytes(ByteString value)
public ProcessWithDocAiPipeline.Builder setProcessorResultsFolderPathBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for processorResultsFolderPath to set. |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessWithDocAiPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessWithDocAiPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProcessWithDocAiPipeline.Builder |