Interface BatchTranslateMetadataOrBuilder (2.43.0)

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

The failedCharacters.

getState()

public abstract BatchTranslateMetadata.State getState()

The state of the operation.

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

Returns
Type Description
BatchTranslateMetadata.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the operation.

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

Returns
Type Description
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public abstract TimestampOrBuilder getSubmitTimeOrBuilder()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 5;

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

The totalCharacters.

getTranslatedCharacters()

public abstract long getTranslatedCharacters()

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

int64 translated_characters = 2;

Returns
Type Description
long

The translatedCharacters.

hasSubmitTime()

public abstract boolean hasSubmitTime()

Time when the operation was submitted.

.google.protobuf.Timestamp submit_time = 5;

Returns
Type Description
boolean

Whether the submitTime field is set.