Interface DatasetInputConfig.InputFileOrBuilder (2.49.0)

public static interface DatasetInputConfig.InputFileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract GcsInputSource getGcsSource()

Google Cloud Storage file source.

.google.cloud.translation.v3.GcsInputSource gcs_source = 3;

Returns
Type Description
GcsInputSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsInputSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage file source.

.google.cloud.translation.v3.GcsInputSource gcs_source = 3;

Returns
Type Description
GcsInputSourceOrBuilder

getSourceCase()

public abstract DatasetInputConfig.InputFile.SourceCase getSourceCase()
Returns
Type Description
DatasetInputConfig.InputFile.SourceCase

getUsage()

public abstract String getUsage()

Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.

string usage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The usage.

getUsageBytes()

public abstract ByteString getUsageBytes()

Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.

string usage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for usage.

hasGcsSource()

public abstract boolean hasGcsSource()

Google Cloud Storage file source.

.google.cloud.translation.v3.GcsInputSource gcs_source = 3;

Returns
Type Description
boolean

Whether the gcsSource field is set.