Package com.google.cloud.translate.v3
Interface BatchTranslateDocumentResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchTranslateDocumentResponse,BatchTranslateDocumentResponse.Builder
@Generated
public interface BatchTranslateDocumentResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.com.google.protobuf.TimestampOrBuilderThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.longNumber of characters that have failed to process (Unicode codepoints) in all documents.longNumber of pages that failed to process in all documents.com.google.protobuf.TimestampTime when the operation was submitted.com.google.protobuf.TimestampOrBuilderTime when the operation was submitted.longNumber of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.longNumber of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)longTotal number of characters (Unicode codepoints) in all documents.longTotal number of pages to translate in all documents.longNumber of successfully translated characters (Unicode codepoints) in all documents.longNumber of successfully translated pages in all documents.booleanThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.booleanTime when the operation was submitted.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTotalPages
long getTotalPages()Total number of pages to translate in all documents. Documents without clear page definition (such as XLSX) are not counted.
int64 total_pages = 1;- Returns:
- The totalPages.
-
getTranslatedPages
long getTranslatedPages()Number of successfully translated pages in all documents. Documents without clear page definition (such as XLSX) are not counted.
int64 translated_pages = 2;- Returns:
- The translatedPages.
-
getFailedPages
long getFailedPages()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;- Returns:
- The failedPages.
-
getTotalBillablePages
long getTotalBillablePages()Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)
int64 total_billable_pages = 4;- Returns:
- The totalBillablePages.
-
getTotalCharacters
long getTotalCharacters()Total number of characters (Unicode codepoints) in all documents.
int64 total_characters = 5;- Returns:
- The totalCharacters.
-
getTranslatedCharacters
long getTranslatedCharacters()Number of successfully translated characters (Unicode codepoints) in all documents.
int64 translated_characters = 6;- Returns:
- The translatedCharacters.
-
getFailedCharacters
long getFailedCharacters()Number of characters that have failed to process (Unicode codepoints) in all documents.
int64 failed_characters = 7;- Returns:
- The failedCharacters.
-
getTotalBillableCharacters
long getTotalBillableCharacters()Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.
int64 total_billable_characters = 8;- Returns:
- The totalBillableCharacters.
-
hasSubmitTime
boolean hasSubmitTime()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 9;- Returns:
- Whether the submitTime field is set.
-
getSubmitTime
com.google.protobuf.Timestamp getSubmitTime()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 9;- Returns:
- The submitTime.
-
getSubmitTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 9; -
hasEndTime
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;- Returns:
- Whether the endTime field is set.
-
getEndTime
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;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()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;
-