internal_message.js 546 B

123456789101112131415161718192021222324
  1. /**
  2. * @fileoverview Internal interface for messages implemented with the binary
  3. * kernel.
  4. */
  5. goog.module('protobuf.binary.InternalMessage');
  6. const Kernel = goog.requireType('protobuf.runtime.Kernel');
  7. /**
  8. * Interface that needs to be implemented by messages implemented with the
  9. * binary kernel. This is an internal only interface and should be used only by
  10. * the classes in binary kernel.
  11. *
  12. * @interface
  13. */
  14. class InternalMessage {
  15. /**
  16. * @package
  17. * @return {!Kernel}
  18. */
  19. internalGetKernel() {}
  20. }
  21. exports = InternalMessage;