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