public static final class TableExtractionParams.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder> implements TableExtractionParamsOrBuilder
Parameters to control table extraction behavior.Protobuf type
google.cloud.documentai.v1beta2.TableExtractionParamsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TableExtractionParams build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TableExtractionParams buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TableExtractionParams.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder mergeFrom(TableExtractionParams other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public TableExtractionParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TableExtractionParams.Builder>IOExceptionpublic boolean getEnabled()
Whether to enable table extraction.
bool enabled = 1;getEnabled in interface TableExtractionParamsOrBuilderpublic TableExtractionParams.Builder setEnabled(boolean value)
Whether to enable table extraction.
bool enabled = 1;value - The enabled to set.public TableExtractionParams.Builder clearEnabled()
Whether to enable table extraction.
bool enabled = 1;public List<TableBoundHint> getTableBoundHintsList()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
getTableBoundHintsList in interface TableExtractionParamsOrBuilderpublic int getTableBoundHintsCount()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
getTableBoundHintsCount in interface TableExtractionParamsOrBuilderpublic TableBoundHint getTableBoundHints(int index)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
getTableBoundHints in interface TableExtractionParamsOrBuilderpublic TableExtractionParams.Builder setTableBoundHints(int index, TableBoundHint value)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder setTableBoundHints(int index, TableBoundHint.Builder builderForValue)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder addTableBoundHints(TableBoundHint value)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder addTableBoundHints(int index, TableBoundHint value)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder addTableBoundHints(TableBoundHint.Builder builderForValue)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder addTableBoundHints(int index, TableBoundHint.Builder builderForValue)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder addAllTableBoundHints(Iterable<? extends TableBoundHint> values)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder clearTableBoundHints()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableExtractionParams.Builder removeTableBoundHints(int index)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableBoundHint.Builder getTableBoundHintsBuilder(int index)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableBoundHintOrBuilder getTableBoundHintsOrBuilder(int index)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
getTableBoundHintsOrBuilder in interface TableExtractionParamsOrBuilderpublic List<? extends TableBoundHintOrBuilder> getTableBoundHintsOrBuilderList()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
getTableBoundHintsOrBuilderList in interface TableExtractionParamsOrBuilderpublic TableBoundHint.Builder addTableBoundHintsBuilder()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public TableBoundHint.Builder addTableBoundHintsBuilder(int index)
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public List<TableBoundHint.Builder> getTableBoundHintsBuilderList()
Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.
repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.ProtocolStringList getHeaderHintsList()
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];getHeaderHintsList in interface TableExtractionParamsOrBuilderpublic int getHeaderHintsCount()
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];getHeaderHintsCount in interface TableExtractionParamsOrBuilderpublic String getHeaderHints(int index)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];getHeaderHints in interface TableExtractionParamsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHeaderHintsBytes(int index)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];getHeaderHintsBytes in interface TableExtractionParamsOrBuilderindex - The index of the value to return.public TableExtractionParams.Builder setHeaderHints(int index, String value)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The headerHints to set.public TableExtractionParams.Builder addHeaderHints(String value)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];value - The headerHints to add.public TableExtractionParams.Builder addAllHeaderHints(Iterable<String> values)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];values - The headerHints to add.public TableExtractionParams.Builder clearHeaderHints()
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];public TableExtractionParams.Builder addHeaderHintsBytes(com.google.protobuf.ByteString value)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the headerHints to add.public String getModelVersion()
Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.
string model_version = 4;getModelVersion in interface TableExtractionParamsOrBuilderpublic com.google.protobuf.ByteString getModelVersionBytes()
Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.
string model_version = 4;getModelVersionBytes in interface TableExtractionParamsOrBuilderpublic TableExtractionParams.Builder setModelVersion(String value)
Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.
string model_version = 4;value - The modelVersion to set.public TableExtractionParams.Builder clearModelVersion()
Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.
string model_version = 4;public TableExtractionParams.Builder setModelVersionBytes(com.google.protobuf.ByteString value)
Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.
string model_version = 4;value - The bytes for modelVersion to set.public final TableExtractionParams.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>public final TableExtractionParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TableExtractionParams.Builder>Copyright © 2023 Google LLC. All rights reserved.