def TryMerge(self, d):
    while (d.avail() > 0):
        tt = d.getVarInt32()
        if (tt == 8):
            self.set_value(d.getBoolean())
            continue
        if (tt == 0):
            raise ProtocolBuffer.ProtocolBufferDecodeError
        d.skipData(tt)
def TryMerge(self, d):
    while (d.avail() > 0):
        tt = d.getVarInt32()
        if (tt == 8):
            self.set_value(d.getBoolean())
            continue
        if (tt == 0):
            raise ProtocolBuffer.ProtocolBufferDecodeError
        d.skipData(tt)