public static final class ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder extends GeneratedMessageV3.Builder<ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder> implements ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder
The config for auto-split.
Protobuf type
google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig
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 ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig build()
buildPartial()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig buildPartial()
clear()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTrainingSplitRatio()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearTrainingSplitRatio()
Ratio of training dataset split.
float training_split_ratio = 1;
clone()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTrainingSplitRatio()
public float getTrainingSplitRatio()
Ratio of training dataset split.
float training_split_ratio = 1;
Returns |
---|
Type | Description |
float | The trainingSplitRatio.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTrainingSplitRatio(float value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setTrainingSplitRatio(float value)
Ratio of training dataset split.
float training_split_ratio = 1;
Parameter |
---|
Name | Description |
value | float
The trainingSplitRatio to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides