Interface GlossaryInputConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GlossaryInputConfig, GlossaryInputConfig.Builder

@Generated public interface GlossaryInputConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
     
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasGcsSource

      boolean hasGcsSource()
       Required. Google Cloud Storage location of glossary data.
       File format is determined based on the filename extension. API returns
       [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
       formats. Wildcards are not allowed. This must be a single file in one of
       the following formats:
      
       For unidirectional glossaries:
      
       - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.
       The first column is source text. The second column is target text.
       No headers in this file. The first row contains data and not column
       names.
      
       - TMX (`.tmx`): TMX file with parallel data defining source/target term
       pairs.
      
       For equivalent term sets glossaries:
      
       - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms
       in multiple languages. See documentation for more information -
       [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
       
      .google.cloud.translation.v3.GcsSource gcs_source = 1;
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      GcsSource getGcsSource()
       Required. Google Cloud Storage location of glossary data.
       File format is determined based on the filename extension. API returns
       [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
       formats. Wildcards are not allowed. This must be a single file in one of
       the following formats:
      
       For unidirectional glossaries:
      
       - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.
       The first column is source text. The second column is target text.
       No headers in this file. The first row contains data and not column
       names.
      
       - TMX (`.tmx`): TMX file with parallel data defining source/target term
       pairs.
      
       For equivalent term sets glossaries:
      
       - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms
       in multiple languages. See documentation for more information -
       [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
       
      .google.cloud.translation.v3.GcsSource gcs_source = 1;
      Returns:
      The gcsSource.
    • getGcsSourceOrBuilder

      GcsSourceOrBuilder getGcsSourceOrBuilder()
       Required. Google Cloud Storage location of glossary data.
       File format is determined based on the filename extension. API returns
       [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
       formats. Wildcards are not allowed. This must be a single file in one of
       the following formats:
      
       For unidirectional glossaries:
      
       - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.
       The first column is source text. The second column is target text.
       No headers in this file. The first row contains data and not column
       names.
      
       - TMX (`.tmx`): TMX file with parallel data defining source/target term
       pairs.
      
       For equivalent term sets glossaries:
      
       - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms
       in multiple languages. See documentation for more information -
       [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
       
      .google.cloud.translation.v3.GcsSource gcs_source = 1;
    • getSourceCase