Class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder (0.79.0)

public static final class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder extends GeneratedMessage.Builder<RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder> implements RunPipelineMetadata.ProcessWithDocAiPipelineMetadataOrBuilder

The 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.Builder

Static 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 String

The 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 ByteString

The 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
Overrides

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
Overrides

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 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 input list of all the resource names of the documents to be processed.

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 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 int

The index to set the value at.

value String

The 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