/*
* 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 BatchTranslateDocumentResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.translation.v3beta1.BatchTranslateDocumentResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Total number of pages to translate in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
* int64 total_pages = 1;
*
* @return The totalPages.
*/
long getTotalPages();
/**
*
*
*
* Number of successfully translated pages in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
* int64 translated_pages = 2;
*
* @return The translatedPages.
*/
long getTranslatedPages();
/**
*
*
*
* Number of pages that failed to process in all documents. Documents without
* clear page definition (such as XLSX) are not counted.
*
*
* int64 failed_pages = 3;
*
* @return The failedPages.
*/
long getFailedPages();
/**
*
*
*
* Number of billable pages in documents with clear page definition (such as
* PDF, DOCX, PPTX)
*
*
* int64 total_billable_pages = 4;
*
* @return The totalBillablePages.
*/
long getTotalBillablePages();
/**
*
*
*
* Total number of characters (Unicode codepoints) in all documents.
*
*
* int64 total_characters = 5;
*
* @return The totalCharacters.
*/
long getTotalCharacters();
/**
*
*
*
* Number of successfully translated characters (Unicode codepoints) in all
* documents.
*
*
* int64 translated_characters = 6;
*
* @return The translatedCharacters.
*/
long getTranslatedCharacters();
/**
*
*
*
* Number of characters that have failed to process (Unicode codepoints) in
* all documents.
*
*
* int64 failed_characters = 7;
*
* @return The failedCharacters.
*/
long getFailedCharacters();
/**
*
*
*
* Number of billable characters (Unicode codepoints) in documents without
* clear page definition, such as XLSX.
*
*
* int64 total_billable_characters = 8;
*
* @return The totalBillableCharacters.
*/
long getTotalBillableCharacters();
/**
*
*
*
* Time when the operation was submitted.
*
*
* .google.protobuf.Timestamp submit_time = 9;
*
* @return Whether the submitTime field is set.
*/
boolean hasSubmitTime();
/**
*
*
*
* Time when the operation was submitted.
*
*
* .google.protobuf.Timestamp submit_time = 9;
*
* @return The submitTime.
*/
com.google.protobuf.Timestamp getSubmitTime();
/**
*
*
*
* Time when the operation was submitted.
*
*
* .google.protobuf.Timestamp submit_time = 9;
*/
com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder();
/**
*
*
*
* The time when the operation is finished and
* [google.longrunning.Operation.done][google.longrunning.Operation.done] is
* set to true.
*
*
* .google.protobuf.Timestamp end_time = 10;
*
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
*
*
*
* The time when the operation is finished and
* [google.longrunning.Operation.done][google.longrunning.Operation.done] is
* set to true.
*
*
* .google.protobuf.Timestamp end_time = 10;
*
* @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
*
*
*
* The time when the operation is finished and
* [google.longrunning.Operation.done][google.longrunning.Operation.done] is
* set to true.
*
*
* .google.protobuf.Timestamp end_time = 10;
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
}