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