Interface RefineTextResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The refined translations obtained from the original translations.
    com.google.protobuf.ByteString
    The refined translations obtained from the original translations.
    int
    The refined translations obtained from the original translations.
    The refined translations obtained from the original translations.

    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

    • getRefinedTranslationsList

      List<String> getRefinedTranslationsList()
       The refined translations obtained from the original translations.
       
      repeated string refined_translations = 1;
      Returns:
      A list containing the refinedTranslations.
    • getRefinedTranslationsCount

      int getRefinedTranslationsCount()
       The refined translations obtained from the original translations.
       
      repeated string refined_translations = 1;
      Returns:
      The count of refinedTranslations.
    • getRefinedTranslations

      String getRefinedTranslations(int index)
       The refined translations obtained from the original translations.
       
      repeated string refined_translations = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The refinedTranslations at the given index.
    • getRefinedTranslationsBytes

      com.google.protobuf.ByteString getRefinedTranslationsBytes(int index)
       The refined translations obtained from the original translations.
       
      repeated string refined_translations = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the refinedTranslations at the given index.