Class DocumentProcessingConfig.ChunkingConfig.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentProcessingConfig.ChunkingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DocumentProcessingConfig.ChunkingConfig.Builder clear()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

clearChunkMode()

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

clearField(Descriptors.FieldDescriptor field)

public DocumentProcessingConfig.ChunkingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentProcessingConfig.ChunkingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

clone()

public DocumentProcessingConfig.ChunkingConfig.Builder clone()
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

getChunkModeCase()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the layoutBasedChunkingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DocumentProcessingConfig.ChunkingConfig other)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(DocumentProcessingConfig.ChunkingConfig other)
Parameter
NameDescription
otherDocumentProcessingConfig.ChunkingConfig
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DocumentProcessingConfig.ChunkingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentProcessingConfig.ChunkingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentProcessingConfig.ChunkingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig
Returns
TypeDescription
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
NameDescription
builderForValueDocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig.Builder
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder

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

public DocumentProcessingConfig.ChunkingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentProcessingConfig.ChunkingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentProcessingConfig.ChunkingConfig.Builder
Overrides