Class DatasetInputConfig.Builder (2.54.0)

public static final class DatasetInputConfig.Builder extends GeneratedMessageV3.Builder<DatasetInputConfig.Builder> implements DatasetInputConfigOrBuilder

Input configuration for datasets.

Protobuf type google.cloud.translation.v3.DatasetInputConfig

Static Methods

getDescriptor()

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

Methods

addAllInputFiles(Iterable<? extends DatasetInputConfig.InputFile> values)

public DatasetInputConfig.Builder addAllInputFiles(Iterable<? extends DatasetInputConfig.InputFile> values)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.translate.v3.DatasetInputConfig.InputFile>
Returns
Type Description
DatasetInputConfig.Builder

addInputFiles(DatasetInputConfig.InputFile value)

public DatasetInputConfig.Builder addInputFiles(DatasetInputConfig.InputFile value)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
value DatasetInputConfig.InputFile
Returns
Type Description
DatasetInputConfig.Builder

addInputFiles(DatasetInputConfig.InputFile.Builder builderForValue)

public DatasetInputConfig.Builder addInputFiles(DatasetInputConfig.InputFile.Builder builderForValue)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
builderForValue DatasetInputConfig.InputFile.Builder
Returns
Type Description
DatasetInputConfig.Builder

addInputFiles(int index, DatasetInputConfig.InputFile value)

public DatasetInputConfig.Builder addInputFiles(int index, DatasetInputConfig.InputFile value)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameters
Name Description
index int
value DatasetInputConfig.InputFile
Returns
Type Description
DatasetInputConfig.Builder

addInputFiles(int index, DatasetInputConfig.InputFile.Builder builderForValue)

public DatasetInputConfig.Builder addInputFiles(int index, DatasetInputConfig.InputFile.Builder builderForValue)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameters
Name Description
index int
builderForValue DatasetInputConfig.InputFile.Builder
Returns
Type Description
DatasetInputConfig.Builder

addInputFilesBuilder()

public DatasetInputConfig.InputFile.Builder addInputFilesBuilder()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
DatasetInputConfig.InputFile.Builder

addInputFilesBuilder(int index)

public DatasetInputConfig.InputFile.Builder addInputFilesBuilder(int index)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetInputConfig.InputFile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatasetInputConfig build()
Returns
Type Description
DatasetInputConfig

buildPartial()

public DatasetInputConfig buildPartial()
Returns
Type Description
DatasetInputConfig

clear()

public DatasetInputConfig.Builder clear()
Returns
Type Description
DatasetInputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DatasetInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatasetInputConfig.Builder
Overrides

clearInputFiles()

public DatasetInputConfig.Builder clearInputFiles()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
DatasetInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DatasetInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatasetInputConfig.Builder
Overrides

clone()

public DatasetInputConfig.Builder clone()
Returns
Type Description
DatasetInputConfig.Builder
Overrides

getDefaultInstanceForType()

public DatasetInputConfig getDefaultInstanceForType()
Returns
Type Description
DatasetInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputFiles(int index)

public DatasetInputConfig.InputFile getInputFiles(int index)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetInputConfig.InputFile

getInputFilesBuilder(int index)

public DatasetInputConfig.InputFile.Builder getInputFilesBuilder(int index)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetInputConfig.InputFile.Builder

getInputFilesBuilderList()

public List<DatasetInputConfig.InputFile.Builder> getInputFilesBuilderList()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
List<Builder>

getInputFilesCount()

public int getInputFilesCount()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
int

getInputFilesList()

public List<DatasetInputConfig.InputFile> getInputFilesList()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
List<InputFile>

getInputFilesOrBuilder(int index)

public DatasetInputConfig.InputFileOrBuilder getInputFilesOrBuilder(int index)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetInputConfig.InputFileOrBuilder

getInputFilesOrBuilderList()

public List<? extends DatasetInputConfig.InputFileOrBuilder> getInputFilesOrBuilderList()

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Returns
Type Description
List<? extends com.google.cloud.translate.v3.DatasetInputConfig.InputFileOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatasetInputConfig other)

public DatasetInputConfig.Builder mergeFrom(DatasetInputConfig other)
Parameter
Name Description
other DatasetInputConfig
Returns
Type Description
DatasetInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DatasetInputConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatasetInputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatasetInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetInputConfig.Builder
Overrides

removeInputFiles(int index)

public DatasetInputConfig.Builder removeInputFiles(int index)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputFiles(int index, DatasetInputConfig.InputFile value)

public DatasetInputConfig.Builder setInputFiles(int index, DatasetInputConfig.InputFile value)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameters
Name Description
index int
value DatasetInputConfig.InputFile
Returns
Type Description
DatasetInputConfig.Builder

setInputFiles(int index, DatasetInputConfig.InputFile.Builder builderForValue)

public DatasetInputConfig.Builder setInputFiles(int index, DatasetInputConfig.InputFile.Builder builderForValue)

Files containing the sentence pairs to be imported to the dataset.

repeated .google.cloud.translation.v3.DatasetInputConfig.InputFile input_files = 1;

Parameters
Name Description
index int
builderForValue DatasetInputConfig.InputFile.Builder
Returns
Type Description
DatasetInputConfig.Builder

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

public DatasetInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatasetInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatasetInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetInputConfig.Builder
Overrides