Interface BatchTranslateDocumentResponseOrBuilder (2.51.0)

public interface BatchTranslateDocumentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTime()

public abstract Timestamp getEndTime()

The time when the operation is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 10;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time when the operation is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 10;

Returns
Type Description
TimestampOrBuilder

getFailedCharacters()

public abstract long getFailedCharacters()

Number of characters that have failed to process (Unicode codepoints) in all documents.

int64 failed_characters = 7;

Returns
Type Description
long

The failedCharacters.

getFailedPages()

public abstract 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
Type Description
long

The failedPages.

getSubmitTime()

public abstract Timestamp getSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 9;

Returns
Type Description
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public abstract TimestampOrBuilder getSubmitTimeOrBuilder()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 9;

Returns
Type Description
TimestampOrBuilder

getTotalBillableCharacters()

public abstract long getTotalBillableCharacters()

Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.

int64 total_billable_characters = 8;

Returns
Type Description
long

The totalBillableCharacters.

getTotalBillablePages()

public abstract long getTotalBillablePages()

Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)

int64 total_billable_pages = 4;

Returns
Type Description
long

The totalBillablePages.

getTotalCharacters()

public abstract long getTotalCharacters()

Total number of characters (Unicode codepoints) in all documents.

int64 total_characters = 5;

Returns
Type Description
long

The totalCharacters.

getTotalPages()

public abstract 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
Type Description
long

The totalPages.

getTranslatedCharacters()

public abstract long getTranslatedCharacters()

Number of successfully translated characters (Unicode codepoints) in all documents.

int64 translated_characters = 6;

Returns
Type Description
long

The translatedCharacters.

getTranslatedPages()

public abstract 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
Type Description
long

The translatedPages.

hasEndTime()

public abstract boolean hasEndTime()

The time when the operation is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 10;

Returns
Type Description
boolean

Whether the endTime field is set.

hasSubmitTime()

public abstract boolean hasSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 9;

Returns
Type Description
boolean

Whether the submitTime field is set.