public static final class ImportDocumentsRequest.BatchDocumentsImportConfig extends GeneratedMessageV3 implements ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder
Config for importing documents.
Each batch can have its own dataset split type.
Protobuf type
google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTO_SPLIT_CONFIG_FIELD_NUMBER
public static final int AUTO_SPLIT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int BATCH_INPUT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATASET_SPLIT_FIELD_NUMBER
public static final int DATASET_SPLIT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportDocumentsRequest.BatchDocumentsImportConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportDocumentsRequest.BatchDocumentsImportConfig.Builder newBuilder()
newBuilder(ImportDocumentsRequest.BatchDocumentsImportConfig prototype)
public static ImportDocumentsRequest.BatchDocumentsImportConfig.Builder newBuilder(ImportDocumentsRequest.BatchDocumentsImportConfig prototype)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseDelimitedFrom(InputStream input)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(CodedInputStream input)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(InputStream input)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.BatchDocumentsImportConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportDocumentsRequest.BatchDocumentsImportConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAutoSplitConfig()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getAutoSplitConfig()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
getAutoSplitConfigOrBuilder()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder getAutoSplitConfigOrBuilder()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
public BatchDocumentsInputConfig getBatchInputConfig()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
public BatchDocumentsInputConfigOrBuilder getBatchInputConfigOrBuilder()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
getDatasetSplit()
public DatasetSplitType getDatasetSplit()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
getDatasetSplitValue()
public int getDatasetSplitValue()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for datasetSplit.
|
getDefaultInstanceForType()
public ImportDocumentsRequest.BatchDocumentsImportConfig getDefaultInstanceForType()
getParserForType()
public Parser<ImportDocumentsRequest.BatchDocumentsImportConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSplitTypeConfigCase()
public ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()
hasAutoSplitConfig()
public boolean hasAutoSplitConfig()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the autoSplitConfig field is set.
|
public boolean hasBatchInputConfig()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
Returns |
---|
Type | Description |
boolean | Whether the batchInputConfig field is set.
|
hasDatasetSplit()
public boolean hasDatasetSplit()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
Returns |
---|
Type | Description |
boolean | Whether the datasetSplit field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportDocumentsRequest.BatchDocumentsImportConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides