Class DatasetInputConfig (2.49.0)

public final class DatasetInputConfig extends GeneratedMessageV3 implements DatasetInputConfigOrBuilder

Input configuration for datasets.

Protobuf type google.cloud.translation.v3.DatasetInputConfig

Static Fields

INPUT_FILES_FIELD_NUMBER

public static final int INPUT_FILES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatasetInputConfig getDefaultInstance()
Returns
Type Description
DatasetInputConfig

getDescriptor()

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

newBuilder()

public static DatasetInputConfig.Builder newBuilder()
Returns
Type Description
DatasetInputConfig.Builder

newBuilder(DatasetInputConfig prototype)

public static DatasetInputConfig.Builder newBuilder(DatasetInputConfig prototype)
Parameter
Name Description
prototype DatasetInputConfig
Returns
Type Description
DatasetInputConfig.Builder

parseDelimitedFrom(InputStream input)

public static DatasetInputConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatasetInputConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatasetInputConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatasetInputConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatasetInputConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatasetInputConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatasetInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatasetInputConfig> parser()
Returns
Type Description
Parser<DatasetInputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatasetInputConfig getDefaultInstanceForType()
Returns
Type Description
DatasetInputConfig

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

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>

getParserForType()

public Parser<DatasetInputConfig> getParserForType()
Returns
Type Description
Parser<DatasetInputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatasetInputConfig.Builder newBuilderForType()
Returns
Type Description
DatasetInputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatasetInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatasetInputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatasetInputConfig.Builder toBuilder()
Returns
Type Description
DatasetInputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException