Class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata (0.25.0)

public static final class RunPipelineMetadata.ProcessWithDocAiPipelineMetadata extends GeneratedMessageV3 implements RunPipelineMetadata.ProcessWithDocAiPipelineMetadataOrBuilder

The metadata message for Process-with-DocAi pipeline.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

Static Fields

DOCUMENTS_FIELD_NUMBER

public static final int DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_INFO_FIELD_NUMBER

public static final int PROCESSOR_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata getDefaultInstance()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder newBuilder()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

newBuilder(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata prototype)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder newBuilder(RunPipelineMetadata.ProcessWithDocAiPipelineMetadata prototype)
Parameter
NameDescription
prototypeRunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunPipelineMetadata.ProcessWithDocAiPipelineMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RunPipelineMetadata.ProcessWithDocAiPipelineMetadata> parser()
Returns
TypeDescription
Parser<ProcessWithDocAiPipelineMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<RunPipelineMetadata.ProcessWithDocAiPipelineMetadata> getParserForType()
Returns
TypeDescription
Parser<ProcessWithDocAiPipelineMetadata>
Overrides

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.

getProcessorInfoOrBuilder()

public ProcessorInfoOrBuilder getProcessorInfoOrBuilder()

The DocAI processor to process the documents with.

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

Returns
TypeDescription
ProcessorInfoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder newBuilderForType()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder toBuilder()
Returns
TypeDescription
RunPipelineMetadata.ProcessWithDocAiPipelineMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException