Class ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder (2.57.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

build()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig build()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

buildPartial()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig buildPartial()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

clear()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clear()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearTrainingSplitRatio()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearTrainingSplitRatio()

Ratio of training dataset split.

float training_split_ratio = 1;

Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

This builder for chaining.

clone()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clone()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

getDefaultInstanceForType()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getDefaultInstanceForType()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)
Parameter
Name Description
other ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
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.

Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides