Class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig (0.35.0)

public static final class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig extends GeneratedMessageV3 implements DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder

The layout parsing configurations for documents.

Protobuf type google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig

Static Methods

getDefaultInstance()

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getDefaultInstance()
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig

getDescriptor()

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

newBuilder()

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder newBuilder()
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder

newBuilder(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig prototype)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder newBuilder(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig prototype)
Parameter
NameDescription
prototypeDocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder

parseDelimitedFrom(InputStream input)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig> parser()
Returns
TypeDescription
Parser<LayoutParsingConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getDefaultInstanceForType()
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig

getParserForType()

public Parser<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig> getParserForType()
Returns
TypeDescription
Parser<LayoutParsingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder newBuilderForType()
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder toBuilder()
Returns
TypeDescription
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder

writeTo(CodedOutputStream output)

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