Interface TrackDefinitionOrBuilder

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

@Generated public interface TrackDefinitionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasInputTrack

      boolean hasInputTrack()
       The input track.
       
      optional int32 input_track = 1;
      Returns:
      Whether the inputTrack field is set.
    • getInputTrack

      int getInputTrack()
       The input track.
       
      optional int32 input_track = 1;
      Returns:
      The inputTrack.
    • getLanguagesList

      List<String> getLanguagesList()
       Optional. A list of languages spoken in the input asset, represented by a
       BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
       see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the languages.
    • getLanguagesCount

      int getLanguagesCount()
       Optional. A list of languages spoken in the input asset, represented by a
       BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
       see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of languages.
    • getLanguages

      String getLanguages(int index)
       Optional. A list of languages spoken in the input asset, represented by a
       BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
       see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The languages at the given index.
    • getLanguagesBytes

      com.google.protobuf.ByteString getLanguagesBytes(int index)
       Optional. A list of languages spoken in the input asset, represented by a
       BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
       see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the languages at the given index.
    • getDetectLanguages

      boolean getDetectLanguages()
       Optional. Whether to automatically detect the languages present in the
       track. If true, the system will attempt to identify all the languages
       present in the track and populate the languages field.
       
      bool detect_languages = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The detectLanguages.
    • getDetectedLanguagesList

      List<String> getDetectedLanguagesList()
       Output only. A list of languages detected in the input asset, represented
       by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       This field is only populated if the detect_languages field is set to true.
       
      repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the detectedLanguages.
    • getDetectedLanguagesCount

      int getDetectedLanguagesCount()
       Output only. A list of languages detected in the input asset, represented
       by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       This field is only populated if the detect_languages field is set to true.
       
      repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The count of detectedLanguages.
    • getDetectedLanguages

      String getDetectedLanguages(int index)
       Output only. A list of languages detected in the input asset, represented
       by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       This field is only populated if the detect_languages field is set to true.
       
      repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the element to return.
      Returns:
      The detectedLanguages at the given index.
    • getDetectedLanguagesBytes

      com.google.protobuf.ByteString getDetectedLanguagesBytes(int index)
       Output only. A list of languages detected in the input asset, represented
       by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       This field is only populated if the detect_languages field is set to true.
       
      repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the detectedLanguages at the given index.