Interface BatchTranslateDocumentMetadataOrBuilder (2.52.0)

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

The failedPages.

getState()

public abstract BatchTranslateDocumentMetadata.State getState()

The state of the operation.

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

Returns
Type Description
BatchTranslateDocumentMetadata.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the operation.

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

Returns
Type Description
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
Type Description
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public abstract TimestampOrBuilder getSubmitTimeOrBuilder()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 10;

Returns
Type Description
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
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) so far.

int64 total_billable_pages = 5;

Returns
Type Description
long

The totalBillablePages.

getTotalCharacters()

public abstract long getTotalCharacters()

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

int64 total_characters = 6;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
long

The translatedPages.

hasSubmitTime()

public abstract boolean hasSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 10;

Returns
Type Description
boolean

Whether the submitTime field is set.