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

com.google.cloud.translate.v3beta1.DocumentTranslationOrBuilder 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 DocumentTranslationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.translation.v3beta1.DocumentTranslation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The array of translated documents. It is expected to be size 1 for now. We
   * may produce multiple translated documents in the future for other type of
   * file formats.
   * 
* * repeated bytes byte_stream_outputs = 1; * * @return A list containing the byteStreamOutputs. */ java.util.List getByteStreamOutputsList(); /** * * *
   * The array of translated documents. It is expected to be size 1 for now. We
   * may produce multiple translated documents in the future for other type of
   * file formats.
   * 
* * repeated bytes byte_stream_outputs = 1; * * @return The count of byteStreamOutputs. */ int getByteStreamOutputsCount(); /** * * *
   * The array of translated documents. It is expected to be size 1 for now. We
   * may produce multiple translated documents in the future for other type of
   * file formats.
   * 
* * repeated bytes byte_stream_outputs = 1; * * @param index The index of the element to return. * @return The byteStreamOutputs at the given index. */ com.google.protobuf.ByteString getByteStreamOutputs(int index); /** * * *
   * The translated document's mime type.
   * 
* * string mime_type = 2; * * @return The mimeType. */ java.lang.String getMimeType(); /** * * *
   * The translated document's mime type.
   * 
* * string mime_type = 2; * * @return The bytes for mimeType. */ com.google.protobuf.ByteString getMimeTypeBytes(); /** * * *
   * The detected language for the input document.
   * If the user did not provide the source language for the input document,
   * this field will have the language code automatically detected. If the
   * source language was passed, auto-detection of the language does not occur
   * and this field is empty.
   * 
* * string detected_language_code = 3; * * @return The detectedLanguageCode. */ java.lang.String getDetectedLanguageCode(); /** * * *
   * The detected language for the input document.
   * If the user did not provide the source language for the input document,
   * this field will have the language code automatically detected. If the
   * source language was passed, auto-detection of the language does not occur
   * and this field is empty.
   * 
* * string detected_language_code = 3; * * @return The bytes for detectedLanguageCode. */ com.google.protobuf.ByteString getDetectedLanguageCodeBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy