Package com.google.cloud.translate.v3
Interface BatchTranslateResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchTranslateResponse
,BatchTranslateResponse.Builder
public interface BatchTranslateResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getEndTime()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.long
getFailedCharacters()
Number of characters that have failed to process (Unicode codepoints).com.google.protobuf.Timestamp
getSubmitTime()
Time when the operation was submitted.com.google.protobuf.TimestampOrBuilder
getSubmitTimeOrBuilder()
Time when the operation was submitted.long
getTotalCharacters()
Total number of characters (Unicode codepoints).long
getTranslatedCharacters()
Number of successfully translated characters (Unicode codepoints).boolean
hasEndTime()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.boolean
hasSubmitTime()
Time when the operation was submitted.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTotalCharacters
long getTotalCharacters()
Total number of characters (Unicode codepoints).
int64 total_characters = 1;
- Returns:
- The totalCharacters.
-
getTranslatedCharacters
long getTranslatedCharacters()
Number of successfully translated characters (Unicode codepoints).
int64 translated_characters = 2;
- Returns:
- The translatedCharacters.
-
getFailedCharacters
long getFailedCharacters()
Number of characters that have failed to process (Unicode codepoints).
int64 failed_characters = 3;
- Returns:
- The failedCharacters.
-
hasSubmitTime
boolean hasSubmitTime()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
- Returns:
- Whether the submitTime field is set.
-
getSubmitTime
com.google.protobuf.Timestamp getSubmitTime()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
- Returns:
- The submitTime.
-
getSubmitTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()
Time when the operation was submitted.
.google.protobuf.Timestamp submit_time = 4;
-
hasEndTime
boolean hasEndTime()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 5;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 5;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 5;
-
-