Interface ImportAdaptiveMtFileRequestOrBuilder (2.52.0)

public interface ImportAdaptiveMtFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileInputSource()

public abstract FileInputSource getFileInputSource()

Inline file source.

.google.cloud.translation.v3.FileInputSource file_input_source = 2;

Returns
Type Description
FileInputSource

The fileInputSource.

getFileInputSourceOrBuilder()

public abstract FileInputSourceOrBuilder getFileInputSourceOrBuilder()

Inline file source.

.google.cloud.translation.v3.FileInputSource file_input_source = 2;

Returns
Type Description
FileInputSourceOrBuilder

getGcsInputSource()

public abstract GcsInputSource getGcsInputSource()

Google Cloud Storage file source.

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

Returns
Type Description
GcsInputSource

The gcsInputSource.

getGcsInputSourceOrBuilder()

public abstract GcsInputSourceOrBuilder getGcsInputSourceOrBuilder()

Google Cloud Storage file source.

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

Returns
Type Description
GcsInputSourceOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportAdaptiveMtFileRequest.SourceCase getSourceCase()
Returns
Type Description
ImportAdaptiveMtFileRequest.SourceCase

hasFileInputSource()

public abstract boolean hasFileInputSource()

Inline file source.

.google.cloud.translation.v3.FileInputSource file_input_source = 2;

Returns
Type Description
boolean

Whether the fileInputSource field is set.

hasGcsInputSource()

public abstract boolean hasGcsInputSource()

Google Cloud Storage file source.

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

Returns
Type Description
boolean

Whether the gcsInputSource field is set.