public static final class DatasetInputConfig.Builder extends GeneratedMessageV3.Builder<DatasetInputConfig.Builder> implements DatasetInputConfigOrBuilder
Input configuration for datasets.
Protobuf type google.cloud.translation.v3.DatasetInputConfig
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
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;
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
|
public DatasetInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DatasetInputConfig build()
public DatasetInputConfig buildPartial()
public DatasetInputConfig.Builder clear()
Overrides
public DatasetInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public DatasetInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DatasetInputConfig.Builder clone()
Overrides
public DatasetInputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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;
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 |
|
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;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DatasetInputConfig.Builder mergeFrom(DatasetInputConfig other)
public DatasetInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DatasetInputConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final DatasetInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public DatasetInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
public DatasetInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DatasetInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides