Class DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder (2.46.0)

public static final class DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder extends GeneratedMessageV3.Builder<DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder> implements DocumentOutputConfig.GcsOutputConfig.ShardingConfigOrBuilder

The sharding config for the output document.

Protobuf type google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

build()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig build()
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

buildPartial()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig buildPartial()
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

clear()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clear()
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

clearPagesOverlap()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearPagesOverlap()

The number of overlapping pages between consecutive shards.

int32 pages_overlap = 2;

Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

This builder for chaining.

clearPagesPerShard()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearPagesPerShard()

The number of pages per shard.

int32 pages_per_shard = 1;

Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

This builder for chaining.

clone()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clone()
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

getDefaultInstanceForType()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getDefaultInstanceForType()
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

getDescriptorForType()

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

getPagesOverlap()

public int getPagesOverlap()

The number of overlapping pages between consecutive shards.

int32 pages_overlap = 2;

Returns
Type Description
int

The pagesOverlap.

getPagesPerShard()

public int getPagesPerShard()

The number of pages per shard.

int32 pages_per_shard = 1;

Returns
Type Description
int

The pagesPerShard.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)
Parameter
Name Description
other DocumentOutputConfig.GcsOutputConfig.ShardingConfig
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

setPagesOverlap(int value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setPagesOverlap(int value)

The number of overlapping pages between consecutive shards.

int32 pages_overlap = 2;

Parameter
Name Description
value int

The pagesOverlap to set.

Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

This builder for chaining.

setPagesPerShard(int value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setPagesPerShard(int value)

The number of pages per shard.

int32 pages_per_shard = 1;

Parameter
Name Description
value int

The pagesPerShard to set.

Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides