Interface BatchTranslateMetadataOrBuilder (2.3.2)

public interface BatchTranslateMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFailedCharacters()

public abstract long getFailedCharacters()

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

int64 failed_characters = 3;

Returns
TypeDescription
long

The failedCharacters.

getState()

public abstract BatchTranslateMetadata.State getState()

The state of the operation.

.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;

Returns
TypeDescription
BatchTranslateMetadata.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the operation.

.google.cloud.translation.v3.BatchTranslateMetadata.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 = 5;

Returns
TypeDescription
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public abstract TimestampOrBuilder getSubmitTimeOrBuilder()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getTotalCharacters()

public abstract long getTotalCharacters()

Total number of characters (Unicode codepoints). This is the total number of codepoints from input files times the number of target languages and appears here shortly after the call is submitted.

int64 total_characters = 4;

Returns
TypeDescription
long

The totalCharacters.

getTranslatedCharacters()

public abstract long getTranslatedCharacters()

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

int64 translated_characters = 2;

Returns
TypeDescription
long

The translatedCharacters.

hasSubmitTime()

public abstract boolean hasSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 5;

Returns
TypeDescription
boolean

Whether the submitTime field is set.