public static final class DocumentOutputConfig.GcsOutputConfig.ShardingConfig extends GeneratedMessageV3 implements DocumentOutputConfig.GcsOutputConfig.ShardingConfigOrBuilder
The sharding config for the output document.
Protobuf type
google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig
Static Fields
PAGES_OVERLAP_FIELD_NUMBER
public static final int PAGES_OVERLAP_FIELD_NUMBER
Field Value
PAGES_PER_SHARD_FIELD_NUMBER
public static final int PAGES_PER_SHARD_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder newBuilder()
Returns
newBuilder(DocumentOutputConfig.GcsOutputConfig.ShardingConfig prototype)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder newBuilder(DocumentOutputConfig.GcsOutputConfig.ShardingConfig prototype)
Parameter
Returns
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentOutputConfig.GcsOutputConfig.ShardingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DocumentOutputConfig.GcsOutputConfig.ShardingConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<DocumentOutputConfig.GcsOutputConfig.ShardingConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions