Class ProcessWithDocAiPipeline.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
- com.google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline.Builder
-
- All Implemented Interfaces:
ProcessWithDocAiPipelineOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProcessWithDocAiPipeline
public static final class ProcessWithDocAiPipeline.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder> implements ProcessWithDocAiPipelineOrBuilder
The configuration of processing documents in Document Warehouse with DocAi processors pipeline.
Protobuf typegoogle.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessWithDocAiPipeline.BuilderaddAllDocuments(Iterable<String> values)The list of all the resource names of the documents to be processed.ProcessWithDocAiPipeline.BuilderaddDocuments(String value)The list of all the resource names of the documents to be processed.ProcessWithDocAiPipeline.BuilderaddDocumentsBytes(com.google.protobuf.ByteString value)The list of all the resource names of the documents to be processed.ProcessWithDocAiPipeline.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProcessWithDocAiPipelinebuild()ProcessWithDocAiPipelinebuildPartial()ProcessWithDocAiPipeline.Builderclear()ProcessWithDocAiPipeline.BuilderclearDocuments()The list of all the resource names of the documents to be processed.ProcessWithDocAiPipeline.BuilderclearExportFolderPath()The Cloud Storage folder path used to store the exported documents before being sent to CDW.ProcessWithDocAiPipeline.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ProcessWithDocAiPipeline.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ProcessWithDocAiPipeline.BuilderclearProcessorInfo()The CDW processor information.ProcessWithDocAiPipeline.BuilderclearProcessorResultsFolderPath()The Cloud Storage folder path used to store the raw results from processors.ProcessWithDocAiPipeline.Builderclone()ProcessWithDocAiPipelinegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocuments(int index)The list of all the resource names of the documents to be processed.com.google.protobuf.ByteStringgetDocumentsBytes(int index)The list of all the resource names of the documents to be processed.intgetDocumentsCount()The list of all the resource names of the documents to be processed.com.google.protobuf.ProtocolStringListgetDocumentsList()The list of all the resource names of the documents to be processed.StringgetExportFolderPath()The Cloud Storage folder path used to store the exported documents before being sent to CDW.com.google.protobuf.ByteStringgetExportFolderPathBytes()The Cloud Storage folder path used to store the exported documents before being sent to CDW.ProcessorInfogetProcessorInfo()The CDW processor information.ProcessorInfo.BuildergetProcessorInfoBuilder()The CDW processor information.ProcessorInfoOrBuildergetProcessorInfoOrBuilder()The CDW processor information.StringgetProcessorResultsFolderPath()The Cloud Storage folder path used to store the raw results from processors.com.google.protobuf.ByteStringgetProcessorResultsFolderPathBytes()The Cloud Storage folder path used to store the raw results from processors.booleanhasProcessorInfo()The CDW processor information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ProcessWithDocAiPipeline.BuildermergeFrom(ProcessWithDocAiPipeline other)ProcessWithDocAiPipeline.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProcessWithDocAiPipeline.BuildermergeFrom(com.google.protobuf.Message other)ProcessWithDocAiPipeline.BuildermergeProcessorInfo(ProcessorInfo value)The CDW processor information.ProcessWithDocAiPipeline.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ProcessWithDocAiPipeline.BuildersetDocuments(int index, String value)The list of all the resource names of the documents to be processed.ProcessWithDocAiPipeline.BuildersetExportFolderPath(String value)The Cloud Storage folder path used to store the exported documents before being sent to CDW.ProcessWithDocAiPipeline.BuildersetExportFolderPathBytes(com.google.protobuf.ByteString value)The Cloud Storage folder path used to store the exported documents before being sent to CDW.ProcessWithDocAiPipeline.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProcessWithDocAiPipeline.BuildersetProcessorInfo(ProcessorInfo value)The CDW processor information.ProcessWithDocAiPipeline.BuildersetProcessorInfo(ProcessorInfo.Builder builderForValue)The CDW processor information.ProcessWithDocAiPipeline.BuildersetProcessorResultsFolderPath(String value)The Cloud Storage folder path used to store the raw results from processors.ProcessWithDocAiPipeline.BuildersetProcessorResultsFolderPathBytes(com.google.protobuf.ByteString value)The Cloud Storage folder path used to store the raw results from processors.ProcessWithDocAiPipeline.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ProcessWithDocAiPipeline.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<ProcessWithDocAiPipeline.Builder>
-
clear
public ProcessWithDocAiPipeline.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
getDefaultInstanceForType
public ProcessWithDocAiPipeline getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProcessWithDocAiPipeline build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProcessWithDocAiPipeline buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProcessWithDocAiPipeline.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
setField
public ProcessWithDocAiPipeline.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
clearField
public ProcessWithDocAiPipeline.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
clearOneof
public ProcessWithDocAiPipeline.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
setRepeatedField
public ProcessWithDocAiPipeline.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
addRepeatedField
public ProcessWithDocAiPipeline.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
mergeFrom
public ProcessWithDocAiPipeline.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessWithDocAiPipeline.Builder>
-
mergeFrom
public ProcessWithDocAiPipeline.Builder mergeFrom(ProcessWithDocAiPipeline other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
mergeFrom
public ProcessWithDocAiPipeline.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessWithDocAiPipeline.Builder>- Throws:
IOException
-
getDocumentsList
public com.google.protobuf.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;- Specified by:
getDocumentsListin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- A list containing the documents.
-
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;- Specified by:
getDocumentsCountin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- The count of documents.
-
getDocuments
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;- Specified by:
getDocumentsin interfaceProcessWithDocAiPipelineOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The documents at the given index.
-
getDocumentsBytes
public com.google.protobuf.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;- Specified by:
getDocumentsBytesin interfaceProcessWithDocAiPipelineOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the documents at the given index.
-
setDocuments
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:
index- The index to set the value at.value- The documents to set.- Returns:
- This builder for chaining.
-
addDocuments
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;- Parameters:
value- The documents to add.- Returns:
- This builder for chaining.
-
addAllDocuments
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;- Parameters:
values- The documents to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addDocumentsBytes
public ProcessWithDocAiPipeline.Builder addDocumentsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the documents to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getExportFolderPathin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- The exportFolderPath.
-
getExportFolderPathBytes
public com.google.protobuf.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;- Specified by:
getExportFolderPathBytesin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- The bytes for exportFolderPath.
-
setExportFolderPath
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;- Parameters:
value- The exportFolderPath to set.- Returns:
- 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:
- This builder for chaining.
-
setExportFolderPathBytes
public ProcessWithDocAiPipeline.Builder setExportFolderPathBytes(com.google.protobuf.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;- Parameters:
value- The bytes for exportFolderPath to set.- Returns:
- This builder for chaining.
-
hasProcessorInfo
public boolean hasProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;- Specified by:
hasProcessorInfoin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- Whether the processorInfo field is set.
-
getProcessorInfo
public ProcessorInfo getProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;- Specified by:
getProcessorInfoin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- The processorInfo.
-
setProcessorInfo
public ProcessWithDocAiPipeline.Builder setProcessorInfo(ProcessorInfo value)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
-
setProcessorInfo
public ProcessWithDocAiPipeline.Builder setProcessorInfo(ProcessorInfo.Builder builderForValue)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
-
mergeProcessorInfo
public ProcessWithDocAiPipeline.Builder mergeProcessorInfo(ProcessorInfo value)
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
-
clearProcessorInfo
public ProcessWithDocAiPipeline.Builder clearProcessorInfo()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
-
getProcessorInfoBuilder
public ProcessorInfo.Builder getProcessorInfoBuilder()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
-
getProcessorInfoOrBuilder
public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()
The CDW processor information.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;- Specified by:
getProcessorInfoOrBuilderin interfaceProcessWithDocAiPipelineOrBuilder
-
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:
getProcessorResultsFolderPathin interfaceProcessWithDocAiPipelineOrBuilder- 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:
getProcessorResultsFolderPathBytesin interfaceProcessWithDocAiPipelineOrBuilder- Returns:
- The bytes for processorResultsFolderPath.
-
setProcessorResultsFolderPath
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;- Parameters:
value- The processorResultsFolderPath to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setProcessorResultsFolderPathBytes
public ProcessWithDocAiPipeline.Builder setProcessorResultsFolderPathBytes(com.google.protobuf.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;- Parameters:
value- The bytes for processorResultsFolderPath to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProcessWithDocAiPipeline.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
mergeUnknownFields
public final ProcessWithDocAiPipeline.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
-
-