Class ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

build()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig build()
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

buildPartial()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig buildPartial()
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

clear()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clear()
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

clearTrainingSplitRatio()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clearTrainingSplitRatio()

Ratio of training dataset split.

float training_split_ratio = 1;

Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

This builder for chaining.

clone()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder clone()
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

getDefaultInstanceForType()

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getDefaultInstanceForType()
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTrainingSplitRatio()

public float getTrainingSplitRatio()

Ratio of training dataset split.

float training_split_ratio = 1;

Returns
TypeDescription
float

The trainingSplitRatio.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig other)
Parameter
NameDescription
otherImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The trainingSplitRatio to set.

Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder
Overrides