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
@Generated
public interface BatchTranslateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.com.google.protobuf.TimestampOrBuilderThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.longNumber of characters that have failed to process (Unicode codepoints).com.google.protobuf.TimestampTime when the operation was submitted.com.google.protobuf.TimestampOrBuilderTime when the operation was submitted.longTotal number of characters (Unicode codepoints).longNumber of successfully translated characters (Unicode codepoints).booleanThe time when the operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.booleanTime when the operation was submitted.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-