text: // This file is auto generated by the protocol-buffers compiler
  
  /* eslint-disable quotes */
  /* eslint-disable indent */
  /* eslint-disable no-redeclare */
  /* eslint-disable camelcase */
  
  // Remember to `npm install --save protocol-buffers-encodings`
  var encodings = require('protocol-buffers-encodings')
  var varint = encodings.varint
  var skip = encodings.skip
  
  var Node = exports.Node = {
    buffer: true,
    encodingLength: null,
    encode: null,
    decode: null
  }
  
  defineNode()
  
  function defineNode () {
    var enc = [
      encodings.bytes
    ]
  
    Node.encodingLength = encodingLength
    Node.encode = encode
    Node.decode = decode
  
    function encodingLength (obj) {
      var length = 0
      if (defined(obj.value)) {
        var len = enc[0].encodingLength(obj.value)
        length += 1 + len
      }
      return length
    }
  
    function encode (obj, buf, offset) {
      if (!offset) offset = 0
      if (!buf) buf = Buffer.allocUnsafe(encodingLength(obj))
      var oldOffset = offset
      if (defined(obj.value)) {
        buf[offset++] = 10
        enc[0].encode(obj.value, buf, offset)
        offset += enc[0].encode.bytes
      }
      encode.bytes = offset - oldOffset
      return buf
    }
  
    function decode (buf, offset, end) {
      if (!offset) offset = 0
      if (!end) end = buf.length
      if (!(end <= buf.length && offset <= buf.length)) throw new Error("Decoded message is not valid")
      var oldOffset = offset
      var obj = {
        value: null
      }
      while (true) {
        if (end <= offset) {
          decode.bytes = offset - oldOffset
          return obj
        }
        var prefix = varint.decode(buf, offset)
        offset += varint.decode.bytes
        var tag = prefix >> 3
        switch (tag) {
          case 1:
          obj.value = enc[0].decode(buf, offset)
          offset += enc[0].decode.bytes
          break
          default:
          offset = skip(prefix & 7, buf, offset)
        }
      }
    }
  }
  
  function defined (val) {
    return val !== null && val !== undefined && (typeof val !== 'number' || !isNaN(val))
  }
  