Class ProcessOptions.LayoutConfig.Builder (2.49.0)

public static final class ProcessOptions.LayoutConfig.Builder extends GeneratedMessageV3.Builder<ProcessOptions.LayoutConfig.Builder> implements ProcessOptions.LayoutConfigOrBuilder

Serving config for layout parser processor.

Protobuf type google.cloud.documentai.v1.ProcessOptions.LayoutConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessOptions.LayoutConfig build()
Returns
Type Description
ProcessOptions.LayoutConfig

buildPartial()

public ProcessOptions.LayoutConfig buildPartial()
Returns
Type Description
ProcessOptions.LayoutConfig

clear()

public ProcessOptions.LayoutConfig.Builder clear()
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

clearChunkingConfig()

public ProcessOptions.LayoutConfig.Builder clearChunkingConfig()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ProcessOptions.LayoutConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessOptions.LayoutConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

clone()

public ProcessOptions.LayoutConfig.Builder clone()
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

getChunkingConfig()

public ProcessOptions.LayoutConfig.ChunkingConfig getChunkingConfig()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig.ChunkingConfig

The chunkingConfig.

getChunkingConfigBuilder()

public ProcessOptions.LayoutConfig.ChunkingConfig.Builder getChunkingConfigBuilder()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig.ChunkingConfig.Builder

getChunkingConfigOrBuilder()

public ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder getChunkingConfigOrBuilder()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder

getDefaultInstanceForType()

public ProcessOptions.LayoutConfig getDefaultInstanceForType()
Returns
Type Description
ProcessOptions.LayoutConfig

getDescriptorForType()

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

hasChunkingConfig()

public boolean hasChunkingConfig()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the chunkingConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value)

public ProcessOptions.LayoutConfig.Builder mergeChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value)

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ProcessOptions.LayoutConfig.ChunkingConfig
Returns
Type Description
ProcessOptions.LayoutConfig.Builder

mergeFrom(ProcessOptions.LayoutConfig other)

public ProcessOptions.LayoutConfig.Builder mergeFrom(ProcessOptions.LayoutConfig other)
Parameter
Name Description
other ProcessOptions.LayoutConfig
Returns
Type Description
ProcessOptions.LayoutConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProcessOptions.LayoutConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessOptions.LayoutConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides

setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value)

public ProcessOptions.LayoutConfig.Builder setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value)

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ProcessOptions.LayoutConfig.ChunkingConfig
Returns
Type Description
ProcessOptions.LayoutConfig.Builder

setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig.Builder builderForValue)

public ProcessOptions.LayoutConfig.Builder setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig.Builder builderForValue)

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ProcessOptions.LayoutConfig.ChunkingConfig.Builder
Returns
Type Description
ProcessOptions.LayoutConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessOptions.LayoutConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessOptions.LayoutConfig.Builder
Overrides