Class DocumentProcessingConfig.ChunkingConfig.Builder (0.43.0)

public static final class DocumentProcessingConfig.ChunkingConfig.Builder extends GeneratedMessageV3.Builder<DocumentProcessingConfig.ChunkingConfig.Builder> implements DocumentProcessingConfig.ChunkingConfigOrBuilder

Configuration for chunking config.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentProcessingConfig.ChunkingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

build()

public DocumentProcessingConfig.ChunkingConfig build()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig

buildPartial()

public DocumentProcessingConfig.ChunkingConfig buildPartial()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig

clear()

public DocumentProcessingConfig.ChunkingConfig.Builder clear()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

clearChunkMode()

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

clearField(Descriptors.FieldDescriptor field)

public DocumentProcessingConfig.ChunkingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

clearLayoutBasedChunkingConfig()

public DocumentProcessingConfig.ChunkingConfig.Builder clearLayoutBasedChunkingConfig()

Configuration for the layout based chunking.

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

Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentProcessingConfig.ChunkingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

clone()

public DocumentProcessingConfig.ChunkingConfig.Builder clone()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

getChunkModeCase()

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

getDefaultInstanceForType()

public DocumentProcessingConfig.ChunkingConfig getDefaultInstanceForType()
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLayoutBasedChunkingConfigBuilder()

public DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder getLayoutBasedChunkingConfigBuilder()

Configuration for the layout based chunking.

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

Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DocumentProcessingConfig.ChunkingConfig other)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(DocumentProcessingConfig.ChunkingConfig other)
Parameter
Name Description
other DocumentProcessingConfig.ChunkingConfig
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

mergeLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig value)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig value)

Configuration for the layout based chunking.

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

Parameter
Name Description
value DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentProcessingConfig.ChunkingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentProcessingConfig.ChunkingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

setLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig value)

public DocumentProcessingConfig.ChunkingConfig.Builder setLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig value)

Configuration for the layout based chunking.

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

Parameter
Name Description
value DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

setLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder builderForValue)

public DocumentProcessingConfig.ChunkingConfig.Builder setLayoutBasedChunkingConfig(DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder builderForValue)

Configuration for the layout based chunking.

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

Parameter
Name Description
builderForValue DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DocumentProcessingConfig.ChunkingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentProcessingConfig.ChunkingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides