Package com.google.cloud.translate.v3
Interface ImportAdaptiveMtFileRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileRequest.Builder
@Generated
public interface ImportAdaptiveMtFileRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInline file source.Inline file source.Google Cloud Storage file source.Google Cloud Storage file source.Required.com.google.protobuf.ByteStringRequired.booleanInline file source.booleanGoogle Cloud Storage file source.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasFileInputSource
boolean hasFileInputSource()Inline file source.
.google.cloud.translation.v3.FileInputSource file_input_source = 2;- Returns:
- Whether the fileInputSource field is set.
-
getFileInputSource
FileInputSource getFileInputSource()Inline file source.
.google.cloud.translation.v3.FileInputSource file_input_source = 2;- Returns:
- The fileInputSource.
-
getFileInputSourceOrBuilder
FileInputSourceOrBuilder getFileInputSourceOrBuilder()Inline file source.
.google.cloud.translation.v3.FileInputSource file_input_source = 2; -
hasGcsInputSource
boolean hasGcsInputSource()Google Cloud Storage file source.
.google.cloud.translation.v3.GcsInputSource gcs_input_source = 3;- Returns:
- Whether the gcsInputSource field is set.
-
getGcsInputSource
GcsInputSource getGcsInputSource()Google Cloud Storage file source.
.google.cloud.translation.v3.GcsInputSource gcs_input_source = 3;- Returns:
- The gcsInputSource.
-
getGcsInputSourceOrBuilder
GcsInputSourceOrBuilder getGcsInputSourceOrBuilder()Google Cloud Storage file source.
.google.cloud.translation.v3.GcsInputSource gcs_input_source = 3; -
getSourceCase
ImportAdaptiveMtFileRequest.SourceCase getSourceCase()
-