Class DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

build()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig build()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

buildPartial()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig buildPartial()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

clear()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clear()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

This builder for chaining.

clone()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clone()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

getDefaultInstanceForType()

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getDefaultInstanceForType()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPagesOverlap()

public int getPagesOverlap()

The number of overlapping pages between consecutive shards.

int32 pages_overlap = 2;

Returns
TypeDescription
int

The pagesOverlap.

getPagesPerShard()

public int getPagesPerShard()

The number of pages per shard.

int32 pages_per_shard = 1;

Returns
TypeDescription
int

The pagesPerShard.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)
Parameter
NameDescription
otherDocumentOutputConfig.GcsOutputConfig.ShardingConfig
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pagesOverlap to set.

Returns
TypeDescription
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
NameDescription
valueint

The pagesPerShard to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder
Overrides