Interface Storage.ProgressOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Storage.Progress, Storage.Progress.Builder
    Enclosing class:
    Storage

    public static interface Storage.ProgressOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getAtResponseEnd()
      Similar to `at_response_start`, except that this value includes the rows in the current response.
      float getAtResponseStart()
      The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.
      • 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 Detail

      • getAtResponseStart

        float getAtResponseStart()
         The fraction of rows assigned to the stream that have been processed by the
         server so far, not including the rows in the current response message.
        
         This value, along with `at_response_end`, can be used to interpolate the
         progress made as the rows in the message are being processed using the
         following formula: `at_response_start + (at_response_end -
         at_response_start) * rows_processed_from_response / rows_in_response`.
        
         Note that if a filter is provided, the `at_response_end` value of the
         previous response may not necessarily be equal to the `at_response_start`
         value of the current response.
         
        float at_response_start = 1;
        Returns:
        The atResponseStart.
      • getAtResponseEnd

        float getAtResponseEnd()
         Similar to `at_response_start`, except that this value includes the rows in
         the current response.
         
        float at_response_end = 2;
        Returns:
        The atResponseEnd.