Package com.google.cloud.translate.v3
Interface BatchTranslateDocumentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchTranslateDocumentMetadata,BatchTranslateDocumentMetadata.Builder
@Generated
public interface BatchTranslateDocumentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongNumber of characters that have failed to process (Unicode codepoints) in all documents so far.longNumber of pages that failed to process in all documents so far.getState()The state of the operation.intThe state of the operation.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) so far.longNumber of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX) so far.longTotal number of characters (Unicode codepoints) in all documents so far.longTotal number of pages to translate in all documents so far.longNumber of successfully translated characters (Unicode codepoints) in all documents so far.longNumber of successfully translated pages in all documents so far.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
-
getStateValue
int getStateValue()The state of the operation.
.google.cloud.translation.v3.BatchTranslateDocumentMetadata.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
BatchTranslateDocumentMetadata.State getState()The state of the operation.
.google.cloud.translation.v3.BatchTranslateDocumentMetadata.State state = 1;- Returns:
- The state.
-
getTotalPages
long getTotalPages()Total number of pages to translate in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
int64 total_pages = 2;- Returns:
- The totalPages.
-
getTranslatedPages
long getTranslatedPages()Number of successfully translated pages in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
int64 translated_pages = 3;- Returns:
- The translatedPages.
-
getFailedPages
long getFailedPages()Number of pages that failed to process in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
int64 failed_pages = 4;- Returns:
- The failedPages.
-
getTotalBillablePages
long getTotalBillablePages()Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX) so far.
int64 total_billable_pages = 5;- Returns:
- The totalBillablePages.
-
getTotalCharacters
long getTotalCharacters()Total number of characters (Unicode codepoints) in all documents so far.
int64 total_characters = 6;- Returns:
- The totalCharacters.
-
getTranslatedCharacters
long getTranslatedCharacters()Number of successfully translated characters (Unicode codepoints) in all documents so far.
int64 translated_characters = 7;- Returns:
- The translatedCharacters.
-
getFailedCharacters
long getFailedCharacters()Number of characters that have failed to process (Unicode codepoints) in all documents so far.
int64 failed_characters = 8;- Returns:
- The failedCharacters.
-
getTotalBillableCharacters
long getTotalBillableCharacters()Number of billable characters (Unicode codepoints) in documents without clear page definition (such as XLSX) so far.
int64 total_billable_characters = 9;- Returns:
- The totalBillableCharacters.
-
hasSubmitTime
boolean hasSubmitTime()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 10;- Returns:
- Whether the submitTime field is set.
-
getSubmitTime
com.google.protobuf.Timestamp getSubmitTime()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 10;- Returns:
- The submitTime.
-
getSubmitTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 10;
-