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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata build()
buildPartial()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata buildPartial()
clear()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProcessorInfo()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clearProcessorInfo()
The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
clone()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder clone()
Overrides
getDefaultInstanceForType()
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getProcessorInfo()
public ProcessorInfo getProcessorInfo()
The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
getProcessorInfoBuilder()
public ProcessorInfo.Builder getProcessorInfoBuilder()
The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
getProcessorInfoOrBuilder()
public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()
The DocAI processor to process the documents with.
.google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides