Interface ImportAdaptiveMtFileRequestOrBuilder (2.40.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
TypeDescription
FileInputSource

The fileInputSource.

getFileInputSourceOrBuilder()

public abstract FileInputSourceOrBuilder getFileInputSourceOrBuilder()

Inline file source.

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

Returns
TypeDescription
FileInputSourceOrBuilder

getGcsInputSource()

public abstract GcsInputSource getGcsInputSource()

Google Cloud Storage file source.

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

Returns
TypeDescription
GcsInputSource

The gcsInputSource.

getGcsInputSourceOrBuilder()

public abstract GcsInputSourceOrBuilder getGcsInputSourceOrBuilder()

Google Cloud Storage file source.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportAdaptiveMtFileRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportAdaptiveMtFileRequest.SourceCase

hasFileInputSource()

public abstract boolean hasFileInputSource()

Inline file source.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsInputSource field is set.