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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig build()
Returns
buildPartial()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig buildPartial()
Returns
clear()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPagesOverlap()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearPagesOverlap()
The number of overlapping pages between consecutive shards.
int32 pages_overlap = 2;
Returns
clearPagesPerShard()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clearPagesPerShard()
The number of pages per shard.
int32 pages_per_shard = 1;
Returns
clone()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig.ShardingConfig other)
Parameter
Returns
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides