Class DocumentProcessingConfig.ChunkingConfig (0.35.0)

public static final class DocumentProcessingConfig.ChunkingConfig extends GeneratedMessageV3 implements DocumentProcessingConfig.ChunkingConfigOrBuilder

Configuration for chunking config.

Protobuf type google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ChunkingConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DocumentProcessingConfig.ChunkingConfig

Static Fields

LAYOUT_BASED_CHUNKING_CONFIG_FIELD_NUMBER

public static final int LAYOUT_BASED_CHUNKING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DocumentProcessingConfig.ChunkingConfig getDefaultInstance()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig

getDescriptor()

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

newBuilder()

public static DocumentProcessingConfig.ChunkingConfig.Builder newBuilder()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

newBuilder(DocumentProcessingConfig.ChunkingConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChunkModeCase()

public DocumentProcessingConfig.ChunkingConfig.ChunkModeCase getChunkModeCase()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.ChunkModeCase

getDefaultInstanceForType()

public DocumentProcessingConfig.ChunkingConfig getDefaultInstanceForType()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig

getLayoutBasedChunkingConfig()

public DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig getLayoutBasedChunkingConfig()

Configuration for the layout based chunking.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig layout_based_chunking_config = 1;

Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig

The layoutBasedChunkingConfig.

getLayoutBasedChunkingConfigOrBuilder()

public DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfigOrBuilder getLayoutBasedChunkingConfigOrBuilder()

Configuration for the layout based chunking.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig layout_based_chunking_config = 1;

Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasLayoutBasedChunkingConfig()

public boolean hasLayoutBasedChunkingConfig()

Configuration for the layout based chunking.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig layout_based_chunking_config = 1;

Returns
TypeDescription
boolean

Whether the layoutBasedChunkingConfig 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 DocumentProcessingConfig.ChunkingConfig.Builder newBuilderForType()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DocumentProcessingConfig.ChunkingConfig.Builder toBuilder()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

writeTo(CodedOutputStream output)

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