Class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder (0.33.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
TypeDescription
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
NameDescription
valuesIterable<String>

The documents to add.

Returns
TypeDescription
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
NameDescription
valueString

The documents to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the documents to add.

Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

build()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata build()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

buildPartial()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata buildPartial()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

clear()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

clone()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clone()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

getDefaultInstanceForType()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata getDefaultInstanceForType()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ProcessorInfo.Builder

getProcessorInfoOrBuilder()

public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()

The DocAI processor to process the documents with.

.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;

Returns
TypeDescription
ProcessorInfoOrBuilder

hasProcessorInfo()

public boolean hasProcessorInfo()

The DocAI processor to process the documents with.

.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;

Returns
TypeDescription
boolean

Whether the processorInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)
Parameter
NameDescription
otherRunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueProcessorInfo
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The documents to set.

Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueProcessorInfo
Returns
TypeDescription
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
NameDescription
builderForValueProcessorInfo.Builder
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

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

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides