Class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder (0.48.0)

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

The metadata message for Process-with-DocAi pipeline.

Protobuf type google.cloud.contentwarehouse.v1.RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

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

clone()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clone()
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides