Interface BatchTranslateMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchTranslateMetadata, BatchTranslateMetadata.Builder

@Generated public interface BatchTranslateMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Number of characters that have failed to process so far (Unicode codepoints).
    The state of the operation.
    int
    The state of the operation.
    com.google.protobuf.Timestamp
    Time when the operation was submitted.
    com.google.protobuf.TimestampOrBuilder
    Time when the operation was submitted.
    long
    Total number of characters (Unicode codepoints).
    long
    Number of successfully translated characters so far (Unicode codepoints).
    boolean
    Time when the operation was submitted.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getStateValue

      int getStateValue()
       The state of the operation.
       
      .google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       The state of the operation.
       
      .google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;
      Returns:
      The state.
    • getTranslatedCharacters

      long getTranslatedCharacters()
       Number of successfully translated characters so far (Unicode codepoints).
       
      int64 translated_characters = 2;
      Returns:
      The translatedCharacters.
    • getFailedCharacters

      long getFailedCharacters()
       Number of characters that have failed to process so far (Unicode
       codepoints).
       
      int64 failed_characters = 3;
      Returns:
      The failedCharacters.
    • getTotalCharacters

      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:
      The totalCharacters.
    • hasSubmitTime

      boolean hasSubmitTime()
       Time when the operation was submitted.
       
      .google.protobuf.Timestamp submit_time = 5;
      Returns:
      Whether the submitTime field is set.
    • getSubmitTime

      com.google.protobuf.Timestamp getSubmitTime()
       Time when the operation was submitted.
       
      .google.protobuf.Timestamp submit_time = 5;
      Returns:
      The submitTime.
    • getSubmitTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()
       Time when the operation was submitted.
       
      .google.protobuf.Timestamp submit_time = 5;