All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.translate.v3beta1.TranslateTextResponseOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/translate/v3beta1/translation_service.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.translate.v3beta1;

public interface TranslateTextResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.translation.v3beta1.TranslateTextResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Text translation responses with no glossary applied.
   * This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation translations = 1; */ java.util.List getTranslationsList(); /** * * *
   * Text translation responses with no glossary applied.
   * This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation translations = 1; */ com.google.cloud.translate.v3beta1.Translation getTranslations(int index); /** * * *
   * Text translation responses with no glossary applied.
   * This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation translations = 1; */ int getTranslationsCount(); /** * * *
   * Text translation responses with no glossary applied.
   * This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation translations = 1; */ java.util.List getTranslationsOrBuilderList(); /** * * *
   * Text translation responses with no glossary applied.
   * This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation translations = 1; */ com.google.cloud.translate.v3beta1.TranslationOrBuilder getTranslationsOrBuilder(int index); /** * * *
   * Text translation responses if a glossary is provided in the request.
   * This can be the same as
   * [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
   * if no terms apply. This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3; */ java.util.List getGlossaryTranslationsList(); /** * * *
   * Text translation responses if a glossary is provided in the request.
   * This can be the same as
   * [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
   * if no terms apply. This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3; */ com.google.cloud.translate.v3beta1.Translation getGlossaryTranslations(int index); /** * * *
   * Text translation responses if a glossary is provided in the request.
   * This can be the same as
   * [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
   * if no terms apply. This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3; */ int getGlossaryTranslationsCount(); /** * * *
   * Text translation responses if a glossary is provided in the request.
   * This can be the same as
   * [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
   * if no terms apply. This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3; */ java.util.List getGlossaryTranslationsOrBuilderList(); /** * * *
   * Text translation responses if a glossary is provided in the request.
   * This can be the same as
   * [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
   * if no terms apply. This field has the same length as
   * [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
   * 
* * repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3; */ com.google.cloud.translate.v3beta1.TranslationOrBuilder getGlossaryTranslationsOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy