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
public interface BatchTranslateDocumentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.long
getFailedCharacters()
Number of characters that have failed to process (Unicode codepoints) in all documents.long
getFailedPages()
Number of pages that failed to process in all documents.com.google.protobuf.Timestamp
getSubmitTime()
Time when the operation was submitted.com.google.protobuf.TimestampOrBuilder
getSubmitTimeOrBuilder()
Time when the operation was submitted.long
getTotalBillableCharacters()
Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.long
getTotalBillablePages()
Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)long
getTotalCharacters()
Total number of characters (Unicode codepoints) in all documents.long
getTotalPages()
Total number of pages to translate in all documents.long
getTranslatedCharacters()
Number of successfully translated characters (Unicode codepoints) in all documents.long
getTranslatedPages()
Number of successfully translated pages in all documents.boolean
hasEndTime()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.boolean
hasSubmitTime()
Time when the operation was submitted.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-