Interface BatchTranslateDocumentMetadataOrBuilder (2.3.1)

public interface BatchTranslateDocumentMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFailedCharacters()

public abstract long getFailedCharacters()

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

int64 failed_characters = 8;

Returns
TypeDescription
long

The failedCharacters.

getFailedPages()

public abstract 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
TypeDescription
long

The failedPages.

getState()

public abstract BatchTranslateDocumentMetadata.State getState()

The state of the operation.

.google.cloud.translation.v3beta1.BatchTranslateDocumentMetadata.State state = 1;

Returns
TypeDescription
BatchTranslateDocumentMetadata.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the operation.

.google.cloud.translation.v3beta1.BatchTranslateDocumentMetadata.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSubmitTime()

public abstract Timestamp getSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 10;

Returns
TypeDescription
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public abstract TimestampOrBuilder getSubmitTimeOrBuilder()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getTotalBillableCharacters()

public abstract 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
TypeDescription
long

The totalBillableCharacters.

getTotalBillablePages()

public abstract 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
TypeDescription
long

The totalBillablePages.

getTotalCharacters()

public abstract long getTotalCharacters()

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

int64 total_characters = 6;

Returns
TypeDescription
long

The totalCharacters.

getTotalPages()

public abstract 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
TypeDescription
long

The totalPages.

getTranslatedCharacters()

public abstract long getTranslatedCharacters()

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

int64 translated_characters = 7;

Returns
TypeDescription
long

The translatedCharacters.

getTranslatedPages()

public abstract 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
TypeDescription
long

The translatedPages.

hasSubmitTime()

public abstract boolean hasSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 10;

Returns
TypeDescription
boolean

Whether the submitTime field is set.