public static final class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder extends GeneratedMessage.Builder<RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder> implements RunPipelineMetadata.ProcessWithDocAiPipelineMetadataOrBuilderThe metadata message for Process-with-DocAi pipeline.
Protobuf type
google.cloud.contentwarehouse.v1.RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDocuments(Iterable<String> values)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addAllDocuments(Iterable<String> values)The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The documents to add. |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
This builder for chaining. |
addDocuments(String value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addDocuments(String value)The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe documents to add. |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
This builder for chaining. |
addDocumentsBytes(ByteString value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addDocumentsBytes(ByteString value)The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the documents to add. |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
This builder for chaining. |
build()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata build()| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata |
|
buildPartial()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata |
|
clear()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
clearDocuments()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearDocuments()The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
This builder for chaining. |
clearProcessorInfo()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearProcessorInfo()The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
getDefaultInstanceForType()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDocuments(int index)
public String getDocuments(int index)The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the documents at the given index. |
getDocumentsCount()
public int getDocumentsCount()The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of documents. |
getDocumentsList()
public ProtocolStringList getDocumentsList()The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the documents. |
getProcessorInfo()
public ProcessorInfo getProcessorInfo()The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessorInfo |
The processorInfo. |
getProcessorInfoBuilder()
public ProcessorInfo.Builder getProcessorInfoBuilder()The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessorInfo.Builder |
|
getProcessorInfoOrBuilder()
public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessorInfoOrBuilder |
|
hasProcessorInfo()
public boolean hasProcessorInfo()The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the processorInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
mergeProcessorInfo(ProcessorInfo value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeProcessorInfo(ProcessorInfo value)The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProcessorInfo |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
setDocuments(int index, String value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setDocuments(int index, String value)The input list of all the resource names of the documents to be processed.
repeated string documents = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe documents to set. |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
This builder for chaining. |
setProcessorInfo(ProcessorInfo value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setProcessorInfo(ProcessorInfo value)The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProcessorInfo |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|
setProcessorInfo(ProcessorInfo.Builder builderForValue)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setProcessorInfo(ProcessorInfo.Builder builderForValue)The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProcessorInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder |
|