Class DocumentProcessingConfig.ChunkingConfig (0.51.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
Type Description
int

Static Methods

getDefaultInstance()

public static DocumentProcessingConfig.ChunkingConfig getDefaultInstance()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DocumentProcessingConfig.ChunkingConfig.Builder newBuilder()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

newBuilder(DocumentProcessingConfig.ChunkingConfig prototype)

public static DocumentProcessingConfig.ChunkingConfig.Builder newBuilder(DocumentProcessingConfig.ChunkingConfig prototype)
Parameter
Name Description
prototype DocumentProcessingConfig.ChunkingConfig
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

parseDelimitedFrom(InputStream input)

public static DocumentProcessingConfig.ChunkingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DocumentProcessingConfig.ChunkingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getChunkModeCase()

public DocumentProcessingConfig.ChunkingConfig.ChunkModeCase getChunkModeCase()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.ChunkModeCase

getDefaultInstanceForType()

public DocumentProcessingConfig.ChunkingConfig getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

Whether the layoutBasedChunkingConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DocumentProcessingConfig.ChunkingConfig.Builder newBuilderForType()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DocumentProcessingConfig.ChunkingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DocumentProcessingConfig.ChunkingConfig.Builder toBuilder()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException